mark change roster window title as expert setting
This commit is contained in:
parent
00b13f2eff
commit
4e722bd62e
|
@ -1002,8 +1002,7 @@ class Roster_window:
|
||||||
self.quit_gtkgui_plugin()
|
self.quit_gtkgui_plugin()
|
||||||
|
|
||||||
def on_roster_treeview_row_activated(self, widget, path, col=0):
|
def on_roster_treeview_row_activated(self, widget, path, col=0):
|
||||||
'''When an iter is dubble clicked :
|
'''When an iter is double clicked: open the chat window'''
|
||||||
open the chat window'''
|
|
||||||
model = self.tree.get_model()
|
model = self.tree.get_model()
|
||||||
iter = model.get_iter(path)
|
iter = model.get_iter(path)
|
||||||
account = model.get_value(iter, 4)
|
account = model.get_value(iter, 4)
|
||||||
|
@ -1311,6 +1310,8 @@ class Roster_window:
|
||||||
return
|
return
|
||||||
|
|
||||||
def show_title(self):
|
def show_title(self):
|
||||||
|
change_title_allowed = True # FIXME: add in expert settings
|
||||||
|
if change_title_allowed:
|
||||||
start = ''
|
start = ''
|
||||||
if self.nb_unread > 1:
|
if self.nb_unread > 1:
|
||||||
start = '[' + str(self.nb_unread) + '] '
|
start = '[' + str(self.nb_unread) + '] '
|
||||||
|
|
Loading…
Reference in New Issue