[gnome-software/gnome-3-16] Reorder buttons in Software Updates Available notification



commit 7f871a54534f62e0303c1a373f4eb11091a85682
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]