/[ascend]/trunk/pygtk/interface/gtkbrowser.py
ViewVC logotype

Diff of /trunk/pygtk/interface/gtkbrowser.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 290 by johnpye, Fri Feb 10 03:30:05 2006 UTC revision 294 by johnpye, Thu Feb 16 02:53:56 2006 UTC
# Line 91  class Browser: Line 91  class Browser:
91          if not self.window:          if not self.window:
92              raise RuntimeError("Couldn't load window from glade file")              raise RuntimeError("Couldn't load window from glade file")
93    
94          _display = self.window.get_screen().get_display().get_name();          _display = self.window.get_screen().get_display().get_name()
95          _geom=self.prefs.getGeometrySizePosition(_display,"browserwin")          _geom=self.prefs.getGeometrySizePosition(_display,"browserwin")
96          if _geom:          if _geom:
97              self.window.resize(_geom[0],_geom[1]);              self.window.resize(_geom[0],_geom[1])
98              self.window.move(_geom[2],_geom[3]);              self.window.move(_geom[2],_geom[3])
99                    
100          self.window.connect("delete_event", self.delete_event)          self.window.connect("delete_event", self.delete_event)
101    
102          self.browserpaned=glade.get_widget("browserpaned");          self.browserpaned=glade.get_widget("browserpaned")
103          _geom2=self.prefs.getGeometryValue(_display,"browserpaned");          _geom2=self.prefs.getGeometryValue(_display,"browserpaned")
104          if _geom2:          if _geom2:
105              self.browserpaned.set_position(_geom2);              self.browserpaned.set_position(_geom2)
106    
107          self.openbutton=glade.get_widget("openbutton")          self.openbutton=glade.get_widget("openbutton")
108          self.openbutton.connect("clicked",self.open_click)          self.openbutton.connect("clicked",self.open_click)

Legend:
Removed from v.290  
changed lines
  Added in v.294

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22