gedit r6317 - in branches/gnome-2-22: . plugins/snippets/snippets



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

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

Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/plugins/snippets/snippets/SnippetComplete.py

Modified: branches/gnome-2-22/plugins/snippets/snippets/SnippetComplete.py
==============================================================================
--- branches/gnome-2-22/plugins/snippets/snippets/SnippetComplete.py	(original)
+++ branches/gnome-2-22/plugins/snippets/snippets/SnippetComplete.py	Sun Jun  8 14:43:40 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]