/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/bookmark.py

  • Committer: Jelmer Vernooij
  • Date: 2006-09-27 19:52:46 UTC
  • mto: (0.12.2 olive)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060927195246-9354d7ccf56127f5
Don't pass around gladefile all the time. 
Fix bug in status information when files have been removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    pygtk.require("2.0")
22
22
except:
23
23
    pass
24
 
try:
25
 
    import gtk
26
 
    import gtk.glade
27
 
except:
28
 
    sys.exit(1)
 
24
 
 
25
import gtk
 
26
import gtk.glade
 
27
from olive import gladefile
29
28
 
30
29
class OliveBookmark:
31
30
    """ Display the Edit bookmark dialog and perform the needed actions. """
32
 
    def __init__(self, gladefile, comm):
 
31
    def __init__(self, comm):
33
32
        """ Initialize the Edit bookmark dialog. """
34
 
        self.gladefile = gladefile
35
 
        self.glade = gtk.glade.XML(self.gladefile, 'window_bookmark', 'olive-gtk')
 
33
        self.glade = gtk.glade.XML(gladefile, 'window_bookmark', 'olive-gtk')
36
34
        
37
35
        # Communication object
38
36
        self.comm = comm