[gnome-software] update monitor: Don't show "updated" dialog after autoupdates



commit 726ecafeb84aef480ed958f34f8cb319367d661d
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 f5766460..4a56eef2 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]