[nautilus-actions] Returns selected actions in the display order
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Returns selected actions in the display order
- Date: Tue, 25 Aug 2009 19:10:50 +0000 (UTC)
commit c2b0ee1812c105c193b3f55b6c2a641e31379ac7
Author: Pierre Wieser <pwieser trychlos org>
Date: Tue Aug 25 21:13:53 2009 +0200
Returns selected actions in the display order
ChangeLog | 3 +++
src/nact/nact-iactions-list.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 80e012f..2bfae3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@
* src/nact/nact-assistant-import.c:
Can now do the operations in the on_assistant_apply() functions.
+ * src/nact/nact-iactions-list.c:
+ Returns selected actions in the same order as they are displayed.
+
2009-08-24 Pierre Wieser <pwieser trychlos org>
* Makefile.am:
diff --git a/src/nact/nact-iactions-list.c b/src/nact/nact-iactions-list.c
index 75315ab..28191f7 100644
--- a/src/nact/nact-iactions-list.c
+++ b/src/nact/nact-iactions-list.c
@@ -544,7 +544,7 @@ nact_iactions_list_get_selected_actions( NactWindow *window )
g_list_foreach( listrows, ( GFunc ) gtk_tree_path_free, NULL );
g_list_free( listrows );
- return( actions );
+ return( g_slist_reverse( actions ));
}
/*void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]