Cycle on the disconnected tabs with M-e

This commit is contained in:
mathieui 2011-09-16 23:33:04 +02:00
parent a3959bd12c
commit f5258c2e92

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)