/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-30 10:21:43 UTC
  • Revision ID: jelmer@samba.org-20060930102143-c0ef64d6ca860c21
Merge some files from Olive and bzr-gtk.

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
 
17
19
try:
18
20
    import pygtk
19
21
    pygtk.require("2.0")
22
24
 
23
25
import gtk
24
26
import gtk.glade
25
 
 
26
 
from guifiles import GLADEFILENAME
27
 
 
 
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
28
39
 
29
40
class OliveStatus:
30
41
    """ Display Status window and perform the needed actions. """
31
42
    def __init__(self, wt, wtpath):
32
43
        """ Initialize the Status window. """
33
 
        self.glade = gtk.glade.XML(GLADEFILENAME, 'window_status')
 
44
        self.glade = gtk.glade.XML(gladefile, 'window_status')
34
45
        
35
46
        # Get the Status window widget
36
47
        self.window = self.glade.get_widget('window_status')
37
 
        
38
48
        self.wt = wt
39
49
        self.wtpath = wtpath
40
50