/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: Alexander Belchenko
  • Date: 2006-10-25 08:34:09 UTC
  • mto: (91.1.8 trunk) (66.2.10 trunk)
  • mto: This revision was merged to the branch mainline in revision 104.
  • Revision ID: bialix@ukr.net-20061025083409-8131f3c270158eed
detecting name of glade file doing in separate module (olive.gladefile)

This fix problem with gcommit (Bug 68127: glade file not found)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import gtk
24
24
import gtk.glade
25
25
 
26
 
from olive import gladefile, OlivePreferences
 
26
from olive import OlivePreferences
27
27
from dialog import error_dialog
 
28
from gladefile import GLADEFILENAME
 
29
 
28
30
 
29
31
class OliveBookmark:
30
32
    """ Display the Edit bookmark dialog and perform the needed actions. """
31
33
    def __init__(self, selected):
32
34
        """ Initialize the Edit bookmark dialog. """
33
 
        self.glade = gtk.glade.XML(gladefile, 'window_bookmark', 'olive-gtk')
 
35
        self.glade = gtk.glade.XML(GLADEFILENAME, 'window_bookmark', 'olive-gtk')
34
36
        
35
37
        self.window = self.glade.get_widget('window_bookmark')
36
38