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

hggtk/synch: fix return value of window close button handler

which closes the dialog after the 'command running' prompt
is dismissed, without terminating the application.

Changeset f6b8c31da4da

Parent d24c108f6ae0

by TK Soh

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

Change 1 of 2 Show Entire File hggtk/​synch.py Stacked
 
321
322
323
324
325
326
327
 
333
334
335
 
336
337
338
 
321
322
323
 
324
325
326
 
332
333
334
335
336
337
338
@@ -321,7 +321,6 @@
  def _do_close(self):   if self._cmd_running():   error_dialog(self, "Can't close now", "command is running") - return True   else:   self._save_settings()   gtk.main_quit() @@ -333,6 +332,7 @@
    def _delete(self, widget, event):   self._do_close() + return True     def _toolbutton(self, stock, label, handler,   menu=None, userdata=None, tip=None):