/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: Jelmer Vernooij
  • Date: 2006-09-27 21:05:19 UTC
  • mto: (0.12.2 olive)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060927210519-7bc2662211808af5
Bunch of other small updates, add more items to 
the TODO list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
 
145
145
class OliveInfo:
146
146
    """ Display Informations window and perform the needed actions. """
147
 
    def __init__(self, comm):
 
147
    def __init__(self, wt):
148
148
        """ Initialize the Informations window. """
149
149
        self.glade = gtk.glade.XML(gladefile, 'window_info', 'olive-gtk')
150
150
        
151
 
        # Communication object
152
 
        self.comm = comm
153
 
        
154
151
        # Get the Informations window widget
155
152
        self.window = self.glade.get_widget('window_info')
156
153
        
157
154
        # Check if current location is a branch
158
155
        self.notbranch = False
159
156
        try:
160
 
            self.ret = info(self.comm.get_path())
 
157
            self.ret = info(wt.basedir)
161
158
        except errors.NotBranchError:
162
159
            self.notbranch = True
163
160
            return