Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

hggtk/gdialog: mark close button as 'Quit' when self.main is true

Changeset d24a2607cf42

Parent d8fdbf41c8c6

by Steve Borho

Changes to one file · Browse files at d24a2607cf42 Showing diff from parent d8fdbf41c8c6 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​gdialog.py Stacked
 
274
275
276
277
278
 
 
 
 
 
 
 
279
280
281
 
274
275
276
 
 
277
278
279
280
281
282
283
284
285
286
@@ -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