/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: Jelmer Vernooij
  • Date: 2006-09-27 20:30:59 UTC
  • mto: (0.12.2 olive)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060927203059-85792ae0a81db524
Bunch of small fixes, cleanups and simplifications.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    pygtk.require("2.0")
25
25
except:
26
26
    pass
27
 
try:
28
 
    import gtk
29
 
    import gtk.gdk
30
 
    import gtk.glade
31
 
except:
32
 
    sys.exit(1)
 
27
import gtk
 
28
import gtk.gdk
 
29
import gtk.glade
33
30
 
34
31
from handler import OliveHandler
35
32
import bzrlib.errors as errors
63
60
        
64
61
        self.pref = OlivePreferences()
65
62
        self.comm = OliveCommunicator(self.toplevel, self.pref)
66
 
        handler = OliveHandler(self.comm)
 
63
        handler = OliveHandler(self.comm.get_path())
67
64
        
68
65
        # Dictionary for signal_autoconnect
69
66
        dic = { "on_window_main_destroy": gtk.main_quit,