From b3435e534fadca978035ffb5be87ded3befa852d Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 26 Jan 2010 12:39:44 +0000 Subject: [PATCH] tidy up some FIXME stuff, including removing a duplicate call to gtk.Button.set_relief() that can't possibly be needed --- terminatorlib/notebook.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index 1ac1084b..4527eb38 100755 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -41,12 +41,9 @@ class Notebook(Container, gtk.Notebook): def configure(self): """Apply widget-wide settings""" - # FIXME: Should all of our widgets have a ::configure()? - # FIXME: The old reordered handler updated Terminator.terminals with # the new order of terminals. We probably need to preserve this for # navigation to next/prev terminals. - #self.connect('page-reordered', self.on_page_reordered) self.set_property('homogeneous', not self.config['scroll_tabbar']) self.set_scrollable(self.config['scroll_tabbar']) @@ -324,9 +321,7 @@ class TabLabel(gtk.HBox): self.icon.set_from_stock(gtk.STOCK_CLOSE, gtk.ICON_SIZE_MENU) - self.button.set_relief(gtk.RELIEF_NONE) self.button.set_focus_on_click(False) - # FIXME: Why on earth are we doing this twice? self.button.set_relief(gtk.RELIEF_NONE) self.button.add(self.icon) self.button.connect('clicked', self.on_close)