as below (update_active): as below
2003-04-24 Radek Doulik <rodo@ximian.com> * mail-display.c (html_button_press_event): as below (update_active): as below * folder-browser.c (html_button_press_event): update for changed coordinates in gtk-2 svn path=/trunk/; revision=20959
This commit is contained in:

committed by
Radek Doulik

parent
98e99b95d4
commit
54ae44bc33
@ -1,3 +1,11 @@
|
||||
2003-04-24 Radek Doulik <rodo@ximian.com>
|
||||
|
||||
* mail-display.c (html_button_press_event): as below
|
||||
(update_active): as below
|
||||
|
||||
* folder-browser.c (html_button_press_event): update for changed
|
||||
coordinates in gtk-2
|
||||
|
||||
2003-04-23 Not Zed <NotZed@Ximian.com>
|
||||
|
||||
* mail-send-recv.c (get_receive_type): pass an exception to
|
||||
|
@ -2156,8 +2156,7 @@ html_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer data
|
||||
return FALSE;
|
||||
|
||||
engine = GTK_HTML (widget)->engine;
|
||||
point = html_engine_get_point_at (engine, event->x + engine->x_offset,
|
||||
event->y + engine->y_offset, FALSE);
|
||||
point = html_engine_get_point_at (engine, event->x, event->y, FALSE);
|
||||
|
||||
if (point) {
|
||||
/* don't popup a menu if the mouse is hovering over a
|
||||
|
@ -2416,7 +2416,7 @@ html_button_press_event (GtkWidget *widget, GdkEventButton *event, MailDisplay *
|
||||
GtkWidget *popup_thing;
|
||||
|
||||
e = GTK_HTML (widget)->engine;
|
||||
point = html_engine_get_point_at (e, event->x + e->x_offset, event->y + e->y_offset, FALSE);
|
||||
point = html_engine_get_point_at (e, event->x, event->y, FALSE);
|
||||
|
||||
if (point) {
|
||||
const char *url, *src;
|
||||
@ -2494,7 +2494,7 @@ update_active (GtkWidget *widget, gint x, gint y, MailDisplay *mail_display)
|
||||
|
||||
e = GTK_HTML (widget)->engine;
|
||||
|
||||
point = html_engine_get_point_at (e, x + e->x_offset, y + e->y_offset, FALSE);
|
||||
point = html_engine_get_point_at (e, x, y, FALSE);
|
||||
if (mail_display->last_active && (!point || mail_display->last_active != point->object)) {
|
||||
set_underline (e, HTML_OBJECT (mail_display->last_active), FALSE);
|
||||
mail_display->last_active = NULL;
|
||||
|
Reference in New Issue
Block a user