Changeset f6d1c1d72730…
Parent 1fd77196ca68…
by
Changes to one file · Browse files at f6d1c1d72730 Showing diff from parent 1fd77196ca68 Diff from another changeset...
@@ -139,9 +139,18 @@ import commit
dlg = commit.run(ui.ui())
dlg.set_modal(True)
- dlg.set_notify_func(self.notify_func, self.notify_args)
+ dlg.set_notify_func(self.commit_notify, dlg)
dlg.display()
+ def commit_notify(self, dlg):
+ # refresh the log tool
+ if self.notify_func:
+ self.notify_func(self.notify_args)
+ # close merge dialog
+ self.destroy()
+ # close commit tool after allowing it to finish post-processing
+ gobject.idle_add(dlg.destroy)
+
def undo(self, button, local, merge, commit):
response = gdialog.Confirm(_('undo merge'), [], self,
_('Clean checkout of original revision?')).run()
|
Loading...