[gnome-software] Reorder buttons in Software Updates Available	notification
- From: Michael Catanzaro <mcatanzaro src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-software] Reorder buttons in Software Updates Available	notification
 
- Date: Wed, 22 Apr 2015 14:13:28 +0000 (UTC)
 
commit 43670c0bc362e049c3875d147c9a26d50e49b8e0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Apr 22 08:43:55 2015 -0500
    Reorder buttons in Software Updates Available notification
    
    In GNOME the cancel button goes on the left and the affirmative button
    goes on the right.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748298
 src/gs-update-monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index d8eb763..c822c6c 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -100,8 +100,8 @@ notify_offline_update_available (GsUpdateMonitor *monitor)
        body = _("Important OS and application updates are ready to be installed");
        n = g_notification_new (title);
        g_notification_set_body (n, body);
-       g_notification_add_button_with_target (n, _("View"), "app.set-mode", "s", "updates");
        g_notification_add_button (n, _("Not Now"), "app.nop");
+       g_notification_add_button_with_target (n, _("View"), "app.set-mode", "s", "updates");
        g_notification_set_default_action_and_target (n, "app.set-mode", "s", "updates");
        g_application_send_notification (monitor->application, "updates-available", n);
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]