[network-manager-netbook] Fix list children packing properties on drag-n-drop.



commit 9a7110b508696f0d1a89396620407bcfe348cfd2
Author: Tambet Ingo <tambet gmail com>
Date:   Mon Jun 15 09:16:21 2009 +0300

    Fix list children packing properties on drag-n-drop.

 src/nmn-list.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nmn-list.c b/src/nmn-list.c
index e2778de..3e6003f 100644
--- a/src/nmn-list.c
+++ b/src/nmn-list.c
@@ -98,7 +98,7 @@ drag_failed (GtkWidget *widget,
         g_debug ("drag failed");
         g_object_ref (widget);
         gtk_container_remove (GTK_CONTAINER (priv->dnd_window), widget);
-        gtk_box_pack_start (GTK_BOX (user_data), widget, TRUE, TRUE, 0);
+        gtk_box_pack_start (GTK_BOX (user_data), widget, FALSE, FALSE, 0);
         gtk_box_reorder_child (GTK_BOX (user_data), widget,
                                GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "original-location")));
 
@@ -277,7 +277,7 @@ nmn_list_drag_data_received (GtkWidget *widget,
         g_object_ref (source_widget);
         g_print ("child %p, source_widget: %p target: %p\n", GTK_BIN (priv->dnd_window)->child, source_widget, (void*) data->data);
         gtk_container_remove (GTK_CONTAINER (priv->dnd_window), source_widget);
-        gtk_box_pack_start (GTK_BOX (widget), source_widget, TRUE, TRUE, 0);
+        gtk_box_pack_start (GTK_BOX (widget), source_widget, FALSE, FALSE, 0);
         gtk_box_reorder_child (GTK_BOX (widget), source_widget, active_position);
         g_object_unref (source_widget);
 



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