billreminder r681 - in trunk: . src/gui src/gui/widgets



Author: ogmaciel
Date: Fri Nov 21 04:16:04 2008
New Revision: 681
URL: http://svn.gnome.org/viewvc/billreminder?rev=681&view=rev

Log:
Reverted r645. Fixes b.g.o #561751.

Modified:
   trunk/ChangeLog
   trunk/src/gui/maindialog.py
   trunk/src/gui/widgets/genericlistview.py

Modified: trunk/src/gui/maindialog.py
==============================================================================
--- trunk/src/gui/maindialog.py	(original)
+++ trunk/src/gui/maindialog.py	Fri Nov 21 04:16:04 2008
@@ -415,7 +415,7 @@
     def remove_bill(self):
         try:
             if self.actions.delete_bill(self.currentrecord.Id):
-                self.list.listStore.remove()
+                self.list.remove()
                 self._update_statusbar()
                 self.reloadTimeline()
         except Exception, e:

Modified: trunk/src/gui/widgets/genericlistview.py
==============================================================================
--- trunk/src/gui/widgets/genericlistview.py	(original)
+++ trunk/src/gui/widgets/genericlistview.py	Fri Nov 21 04:16:04 2008
@@ -95,12 +95,8 @@
 
         # Defines the TreeStore
         self.listStore = gtk.TreeStore(*dataTypes)
-        self.filtered_model = self.listStore.filter_new()
-        
-        self.sorted_model = gtk.TreeModelSort(self.filtered_model)
-        
         # Associates the listStore to the ListView object
-        self.set_model(self.sorted_model)
+        self.set_model(self.listStore)
 
         # Add columns to the List
         for column in treeViewColumns:



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