Changeset d24a2607cf42…
Parent d8fdbf41c8c6…
by
Changes to one file · Browse files at d24a2607cf42 Showing diff from parent d8fdbf41c8c6 Diff from another changeset...
@@ -274,8 +274,13 @@ sep.set_expand(True)
sep.set_draw(False)
toolbar.insert(sep, -1)
- tip = self.main and 'Close Application' or 'Close Window'
- button = self.make_toolbutton(gtk.STOCK_CLOSE, 'Close',
+ if self.main:
+ name = 'Quit'
+ tip = 'Close Application'
+ else:
+ name = 'Close'
+ tip = 'Close Window'
+ button = self.make_toolbutton(gtk.STOCK_CLOSE, name,
self._quit_clicked, tip=tip)
toolbar.insert(button, -1)
self.toolbar = toolbar
|
Loading...