Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
8f299caa
by André Apitzsch at 2019-11-10T12:08:49Z
2 changed files:
Changes:
| ... | ... | @@ -14,7 +14,6 @@ finish-args: |
| 14 | 14 |
- --socket=pulseaudio
|
| 15 | 15 |
- --system-talk-name=org.freedesktop.GeoClue2
|
| 16 | 16 |
- --system-talk-name=org.freedesktop.login1
|
| 17 |
- - --talk-name=org.freedesktop.Notifications
|
|
| 18 | 17 |
- --talk-name=org.gnome.ScreenSaver
|
| 19 | 18 |
- --talk-name=org.mpris.MediaPlayer2.*
|
| 20 | 19 |
- --talk-name=org.freedesktop.portal.Fcitx
|
| ... | ... | @@ -67,6 +67,10 @@ class Notification: |
| 67 | 67 |
if sys.platform in ('win32', 'darwin'):
|
| 68 | 68 |
return
|
| 69 | 69 |
|
| 70 |
+ if app.is_flatpak():
|
|
| 71 |
+ self._dbus_available = True
|
|
| 72 |
+ return
|
|
| 73 |
+ |
|
| 70 | 74 |
def on_proxy_ready(_source, res, _data=None):
|
| 71 | 75 |
try:
|
| 72 | 76 |
proxy = Gio.DBusProxy.new_finish(res)
|