[gtkhtml] Remove GTK_DEST_DEFAULT_MOTION flag.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml] Remove GTK_DEST_DEFAULT_MOTION flag.
- Date: Fri, 13 Aug 2010 12:07:33 +0000 (UTC)
commit 344eb5e024b3db569baf69a497fcf580210ec75f
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Aug 13 08:04:47 2010 -0400
Remove GTK_DEST_DEFAULT_MOTION flag.
Remove the default handler for "drag-motion" signals. This allows
Evolution's EMsgComposer to prevent drops at certain times, like when
dragging from its own attachment bar. Related to bug #624913.
gtkhtml/gtkhtml.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtkhtml/gtkhtml.c b/gtkhtml/gtkhtml.c
index 1a844ab..17da9dd 100644
--- a/gtkhtml/gtkhtml.c
+++ b/gtkhtml/gtkhtml.c
@@ -1139,7 +1139,8 @@ gtk_html_drag_dest_set (GtkHTML *html)
{
if (html_engine_get_editable (html->engine))
gtk_drag_dest_set (
- GTK_WIDGET (html), GTK_DEST_DEFAULT_ALL,
+ GTK_WIDGET (html),
+ GTK_DEST_DEFAULT_HIGHLIGHT | GTK_DEST_DEFAULT_DROP,
drag_dest_targets, G_N_ELEMENTS (drag_dest_targets),
GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINK);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]