Philipp Hörist pushed to branch master at gajim / gajim

Commits:

3 changed files:

Changes:

  • flatpak/org.gajim.Gajim.Devel.yaml
    ... ... @@ -26,6 +26,8 @@ finish-args:
    26 26
       - --talk-name=org.kde.kwalletd5
    
    27 27
       # Notifications
    
    28 28
       - --talk-name=org.freedesktop.Notifications
    
    29
    +  # tray/status icon
    
    30
    +  - --talk-name=org.kde.StatusNotifierWatcher
    
    29 31
       # GnuPG
    
    30 32
       - --filesystem=~/.gnupg
    
    31 33
       # camera access
    

  • flatpak/org.gajim.Gajim.yaml
    ... ... @@ -19,6 +19,8 @@ finish-args:
    19 19
       - --talk-name=org.kde.kwalletd5
    
    20 20
       # Notifications
    
    21 21
       - --talk-name=org.freedesktop.Notifications
    
    22
    +  # tray/status icon
    
    23
    +  - --talk-name=org.kde.StatusNotifierWatcher
    
    22 24
       # GnuPG
    
    23 25
       - --filesystem=~/.gnupg
    
    24 26
       # camera access
    

  • gajim/gtk/status_icon.py
    ... ... @@ -298,7 +298,7 @@ def __init__(self) -> None:
    298 298
     
    
    299 299
             self._status_icon = appindicator.Indicator.new(
    
    300 300
                 'Gajim',
    
    301
    -            'dcraven-online',
    
    301
    +            'org.gajim.Gajim',
    
    302 302
                 appindicator.IndicatorCategory.COMMUNICATIONS)
    
    303 303
             self._status_icon.set_icon_theme_path(str(configpaths.get('ICONS')))
    
    304 304
             self._status_icon.set_status(appindicator.IndicatorStatus.ACTIVE)
    
    ... ... @@ -320,6 +320,9 @@ def update_state(self, init: bool = False) -> None:
    320 320
                 self._status_icon.set_icon_full(icon_name, _('Pending Event'))
    
    321 321
                 return
    
    322 322
     
    
    323
    +        if app.is_flatpak():
    
    324
    +            return
    
    325
    +
    
    323 326
             show = get_global_show()
    
    324 327
             icon_name = get_icon_name(show)
    
    325 328
             self._status_icon.set_icon_full(icon_name, show)