[gnome-software] gs-update-monitor: Correct mode name typo in a notification
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] gs-update-monitor: Correct mode name typo in a notification
- Date: Tue, 24 Nov 2020 16:32:55 +0000 (UTC)
commit 18155548285c6f72aed4013102d9e1e4ecdf5394
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]