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()
|
||||
|
||||
def on_roster_treeview_row_activated(self, widget, path, col=0):
|
||||
'''When an iter is dubble clicked :
|
||||
open the chat window'''
|
||||
'''When an iter is double clicked: open the chat window'''
|
||||
model = self.tree.get_model()
|
||||
iter = model.get_iter(path)
|
||||
account = model.get_value(iter, 4)
|
||||
|
@ -1311,6 +1310,8 @@ class Roster_window:
|
|||
return
|
||||
|
||||
def show_title(self):
|
||||
change_title_allowed = True # FIXME: add in expert settings
|
||||
if change_title_allowed:
|
||||
start = ''
|
||||
if self.nb_unread > 1:
|
||||
start = '[' + str(self.nb_unread) + '] '
|
||||
|
|
Loading…
Reference in New Issue