Set the program name to ensure the app icon appears in Running Apps
This commit is contained in:
parent
8f43a8a751
commit
2dff4f640c
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue