/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-02-01 10:52:33 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-20070201105233-q0azmkxxawlyhemi
Improved Branch dialog. Refactored Checkout dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
    
234
234
    def on_menuitem_branch_checkout_activate(self, widget):
235
235
        """ Branch/Checkout... menu handler. """
236
 
        from checkout import OliveCheckout
237
 
        checkout = OliveCheckout(self.get_path())
238
 
        checkout.display()
 
236
        from checkout import CheckoutDialog
 
237
        checkout = CheckoutDialog(self.get_path(), self.window)
 
238
        response = checkout.run()
 
239
        if response != gtk.RESPONSE_NONE:
 
240
            checkout.hide()
 
241
        
 
242
            if response == gtk.RESPONSE_OK:
 
243
                self.refresh_right()
 
244
            
 
245
            checkout.destroy()
239
246
    
240
247
    def on_menuitem_branch_commit_activate(self, widget):
241
248
        """ Branch/Commit... menu handler. """