Philipp Hörist pushed to branch gajim_1.3 at gajim / gajim


Commits:
c9f23a34 by lovetox at 2021-01-05T21:40:52+01:00
Settings: Remove verbose setting

get_debug_mode() does a better job

- - - - -


3 changed files:

- gajim/common/config.py
- gajim/common/setting_values.py
- gajim/gui_interface.py


Changes:

=====================================
gajim/common/config.py
=====================================
@@ -65,7 +65,6 @@ class Config:
 
     __options = ({
         # name: [ type, default_value, help_string, restart ]
-        'verbose': [opt_bool, False, '', True],
         'autopopup': [opt_bool, False],
         'autopopupaway': [opt_bool, False],
         'sounddnd': [opt_bool, False, _('Play sound even when being busy.')],


=====================================
gajim/common/setting_values.py
=====================================
@@ -13,7 +13,6 @@ class _ACCOUNT_DEFAULT:
 # pylint: disable=line-too-long
 
 APP_SETTINGS = {
-    'verbose': False,
     'autopopup': False,
     'show_notifications': True,
     'autopopupaway': False,


=====================================
gajim/gui_interface.py
=====================================
@@ -73,7 +73,6 @@
 from gajim.common import socks5
 from gajim.common import helpers
 from gajim.common import passwords
-from gajim.common import logging_helpers
 from gajim.common.helpers import ask_for_status_message
 from gajim.common.helpers import get_group_chat_nick
 from gajim.common.structs import MUCData
@@ -2125,9 +2124,6 @@ def __init__(self):
         app.load_css_config()
 
         app.storage.archive.reset_shown_unread_messages()
-        # override logging settings from config (don't take care of '-q' 
option)
-        if app.settings.get('verbose'):
-            logging_helpers.set_verbose()
 
         for account in app.settings.get_accounts():
             if app.settings.get_account_setting(account, 'is_zeroconf'):



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

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