/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to revisionmenu.py

  • Committer: Daniel Schierbeck
  • Date: 2007-11-21 23:49:58 UTC
  • Revision ID: daniel.schierbeck@gmail.com-20071121234958-pvxq0dk51dscqzep
Made the push dialog close when the cancel button is clicked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    def show_push(self, item):
87
87
        from bzrlib.plugins.gtk.push import PushDialog
88
88
        dialog = PushDialog(self.repository, self.revids[0], self.branch)
89
 
        dialog.run()
 
89
        response = dialog.run()
 
90
 
 
91
        if response != gtk.RESPONSE_NONE:
 
92
            dialog.destroy()
90
93
 
91
94
    def show_tag(self, item):
92
95
        from bzrlib.plugins.gtk.tags import AddTagDialog
93
96
        dialog = AddTagDialog(self.repository, self.revids[0], self.branch)
94
97
        response = dialog.run()
 
98
 
95
99
        if response != gtk.RESPONSE_NONE:
96
100
            dialog.hide()
97
101