/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: Jasper Groenewegen
  • Date: 2008-07-17 20:41:24 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: colbrac@xs4all.nl-20080717204124-v781x33qxslpiw99
Replace OliveAdd glade add dialog with AddDialog

Show diffs side-by-side

added added

removed removed

Lines of Context:
470
470
    
471
471
    def on_menuitem_add_files_activate(self, widget):
472
472
        """ Add file(s)... menu handler. """
473
 
        from add import OliveAdd
474
 
        add = OliveAdd(self.wt, self.wtpath, self.get_selected_right())
475
 
        add.display()
476
 
    
 
473
        from bzrlib.plugins.gtk.olive.add import AddDialog
 
474
        add = AddDialog(self.wt, self.wtpath, self.get_selected_right(), self.window)
 
475
        response = add.run()
 
476
        add.destroy()
 
477
        if response == gtk.RESPONSE_OK:
 
478
            self.refresh_right()
 
479
 
477
480
    def on_menuitem_branch_get_activate(self, widget):
478
481
        """ Branch/Get... menu handler. """
479
482
        from bzrlib.plugins.gtk.branch import BranchDialog