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

  • Committer: Jelmer Vernooij
  • Date: 2006-09-27 19:52:46 UTC
  • mto: (0.12.2 olive)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060927195246-9354d7ccf56127f5
Don't pass around gladefile all the time. 
Fix bug in status information when files have been removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
from bzrlib.workingtree import WorkingTree
36
36
 
37
37
from dialog import error_dialog
 
38
from olive import gladefile
38
39
 
39
40
class OliveCommit:
40
41
    """ Display Commit dialog and perform the needed actions. """
41
 
    def __init__(self, gladefile, wt, wtpath):
 
42
    def __init__(self, wt, wtpath):
42
43
        """ Initialize the Commit dialog. """
43
 
        self.gladefile = gladefile
44
 
        self.glade = gtk.glade.XML(self.gladefile, 'window_commit', 'olive-gtk')
 
44
        self.glade = gtk.glade.XML(gladefile, 'window_commit', 'olive-gtk')
45
45
        
46
46
        self.wt = wt
47
47
        self.wtpath = wtpath