Set the program name to ensure the app icon appears in Running Apps

This commit is contained in:
David Boddie 2019-05-15 16:26:18 +02:00
parent 8f43a8a751
commit 2dff4f640c

View file

@ -16,6 +16,7 @@ class Application(Gtk.Application):
def __init__(self):
super().__init__(application_id='com.example.first_application')
GLib.set_application_name('Your First Application')
GLib.set_prgname('com.example.first_application')
def do_activate(self):
window = Gtk.ApplicationWindow(application=self)