summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-09-16 23:33:04 +0200
committermathieui <mathieui@mathieui.net>2011-09-16 23:33:04 +0200
commitf5258c2e9211d10d6093d4bb2362f6668934f83f (patch)
tree664a21f03735b8a4fa80c69cf60fa704c676d7db
parenta3959bd12c2324f6e80e75e6f684cae65adaec5e (diff)
downloadpoezio-f5258c2e9211d10d6093d4bb2362f6668934f83f.tar.gz
poezio-f5258c2e9211d10d6093d4bb2362f6668934f83f.tar.bz2
poezio-f5258c2e9211d10d6093d4bb2362f6668934f83f.tar.xz
poezio-f5258c2e9211d10d6093d4bb2362f6668934f83f.zip
Cycle on the disconnected tabs with M-e
-rw-r--r--src/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 92a644be..96531e5f 100644
--- a/src/core.py
+++ b/src/core.py
@@ -884,6 +884,10 @@ class Core(object):
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)
return