/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: 2007-02-01 15:50:40 UTC
  • Revision ID: jelmer@samba.org-20070201155040-3hq4mfbxs99kzazy
add framework for tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
 
import sys
18
 
 
19
17
try:
20
18
    import pygtk
21
19
    pygtk.require("2.0")
24
22
 
25
23
import gtk
26
24
import gtk.glade
27
 
import gobject
28
 
import pango
29
 
 
30
 
import bzrlib
31
 
import bzrlib.errors as errors
32
 
 
33
 
from bzrlib.status import show_tree_status
34
 
from bzrlib.workingtree import WorkingTree
35
 
 
36
 
from dialog import error_dialog
37
 
 
38
 
from olive import gladefile
 
25
 
 
26
from guifiles import GLADEFILENAME
 
27
 
39
28
 
40
29
class OliveStatus:
41
30
    """ Display Status window and perform the needed actions. """
42
31
    def __init__(self, wt, wtpath):
43
32
        """ Initialize the Status window. """
44
 
        self.glade = gtk.glade.XML(gladefile, 'window_status')
 
33
        self.glade = gtk.glade.XML(GLADEFILENAME, 'window_status')
45
34
        
46
35
        # Get the Status window widget
47
36
        self.window = self.glade.get_widget('window_status')
 
37
        
48
38
        self.wt = wt
49
39
        self.wtpath = wtpath
50
40