Set a tab as reorderable after adding it, not before

This commit is contained in:
Chris Jones 2010-04-11 23:08:00 +01:00
parent c284baa7c0
commit 51ae3cd95a
1 changed files with 1 additions and 1 deletions

View File

@ -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'):