aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);