diff options
author | Radek Doulik <rodo@ximian.com> | 2003-04-25 03:09:04 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2003-04-25 03:09:04 +0800 |
commit | 54ae44bc33491956c27b75029cdf9ac785e6beea (patch) | |
tree | 03e33d4dc4b1a7a7f421860df9d816879d0518c9 /mail | |
parent | 98e99b95d4bd1c4b59759d2fcb5e65d18bec34da (diff) | |
download | gsoc2013-evolution-54ae44bc33491956c27b75029cdf9ac785e6beea.tar.gz gsoc2013-evolution-54ae44bc33491956c27b75029cdf9ac785e6beea.tar.zst gsoc2013-evolution-54ae44bc33491956c27b75029cdf9ac785e6beea.zip |
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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/folder-browser.c | 3 | ||||
-rw-r--r-- | mail/mail-display.c | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 26226d45ea..1e08f6225f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -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 diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 0c9c44151e..e163ffc952 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -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 diff --git a/mail/mail-display.c b/mail/mail-display.c index ec847e84c6..5aa1dd1dff 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -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; |