This commit is contained in:
Florent Le Coz 2011-09-17 14:17:12 +02:00
commit 02593a265e

View file

@ -883,6 +883,10 @@ class Core(object):
if tab.get_color_state() == theme.COLOR_TAB_NEW_MESSAGE: if tab.get_color_state() == theme.COLOR_TAB_NEW_MESSAGE:
self.command_win('%s' % tab.nb) self.command_win('%s' % tab.nb)
return return
for tab in self.tabs:
if tab.get_color_state() == theme.COLOR_TAB_DISCONNECTED:
self.command_win('%s' % tab.nb)
return
for tab in self.tabs: for tab in self.tabs:
if isinstance(tab, tabs.ChatTab) and not tab.input.is_empty(): if isinstance(tab, tabs.ChatTab) and not tab.input.is_empty():
self.command_win('%s' % tab.nb) self.command_win('%s' % tab.nb)