fix for older gtk/pygtk
This commit is contained in:
parent
e14e400b6c
commit
e3449d4142
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue