Skip to content

Commit

Permalink
Use dbus well-known name (or dot-separated name) more widely
Browse files Browse the repository at this point in the history
As recommended, see #267
  • Loading branch information
Cimbali committed Jan 18, 2023
1 parent aba587e commit 65227b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pympress/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class Pympress(Gtk.Application):

def __init__(self):
GLib.set_application_name('pympress')
GLib.set_prgname('io.github.pympress')
Gtk.Application.__init__(self, application_id='io.github.pympress',
flags=Gio.ApplicationFlags.HANDLES_OPEN | Gio.ApplicationFlags.CAN_OVERRIDE_APP_ID)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def pympress_resources():
if setuptools_version >= (30, 5):
options['data_files'] = [
('share/pixmaps/', ['pympress/share/pixmaps/pympress.png']),
('share/applications/', ['pympress/share/applications/pympress.desktop']),
('share/applications/', ['pympress/share/applications/io.github.pympress.desktop']),
]

setuptools.setup(**options)
Expand Down

0 comments on commit 65227b9

Please sign in to comment.