gtk+ r21362 - in branches/gtk-2-12: . gtk



Author: matthiasc
Date: Fri Sep 12 04:05:04 2008
New Revision: 21362
URL: http://svn.gnome.org/viewvc/gtk+?rev=21362&view=rev

Log:
        Bug 550528 - IconView DND interface does not work if only used as
        source

        * gtk/gtkiconview.c: Make source-only DND work.  Found by Alex Simon




Modified:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gtk/gtkiconview.c

Modified: branches/gtk-2-12/gtk/gtkiconview.c
==============================================================================
--- branches/gtk-2-12/gtk/gtkiconview.c	(original)
+++ branches/gtk-2-12/gtk/gtkiconview.c	Fri Sep 12 04:05:04 2008
@@ -6620,7 +6620,7 @@
   if (model == NULL)
     return;
 
-  if (!icon_view->priv->dest_set)
+  if (!icon_view->priv->source_set)
     return;
 
   source_row = get_source_row (context);
@@ -6663,7 +6663,7 @@
   if (!check_model_dnd (model, GTK_TYPE_TREE_DRAG_SOURCE, "drag_data_delete"))
     return;
 
-  if (!icon_view->priv->dest_set)
+  if (!icon_view->priv->source_set)
     return;
 
   source_row = get_source_row (context);



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