[meld] meldapp: Make the XDG application ID match our other IDs



commit 885f925086e1531c7cea894c7c011218fb5bf725
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Sep 30 12:00:30 2018 +1000

    meldapp: Make the XDG application ID match our other IDs
    
    This means that everywhere we have an application identifier should now
    be "org.gnome.meld". For some context on why this is needed, see:
    
     * https://honk.sigxcpu.org/con/GTK__and_the_application_id.html
     * "Set a proper app_id" from GTK+'s "Migrating from GTK+ 3.x to GTK+ 4"
       documentation

 meld/meldapp.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meld/meldapp.py b/meld/meldapp.py
index d8015b2d..aac8b550 100644
--- a/meld/meldapp.py
+++ b/meld/meldapp.py
@@ -48,6 +48,7 @@ class MeldApp(Gtk.Application):
           flags=Gio.ApplicationFlags.HANDLES_COMMAND_LINE,
         )
         GLib.set_application_name("Meld")
+        GLib.set_prgname(meld.conf.APPLICATION_ID)
         Gtk.Window.set_default_icon_name("meld")
 
     def do_startup(self):


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