/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 14:41:43 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-20070201144143-guso1rfcy76ma7a4
Refactored the Push dialog. Add 'gpush' command.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    from annotate.gannotate import GAnnotateWindow
56
56
    from annotate.config import GAnnotateConfig
57
57
 
 
58
# History delimiter used in config files
 
59
delimiter = ' '
58
60
 
59
61
class OliveGtk:
60
62
    """ The main Olive GTK frontend class. This is called when launching the
319
321
    
320
322
    def on_menuitem_branch_push_activate(self, widget):
321
323
        """ Branch/Push... menu handler. """
322
 
        from push import OlivePush
323
 
        push = OlivePush(self.wt.branch)
324
 
        push.display()
 
324
        from push import PushDialog
 
325
        push = PushDialog(self.wt.branch, self.window)
 
326
        response = push.run()
 
327
        if response != gtk.RESPONSE_NONE:
 
328
            push.destroy()
325
329
    
326
330
    @show_bzr_error
327
331
    def on_menuitem_branch_revert_activate(self, widget):