/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/info.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:
25
25
 
26
26
import bzrlib.errors as errors
27
27
 
28
 
from olive import gladefile
29
28
from dialog import error_dialog
 
29
from gladefile import GLADEFILENAME
 
30
 
30
31
 
31
32
def info(location):
32
33
    """ Get info about branch, working tree, and repository
143
144
    """ Display Informations window and perform the needed actions. """
144
145
    def __init__(self, wt):
145
146
        """ Initialize the Informations window. """
146
 
        self.glade = gtk.glade.XML(gladefile, 'window_info', 'olive-gtk')
 
147
        self.glade = gtk.glade.XML(GLADEFILENAME, 'window_info', 'olive-gtk')
147
148
        
148
149
        # Get the Informations window widget
149
150
        self.window = self.glade.get_widget('window_info')