gedit r6316 - in trunk: . plugins/snippets/snippets



Author: chovey
Date: Sun Jun  8 14:32:32 2008
New Revision: 6316
URL: http://svn.gnome.org/viewvc/gedit?rev=6316&view=rev

Log:
Fixed on_get_n_columns() return. Bug #537248.

Modified:
   trunk/ChangeLog
   trunk/plugins/snippets/snippets/SnippetComplete.py

Modified: trunk/plugins/snippets/snippets/SnippetComplete.py
==============================================================================
--- trunk/plugins/snippets/snippets/SnippetComplete.py	(original)
+++ trunk/plugins/snippets/snippets/SnippetComplete.py	Sun Jun  8 14:32:32 2008
@@ -130,7 +130,7 @@
                 return gtk.TREE_MODEL_LIST_ONLY
         
         def on_get_n_columns(self):
-                len(self.column_types)
+                return len(self.column_types)
 
         def on_get_column_type(self, index):
                 return self.column_types[index]



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