aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-display.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3e3a3d6234..2192dd0563 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-06-29 Larry Ewing <lewing@ximian.com>
+ * mail-display.c (html_button_press_event): remove redundant
+ logic.
+
* mail-callbacks.c (create_msg_composer): make sure we show the
sig file.
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 36665a8bd6..816e5b49e8 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1492,7 +1492,6 @@ html_button_press_event (GtkWidget *widget, GdkEventButton *event, MailDisplay *
HTMLEngine *e;
HTMLPoint *point;
GtkWidget *popup_thing;
- const gchar *link;
e = GTK_HTML (widget)->engine;
point = html_engine_get_point_at (e, event->x + e->x_offset, event->y + e->y_offset, FALSE);
@@ -1512,7 +1511,7 @@ html_button_press_event (GtkWidget *widget, GdkEventButton *event, MailDisplay *
NULL);
make_popup_window (popup_thing);
- } else if ((link = html_object_get_url (point->object))) {
+ } else if (url) {
e_popup_menu_run (link_menu, (GdkEvent *) event, 0, 0, mail_display);