aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2001-06-30 10:24:06 +0800
committerLarry Ewing <lewing@src.gnome.org>2001-06-30 10:24:06 +0800
commit5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed (patch)
treeb8ca14f04f4423a25db9ef5922b0a8c6dfa159f7 /mail
parent7f21c999f5c3a94eddfe0f63793689b1290a47d2 (diff)
downloadgsoc2013-evolution-5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed.tar
gsoc2013-evolution-5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed.tar.gz
gsoc2013-evolution-5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed.tar.bz2
gsoc2013-evolution-5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed.tar.lz
gsoc2013-evolution-5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed.tar.xz
gsoc2013-evolution-5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed.tar.zst
gsoc2013-evolution-5122606b0116c9aae28ca8e4d7fa4b9c9c9f79ed.zip
remove redundant logic.
2001-06-29 Larry Ewing <lewing@ximian.com> * mail-display.c (html_button_press_event): remove redundant logic. svn path=/trunk/; revision=10620
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);