/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 olive/__init__.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-01-31 23:31:20 UTC
  • mto: (157.1.2 trunk) (170.1.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 141.
  • Revision ID: szilveszter.farkas@gmail.com-20070131233120-k1tomuzu52rqwpkw
Refactoring the Branch dialog. We also have a Revision Browser now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
    def on_menuitem_branch_get_activate(self, widget):
222
222
        """ Branch/Get... menu handler. """
223
223
        from branch import BranchDialog
224
 
        branch = BranchDialog(self.get_path())
225
 
        branch.display()
 
224
        branch = BranchDialog(self.get_path(), self.window)
 
225
        response = branch.run()
 
226
        if response != gtk.RESPONSE_NONE:
 
227
            branch.hide()
 
228
        
 
229
            if response == gtk.RESPONSE_OK:
 
230
                self.refresh_right()
 
231
            
 
232
            branch.destroy()
226
233
    
227
234
    def on_menuitem_branch_checkout_activate(self, widget):
228
235
        """ Branch/Checkout... menu handler. """