[gnome-music/wip/mschraal/application-id: 9/9] application: Set the application id correctly



commit 49c865e71b12f5de28a6dea12e95efed479617b3
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Aug 29 12:45:17 2018 +0200

    application: Set the application id correctly
    
    Following the post at
    http://honk.sigxcpu.org/con/GTK__and_the_application_id.html, the Music
    application id was incorrectly set.
    Set the program name to the application-id.

 gnomemusic/application.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index 93ceb55f..8e4b38cd 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -52,7 +52,7 @@ class Application(Gtk.Application):
 
         self.props.resource_base_path = "/org/gnome/Music"
         GLib.set_application_name(_("Music"))
-        GLib.set_prgname('gnome-music')
+        GLib.set_prgname(application_id)
         GLib.setenv("PULSE_PROP_media.role", "music", True)
         self._settings = Gio.Settings.new('org.gnome.Music')
         self._init_style()


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