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


Commits:
a8edc3bb by wurstsalat at 2021-05-02T11:07:24+02:00
Remove minimize_on_* MUC settings

- - - - -


3 changed files:

- gajim/common/config.py
- gajim/common/setting_values.py
- gajim/gtk/groupchat_settings.py


Changes:

=====================================
gajim/common/config.py
=====================================
@@ -337,8 +337,6 @@ class Config:
             'notify_on_all_messages': [opt_bool, False, _('If enabled, a 
notification is created for every message in this group chat.')],
             'print_status': [opt_bool, False, _('Show a status message for all 
status changes (away, dnd, etc.) of users in a group chat.')],
             'print_join_left': [opt_bool, False, _('Show a status message for 
every join or leave in a group chat.')],
-            'minimize_on_autojoin': [opt_bool, True, _('If enabled, the group 
chat is minimized into the contact list when joining automatically.')],
-            'minimize_on_close': [opt_bool, True, _('If enabled, the group 
chat is minimized into the contact list when closing it.')],
             'send_chatstate': [opt_str, 'composing_only', _('Chat state 
notifications that are sent to the group chat. Possible values: \'all\', 
\'composing_only\' or \'disabled\'.')],
         }, {}),
         'plugins': ({


=====================================
gajim/common/setting_values.py
=====================================
@@ -274,8 +274,6 @@ class _ACCOUNT_DEFAULT:
         'notify_on_all_messages': HAS_APP_DEFAULT,
         'print_status': HAS_APP_DEFAULT,
         'print_join_left': HAS_APP_DEFAULT,
-        'minimize_on_autojoin': True,
-        'minimize_on_close': True,
         'send_chatstate': HAS_ACCOUNT_DEFAULT,
         'send_marker': HAS_ACCOUNT_DEFAULT,
         'encryption': '',


=====================================
gajim/gtk/groupchat_settings.py
=====================================
@@ -54,16 +54,6 @@ def __init__(self, account, jid):
                     SettingType.GROUP_CHAT,
                     'notify_on_all_messages'),
 
-            Setting(SettingKind.SWITCH,
-                    _('Minimize on Close'),
-                    SettingType.GROUP_CHAT,
-                    'minimize_on_close'),
-
-            Setting(SettingKind.SWITCH,
-                    _('Minimize When Joining Automatically'),
-                    SettingType.GROUP_CHAT,
-                    'minimize_on_autojoin'),
-
             Setting(SettingKind.POPOVER,
                     _('Send Chat State'),
                     SettingType.GROUP_CHAT,



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a8edc3bb7725e20fb2ed78ad7396de85694fe906
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