[cairo-commit] pycairo/examples/cairo_snippets snippets_gtk.py, 1.8, 1.9

Steve Chaplin commit at pdx.freedesktop.org
Sun Jun 19 20:02:49 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples/cairo_snippets
In directory gabe:/tmp/cvs-serv13692/examples/cairo_snippets

Modified Files:
	snippets_gtk.py 
Log Message:
SC

Index: snippets_gtk.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets_gtk.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- snippets_gtk.py	20 May 2005 08:57:45 -0000	1.8
+++ snippets_gtk.py	20 Jun 2005 03:02:43 -0000	1.9
@@ -128,12 +128,13 @@
         tselection = tree_view.get_selection()
         tselection.connect ("changed", self.cb_selection_changed)
         tselection.set_mode (gtk.SELECTION_BROWSE)
-        tselection.select_path(0,) # select first item
 
         cr = gtk.CellRendererText()
         tvc = gtk.TreeViewColumn (None, cr, text=0)
         tree_view.append_column (tvc)
         
+        tselection.select_path(0,) # select first item
+
         return sw
 
 




More information about the cairo-commit mailing list