[gnome-power-manager] Rename the application id passed to the gtk_application_new() function



commit 9c91bf6ed47265466f06677fddb1940bebfd6e9e
Author: Laurent Bigonville <bigon bigon be>
Date:   Mon Feb 20 11:15:48 2017 +0100

    Rename the application id passed to the gtk_application_new() function
    
    The application id and the desktop file need to match, rename the
    application id here instead of renaming all the other icon and .desktop
    files
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778945

 src/gpm-statistics.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index b10a900..ab970fa 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1923,7 +1923,7 @@ main (int argc, char *argv[])
        settings = g_settings_new (GPM_SETTINGS_SCHEMA);
 
        /* are we already activated? */
-       application = gtk_application_new ("org.gnome.PowerManager.Statistics",
+       application = gtk_application_new ("org.gnome.PowerStats",
                                           G_APPLICATION_HANDLES_COMMAND_LINE);
        g_signal_connect (application, "startup",
                          G_CALLBACK (gpm_stats_startup_cb), NULL);


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