From fc9c583c7ade5b825140f2b9f093d5c4c6cdd3cf Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Mon, 25 Apr 2005 11:48:42 +0000 Subject: [PATCH] add the option to allow the title of the window to change it can be configured through the advanced config window fix ticket #184 --- src/common/config.py | 1 + src/roster_window.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/config.py b/src/common/config.py index 2f9d3c53a..1eba8a513 100644 --- a/src/common/config.py +++ b/src/common/config.py @@ -91,6 +91,7 @@ class Config: 'usegpg': [ opt_bool, False ], 'lognotusr': [ opt_bool, True ], 'lognotsep': [ opt_bool, True ], + 'change_title': [ opt_bool, True ], } __options_per_key = { diff --git a/src/roster_window.py b/src/roster_window.py index 63bda3743..6de6de993 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1381,7 +1381,7 @@ class Roster_window: return def show_title(self): - change_title_allowed = True # FIXME: add in expert settings + change_title_allowed = gajim.config.get('change_title') if change_title_allowed: start = '' if self.nb_unread > 1: