[gnome-software/wip/mcrha/fix-mode-name-typo] gs-update-monitor: Correct mode name typo in a notification



commit 4718e6f16e1700fa719db31e8b878342e9ede7ce
Author: Milan Crha <mcrha redhat com>
Date:   Tue Nov 24 17:32:19 2020 +0100

    gs-update-monitor: Correct mode name typo in a notification
    
    The mode name is "updates", not "update" (an 's' at the end).
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/547

 src/gs-update-monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 296a5127..e62ccd48 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -519,7 +519,7 @@ get_system_finished_cb (GObject *object, GAsyncResult *res, gpointer data)
        n = g_notification_new (_("Operating System Updates Unavailable"));
        /* TRANSLATORS: this is the message dialog for the distro EOL notice */
        g_notification_set_body (n, _("Upgrade to continue receiving security updates."));
-       g_notification_set_default_action_and_target (n, "app.set-mode", "s", "update");
+       g_notification_set_default_action_and_target (n, "app.set-mode", "s", "updates");
        g_application_send_notification (monitor->application, "eol", n);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]