[gnome-packagekit] application: update application ID to match .desktop file



commit 9b7fba0721a3c44a12a878aab7234a637327fa4f
Author: Xiang Fan <sfanxiang gmail com>
Date:   Thu Aug 17 15:58:31 2017 +0800

    application: update application ID to match .desktop file
    
    Fixes missing window name and icon in Wayland.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786404

 src/gpk-application.c   |    2 +-
 src/gpk-update-viewer.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index a824747..f33bff3 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -2989,7 +2989,7 @@ main (int argc, char *argv[])
        priv = g_new0 (GpkApplicationPrivate, 1);
 
        /* are we already activated? */
-       priv->application = gtk_application_new ("org.freedesktop.PackageKit.Application", 0);
+       priv->application = gtk_application_new ("org.gnome.Packages", 0);
        g_signal_connect (priv->application, "startup",
                          G_CALLBACK (gpk_application_startup_cb), priv);
        g_signal_connect (priv->application, "activate",
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index be764e2..c9a8f29 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -2951,7 +2951,7 @@ main (int argc, char *argv[])
                return 1;
 
        /* are we already activated? */
-       application = gtk_application_new ("org.freedesktop.PackageKit.UpdateViewer", 0);
+       application = gtk_application_new ("org.gnome.PackageUpdater", 0);
        g_signal_connect (application, "startup",
                          G_CALLBACK (gpk_update_viewer_application_startup_cb), NULL);
        g_signal_connect (application, "activate",


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