/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 bzr-handle-patch

  • Committer: Curtis Hovey
  • Date: 2012-02-03 21:57:56 UTC
  • mto: This revision was merged to the branch mainline in revision 774.
  • Revision ID: sinzui.is@verizon.net-20120203215756-q85de1dlshtj9con
Fixed gtk call and import order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
from bzrlib import errors, merge_directive
4
4
from bzrlib.plugin import load_plugins
 
5
load_plugins()
5
6
from bzrlib.plugins.gtk.commands import open_display
6
7
 
7
 
load_plugins()
8
 
 
9
8
import sys
10
9
 
11
10
if len(sys.argv) < 2:
32
31
        window = controller.window
33
32
        window.show()
34
33
        Gtk = open_display()
35
 
        window.connect("destroy", gtk.main_quit)
 
34
        window.connect("destroy", Gtk.main_quit)
36
35
except Exception, e:
37
36
        from bzrlib.plugins.gtk.dialog import error_dialog
38
37
        error_dialog('Error', str(e))
39
38
        raise
40
 
gtk.main()
 
39
Gtk.main()