[gimp] Add items at the right place again (did not affect item treeviews)



commit ac052aabf4bfc1ce9eda24674a9825f0fff73563
Author: Michael Natterer <mitch gimp org>
Date:   Tue Aug 4 00:13:58 2009 +0200

    Add items at the right place again (did not affect item treeviews)

 app/widgets/gimpcontainerview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcontainerview.c b/app/widgets/gimpcontainerview.c
index 23e767e..d510324 100644
--- a/app/widgets/gimpcontainerview.c
+++ b/app/widgets/gimpcontainerview.c
@@ -945,7 +945,7 @@ gimp_container_view_add (GimpContainerView *view,
     parent_insert_data = g_hash_table_lookup (private->item_hash, parent);
 
   insert_data = view_iface->insert_item (view, viewable,
-                                         parent_insert_data, -1);
+                                         parent_insert_data, index);
 
   g_hash_table_insert (private->item_hash, viewable, insert_data);
 



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