From f5258c2e9211d10d6093d4bb2362f6668934f83f Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 16 Sep 2011 23:33:04 +0200 Subject: Cycle on the disconnected tabs with M-e --- src/core.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/core.py b/src/core.py index 92a644be..96531e5f 100644 --- a/src/core.py +++ b/src/core.py @@ -883,6 +883,10 @@ class Core(object): if tab.get_color_state() == theme.COLOR_TAB_NEW_MESSAGE: self.command_win('%s' % tab.nb) 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: if isinstance(tab, tabs.ChatTab) and not tab.input.is_empty(): self.command_win('%s' % tab.nb) -- cgit v1.2.3