/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/branch.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:
28
28
from bzrlib.branch import Branch
29
29
import bzrlib.errors as errors
30
30
 
31
 
from __init__ import gladefile
32
31
from dialog import error_dialog, info_dialog
 
32
from gladefile import GLADEFILENAME
 
33
 
33
34
 
34
35
class BranchDialog:
35
36
    """ Display branch dialog and perform the needed operations. """
36
37
    def __init__(self, path=None):
37
38
        """ Initialize the Branch dialog. """
38
 
        self.glade = gtk.glade.XML(gladefile, 'window_branch', 'olive-gtk')
 
39
        self.glade = gtk.glade.XML(GLADEFILENAME, 'window_branch', 'olive-gtk')
39
40
 
40
41
        self.window = self.glade.get_widget('window_branch')
41
42