From 51ae3cd95aedace1dbfe08a67c7247e6fba0e812 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sun, 11 Apr 2010 23:08:00 +0100 Subject: [PATCH] Set a tab as reorderable after adding it, not before --- terminatorlib/notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index 789b4d92..7b132c7e 100755 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -183,7 +183,6 @@ class Notebook(Container, gtk.Notebook): handler = handler[0] self.connect_child(widget, signal, handler, *args) - self.set_tab_reorderable(widget, True) label = TabLabel(self.window.get_title(), self) label.connect('close-clicked', self.closetab) @@ -196,6 +195,7 @@ class Notebook(Container, gtk.Notebook): not self.config['scroll_tabbar'], gtk.PACK_START) + self.set_tab_reorderable(widget, True) self.set_current_page(-1) self.show_all() if maker.isinstance(widget, 'Terminal'):