Daniel Brötzmann pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/gtk/features.py
    ... ... @@ -87,6 +87,7 @@ def _add_feature(self, feature: Feature) -> None:
    87 87
             self.feature_listbox.add(item)
    
    88 88
     
    
    89 89
         def _get_features(self) -> list[Feature]:
    
    90
    +        av_available = app.is_installed('AV') and sys.platform != 'win32'
    
    90 91
             notification_sounds_available: bool = (
    
    91 92
                 app.is_installed('GSOUND') or sys.platform in ('win32', 'darwin'))
    
    92 93
             notification_sounds_enabled: bool = app.settings.get('sounds_on')
    
    ... ... @@ -105,7 +106,7 @@ def _get_features(self) -> list[Feature]:
    105 106
                         _('Feature not available under Windows'),
    
    106 107
                         None),
    
    107 108
                 Feature(_('Audio / Video'),
    
    108
    -                    app.is_installed('AV'),
    
    109
    +                    av_available,
    
    109 110
                         _('Enables Gajim to provide Audio and Video chats'),
    
    110 111
                         _('Requires: gir1.2-farstream-0.2, gir1.2-gstreamer-1.0, '
    
    111 112
                           'gstreamer1.0-plugins-base, gstreamer1.0-plugins-ugly, '