Unselect rows in list

Before exiting from for_each_selected, we should unselect all selected
rows in the list.
This commit is contained in:
Bryan Schumaker 2010-11-27 10:55:09 -05:00
parent f23fc65cc5
commit 2685572e52
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,6 @@
# Bryan Schumaker (8/16/2010)
import ocarina
import list
import menu
from components import image
@ -80,6 +79,7 @@ class ListView(gtk.TreeView):
filter = self.filter_model
for iter in self.sel.get_selected_rows()[1]:
func(filter[iter][0])
self.sel.unselect_all()
def freeze(self):
self.freeze_child_notify()