/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/status.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:
37
37
 
38
38
from dialog import OliveDialog
39
39
 
 
40
from olive import gladefile
 
41
 
40
42
class OliveStatus:
41
43
    """ Display Status window and perform the needed actions. """
42
44
    def __init__(self, gladefile, wt, wtpath):
43
45
        """ Initialize the Status window. """
44
 
        self.gladefile = gladefile
45
 
        self.glade = gtk.glade.XML(self.gladefile, 'window_status')
 
46
        self.glade = gtk.glade.XML(gladefile, 'window_status')
46
47
        
47
48
        # Get the Status window widget
48
49
        self.window = self.glade.get_widget('window_status')