From 5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Sat, 30 Jun 2001 02:24:06 +0000 Subject: remove redundant logic. 2001-06-29 Larry Ewing * mail-display.c (html_button_press_event): remove redundant logic. svn path=/trunk/; revision=10620 --- mail/ChangeLog | 3 +++ mail/mail-display.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'mail') 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 + * 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); -- cgit v1.2.3