[evolution-patches] Fix for bug 324103 [gtkhtml]



Hi

Attached fix for Bug 324103 – GtkHTML should not start drag selection,
when dragging urls

Please Review.

Thanks,
Rohini
Index: gtkhtml.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml.c,v
retrieving revision 1.617
diff -u -p -r1.617 gtkhtml.c
--- gtkhtml.c	1 Mar 2006 06:04:01 -0000	1.617
+++ gtkhtml.c	8 Mar 2006 06:36:24 -0000
@@ -2467,6 +2467,7 @@ drag_end (GtkWidget *widget, GdkDragCont
 {
 	/* printf ("drag_end\n"); */
 	GTK_HTML (widget)->priv->dnd_in_progress = FALSE;
+	html_engine_unselect_all (GTK_HTML (widget)->engine);
 }
 
 static void
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2170
diff -u -p -r1.2170 ChangeLog
--- ChangeLog	1 Mar 2006 06:04:01 -0000	1.2170
+++ ChangeLog	8 Mar 2006 06:36:48 -0000
@@ -1,3 +1,9 @@
+2006-03-08  Rohini S  <srohini novell com>
+
+	* gtkhtml.c (drag_end): Deselect text after DnD ends.
+
+	Fixes bug #324103
+
 2006-03-01  Srinivasa Ragavan  <sragavan novell com>
 
 	* gtkhtml.c: (setup_class_properties), (next_uri),


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