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


Commits:
b86af609 by wurstsalat at 2021-10-03T11:27:49+02:00
Settings: Remove show_{mood,tune,location,activity}_in_roster

They are still shown in the chat control banner

- - - - -


2 changed files:

- gajim/common/setting_values.py
- gajim/gtk/preferences.py


Changes:

=====================================
gajim/common/setting_values.py
=====================================
@@ -86,10 +86,6 @@ class _ACCOUNT_DEFAULT:
     'muc_prefer_direct_msg': True,
     'show_status_msgs_in_roster': True,
     'show_avatars_in_roster': True,
-    'show_mood_in_roster': True,
-    'show_activity_in_roster': True,
-    'show_tunes_in_roster': True,
-    'show_location_in_roster': True,
     'avatar_position_in_roster': 'right',
     'print_status_in_chats': False,
     'log_contact_status_changes': False,
@@ -381,10 +377,6 @@ class _ACCOUNT_DEFAULT:
         'muc_highlight_words': _('A list of words (semicolon separated) that 
will be highlighted in group chats.'),
         'hide_on_main_window_x_button': _('If enabled, Gajim hides the main 
window when pressing the X button instead of minimizing into the notification 
area.'),
         'main_window_skip_taskbar': _('Don’t show main window in the system 
taskbar.'),
-        'show_mood_in_roster': '',
-        'show_activity_in_roster': '',
-        'show_tunes_in_roster': '',
-        'show_location_in_roster': '',
         'avatar_position_in_roster': _('Define the position of avatars in the 
contact list. Can be \'left\' or \'right\'.'),
         'use_urgency_hint': _('If enabled, Gajim makes the window flash (the 
default behaviour in most Window Managers) when holding pending events.'),
         'notification_timeout': '',


=====================================
gajim/gtk/preferences.py
=====================================
@@ -200,26 +200,6 @@ def __init__(self, *args):
                     SettingType.CONFIG,
                     'show_avatars_in_roster',
                     callback=self._on_show_avatar_in_roster_changed),
-
-            Setting(SettingKind.SWITCH,
-                    _('Show Mood'),
-                    SettingType.CONFIG,
-                    'show_mood_in_roster'),
-
-            Setting(SettingKind.SWITCH,
-                    _('Show Activity'),
-                    SettingType.CONFIG,
-                    'show_activity_in_roster'),
-
-            Setting(SettingKind.SWITCH,
-                    _('Show Tune'),
-                    SettingType.CONFIG,
-                    'show_tunes_in_roster'),
-
-            Setting(SettingKind.SWITCH,
-                    _('Show Location'),
-                    SettingType.CONFIG,
-                    'show_location_in_roster'),
         ]
 
         PreferenceBox.__init__(self, settings)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/b86af609b7064fa3c41e83d6e79de3373a018efd

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/b86af609b7064fa3c41e83d6e79de3373a018efd
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to