fix for older gtk/pygtk

This commit is contained in:
Chris Jones 2009-03-16 23:50:48 +00:00
parent e14e400b6c
commit e3449d4142
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ class TerminatorNotebookTabLabel(gtk.HBox):
self.connect("style-set", self.on_style_set)
if hasattr(self._button, "set_tooltip_text"):
self._button.set_tooltip_text(_("Close Tab"))
self.pack_start(self._button, False, False)
self.show_all()
self.pack_start(self._button, False, False)
self.show_all()
else:
if self._button:
self._button.remove(self._icon)