[gedit-latex] More porting



commit 8ccac19f01b51b68fa6ec7281e1e01120e6578f3
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Jun 24 01:09:33 2011 +0200

    More porting

 latex/latex/views.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/latex/latex/views.py b/latex/latex/views.py
index eb3dda7..67aa694 100755
--- a/latex/latex/views.py
+++ b/latex/latex/views.py
@@ -120,7 +120,7 @@ class LaTeXSymbolMapView(SideView):
 			except GError, s:
 				print s
 		
-		view = Gtk.IconView(model)
+		view = Gtk.IconView(model=model)
 		view.set_pixbuf_column(0)
 		view.set_selection_mode(Gtk.SelectionMode.SINGLE)
 		view.connect("selection-changed", self.__on_symbol_selected)
@@ -135,7 +135,7 @@ class LaTeXSymbolMapView(SideView):
 		
 		view.show()
 		
-		expander = Gtk.Expander(group.label)
+		expander = Gtk.Expander(label=group.label)
 		expander.add(view)
 		expander.show_all()
 		



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]