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

  • Committer: Jelmer Vernooij
  • Date: 2008-03-09 13:47:52 UTC
  • mto: This revision was merged to the branch mainline in revision 447.
  • Revision ID: jelmer@samba.org-20080309134752-syf9kwzy6e919jhj
Add note about python-nautilus requiring a libpythonXX.so symlink.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
import bzrlib.add
29
29
import bzrlib.errors as errors
30
30
 
31
 
from olive import gladefile
32
 
from dialog import error_dialog
 
31
from bzrlib.plugins.gtk.dialog import error_dialog
 
32
from guifiles import GLADEFILENAME
 
33
 
33
34
 
34
35
class OliveAdd:
35
36
    """ Display the Add file(s) dialog and perform the needed actions. """
36
37
    def __init__(self, wt, wtpath, selected=[]):
37
38
        """ Initialize the Add file(s) dialog. """
38
 
        self.glade = gtk.glade.XML(gladefile, 'window_add', 'olive-gtk')
 
39
        self.glade = gtk.glade.XML(GLADEFILENAME, 'window_add', 'olive-gtk')
39
40
        
40
41
        self.window = self.glade.get_widget('window_add')
41
42