Changed Maximise/Unmaximise underlining as per keybinding

This commit is contained in:
Nicolas Valcárcel 2008-07-11 18:56:44 -05:00
parent e4d3aabbf8
commit c3aa93eb05
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class TerminatorNotebookTabLabel(gtk.HBox):
gtk.HBox.__init__(self, False) gtk.HBox.__init__(self, False)
self._notebook = notebook self._notebook = notebook
self.terminator = terminator self.terminator = terminator
self._label = gtk.Label(title) self._label = gtk.Label('tab test')
icon = gtk.Image() icon = gtk.Image()
icon.set_from_stock(gtk.STOCK_CLOSE, gtk.ICON_SIZE_MENU) icon.set_from_stock(gtk.STOCK_CLOSE, gtk.ICON_SIZE_MENU)
self.pack_start(self._label, True, True) self.pack_start(self._label, True, True)

View File

@ -811,7 +811,7 @@ text/plain
item.connect ("activate", lambda menu_item: self.terminator.toggle_zoom (self, True)) item.connect ("activate", lambda menu_item: self.terminator.toggle_zoom (self, True))
menu.append (item) menu.append (item)
item = gtk.MenuItem (_("_Maximise terminal")) item = gtk.MenuItem (_("Ma_ximise terminal"))
item.connect ("activate", lambda menu_item: self.terminator.toggle_zoom (self)) item.connect ("activate", lambda menu_item: self.terminator.toggle_zoom (self))
menu.append (item) menu.append (item)
else: else:
@ -821,7 +821,7 @@ text/plain
menu.append (item) menu.append (item)
if self.terminator._zoomed and self.terminator._maximised: if self.terminator._zoomed and self.terminator._maximised:
item = gtk.MenuItem (_("U_nmaximise terminal")) item = gtk.MenuItem (_("Unma_ximise terminal"))
item.connect ("activate", lambda menu_item: self.terminator.toggle_zoom (self)) item.connect ("activate", lambda menu_item: self.terminator.toggle_zoom (self))
menu.append (item) menu.append (item)