Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'graph.py')
-rwxr-xr-xgraph.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/graph.py b/graph.py
index d0d60bb..0bd4d68 100755
--- a/graph.py
+++ b/graph.py
@@ -905,7 +905,6 @@ class Graph:
# Info label
self.label_info = self.xml.get_widget( 'label_info' )
self.label_info.set_text( '' )
- #self.label_info.modify_font( pango.FontDescription( "sans 14" ) )
self.label_coords = self.xml.get_widget( 'label_coords' )
self.label_coords.set_text( '' )
@@ -1222,7 +1221,7 @@ class Graph:
# size changes
def on_draw_configure( self, widget, event ):
x,y,width,height = widget.get_allocation()
- self.pixmap = gtk.gdk.Pixmap( widget.get_window(), width, height, -1 )
+ self.pixmap = gtk.gdk.Pixmap( widget.window, width, height, -1 )
self.pixmap.draw_rectangle( widget.get_style().white_gc, True, 0, 0, width, height )
if self.gc == None:
self.gc = self.pixmap.new_gc( )