meld r1231 - trunk
- From: kaiw svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1231 - trunk
- Date: Sun, 8 Mar 2009 11:52:01 +0000 (UTC)
Author: kaiw
Date: Sun Mar 8 11:52:01 2009
New Revision: 1231
URL: http://svn.gnome.org/viewvc/meld?rev=1231&view=rev
Log:
Use newer get_selected_rows() API
Modified:
trunk/dirdiff.py
Modified: trunk/dirdiff.py
==============================================================================
--- trunk/dirdiff.py (original)
+++ trunk/dirdiff.py Sun Mar 8 11:52:01 2009
@@ -733,10 +733,7 @@
#
def _get_selected_paths(self, pane):
assert pane != None
- selected_paths = []
- self.treeview[pane].get_selection().selected_foreach(
- lambda store, path, it: selected_paths.append( path ) )
- return selected_paths
+ return self.treeview[pane].get_selection().get_selected_rows()[1]
#
# Filtering
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]