[Goodies-commits] r7317 - in xfce4-dict/trunk: . lib

Enrico Troeger enrico at xfce.org
Sat May 9 10:43:05 CEST 2009


Author: enrico
Date: 2009-05-09 08:43:04 +0000 (Sat, 09 May 2009)
New Revision: 7317

Modified:
   xfce4-dict/trunk/ChangeLog
   xfce4-dict/trunk/lib/gui.c
Log:
Reset the cursor after right-clicking on links in the textview.

Modified: xfce4-dict/trunk/ChangeLog
===================================================================
--- xfce4-dict/trunk/ChangeLog	2009-05-09 08:43:00 UTC (rev 7316)
+++ xfce4-dict/trunk/ChangeLog	2009-05-09 08:43:04 UTC (rev 7317)
@@ -1,3 +1,8 @@
+2009-04-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * Reset the cursor after right-clicking on links in the textview.
+
+
 2009-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * Partly revert last change and use the proper cursor for the textview

Modified: xfce4-dict/trunk/lib/gui.c
===================================================================
--- xfce4-dict/trunk/lib/gui.c	2009-05-09 08:43:00 UTC (rev 7316)
+++ xfce4-dict/trunk/lib/gui.c	2009-05-09 08:43:04 UTC (rev 7317)
@@ -262,6 +262,8 @@
 		gtk_text_view_window_to_buffer_coords(view, GTK_TEXT_WINDOW_TEXT, event->x, event->y, &x, &y);
 		gtk_text_view_get_iter_at_location(view, &iter, x, y);
 		gtk_text_buffer_move_mark(dd->main_textbuffer, dd->mark_click, &iter);
+
+		gdk_window_set_cursor(event->window, regular_cursor);
 	}
 
 	return FALSE;




More information about the Goodies-commits mailing list