aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2002-11-22 09:49:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-22 09:49:46 +0800
commitff14680378af5942c7738e296e7bc199ee7c75e9 (patch)
tree4f9fe97fd01de18d17507979cf428130e7b53d58 /mail
parentdf6eb9b1e251cab968635c8601c86c03cb4ddee9 (diff)
downloadgsoc2013-evolution-ff14680378af5942c7738e296e7bc199ee7c75e9.tar.gz
gsoc2013-evolution-ff14680378af5942c7738e296e7bc199ee7c75e9.tar.zst
gsoc2013-evolution-ff14680378af5942c7738e296e7bc199ee7c75e9.zip
Enable dragging of all attachments. For bug #34327.
2002-11-21 Harry Lu <harry.lu@sun.com> * mail-display.c (do_attachment_header): Enable dragging of all attachments. For bug #34327. svn path=/trunk/; revision=18882
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-display.c7
2 files changed, 7 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f0497e0565..7e6203f68c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-21 Harry Lu <harry.lu@sun.com>
+
+ * mail-display.c (do_attachment_header): Enable dragging of all
+ attachments. For bug #34327.
+
2002-11-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (mail_preferences_construct): Since the
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 8fcefc3604..88c17af01b 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -982,13 +982,10 @@ do_attachment_header (GtkHTML *html, GtkHTMLEmbedded *eb,
GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_FOCUS);
g_object_set_data(G_OBJECT(button), "MailDisplay", md);
- g_signal_connect(button, "clicked", G_CALLBACK (button_press), part);
-
handler = mail_lookup_handler (eb->type);
if (handler && handler->builtin)
- gtk_widget_set_sensitive (button, TRUE);
- else
- gtk_widget_set_sensitive (button, FALSE);
+ g_signal_connect (button, "clicked",
+ G_CALLBACK (button_press), part);
/* Drag & Drop */
drag_types[DND_TARGET_TYPE_PART_MIME_TYPE].target = header_content_type_simple(part->content_type);