[gnome-software/gnome-3-30] update monitor: Don't show "updated" dialog after autoupdates
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-30] update monitor: Don't show "updated" dialog after autoupdates
- Date: Wed, 3 Oct 2018 07:36:13 +0000 (UTC)
commit b7a4a447095c0eb8b849d1480f2e4e353463835b
Author: Kalev Lember <klember redhat com>
Date: Tue Oct 2 14:43:34 2018 +0200
update monitor: Don't show "updated" dialog after autoupdates
The "updated" dialog only works with packagekit-based offline updates
right now, and shows "No updates have been installed" for flatpak
updates. Show the "updates" page instead for autoupdates to avoid
confusion.
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 fb6cf64b..6466c1ab 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -265,7 +265,7 @@ _build_autoupdated_notification (GsUpdateMonitor *monitor, GsAppList *list)
n = g_notification_new (title);
if (body->len > 0)
g_notification_set_body (n, body->str);
- g_notification_set_default_action_and_target (n, "app.set-mode", "s", "updated");
+ g_notification_set_default_action_and_target (n, "app.set-mode", "s", "updates");
return g_steal_pointer (&n);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]