diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-09-04 00:12:06 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-09-04 00:12:06 +0000 |
commit | 26521c87e50256a84352a9e4aa8df6ca3bf21423 (patch) | |
tree | 9015efaacca12361015009cd12acd5d626899db3 | |
parent | e46f32e7741325e347a10ebdcff09ff7aab5a2ca (diff) | |
download | gtk+-26521c87e50256a84352a9e4aa8df6ca3bf21423.tar.gz |
Bug 550528 - IconView DND interface does not work if only used as source
2008-09-03 Matthias Clasen <mclasen@redhat.com>
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
svn path=/trunk/; revision=21270
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gtk/gtkiconview.c | 4 |
2 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,13 @@ 2008-09-03 Matthias Clasen <mclasen@redhat.com> + 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 + +2008-09-03 Matthias Clasen <mclasen@redhat.com> + * gtk/gtk.symbols: Add some missing symbols 2008-09-03 Matthias Clasen <mclasen@redhat.com> diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 5ca308e735..526f426a01 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -6594,7 +6594,7 @@ gtk_icon_view_drag_data_get (GtkWidget *widget, if (model == NULL) return; - if (!icon_view->priv->dest_set) + if (!icon_view->priv->source_set) return; source_row = get_source_row (context); @@ -6637,7 +6637,7 @@ gtk_icon_view_drag_data_delete (GtkWidget *widget, 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); |