Call gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work

Thu Feb 12 01:17:01 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
	gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
	for automatic DND.  (#133485, Tommi Komulainen)
This commit is contained in:
Matthias Clasen 2004-02-12 00:15:50 +00:00 committed by Matthias Clasen
parent 06d35613f7
commit 8321052434
6 changed files with 36 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Thu Feb 12 01:17:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
for automatic DND. (#133485, Tommi Komulainen)
Thu Feb 12 00:37:00 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading

View File

@ -1,3 +1,9 @@
Thu Feb 12 01:17:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
for automatic DND. (#133485, Tommi Komulainen)
Thu Feb 12 00:37:00 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading

View File

@ -1,3 +1,9 @@
Thu Feb 12 01:17:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
for automatic DND. (#133485, Tommi Komulainen)
Thu Feb 12 00:37:00 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading

View File

@ -1,3 +1,9 @@
Thu Feb 12 01:17:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
for automatic DND. (#133485, Tommi Komulainen)
Thu Feb 12 00:37:00 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading

View File

@ -1,3 +1,9 @@
Thu Feb 12 01:17:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
for automatic DND. (#133485, Tommi Komulainen)
Thu Feb 12 00:37:00 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading

View File

@ -10925,6 +10925,12 @@ gtk_tree_view_enable_model_drag_source (GtkTreeView *tree_view,
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
gtk_drag_source_set (GTK_WIDGET (tree_view),
0,
NULL,
0,
actions);
di = ensure_info (tree_view);
clear_source_info (di);