aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer-attachment.c14
2 files changed, 7 insertions, 12 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 227f795b39..b625664ac7 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-14 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * e-msg-composer-attachment.c (set_entry): If the entry widget is
+ NULL, obviously we can't set any text on it.
+
2000-10-14 Iain Holmes <iain@helixcode.com>
* e-msg-composer-hdrs.c (init): Create a unique-ish id for this set
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c
index 7d1e61a883..58484d5f98 100644
--- a/composer/e-msg-composer-attachment.c
+++ b/composer/e-msg-composer-attachment.c
@@ -284,7 +284,8 @@ set_entry (GladeXML *xml,
entry = GTK_ENTRY (glade_xml_get_widget (xml, widget_name));
if (entry == NULL)
g_warning ("Entry for `%s' not found.", widget_name);
- e_utf8_gtk_entry_set_text (entry, value ? value : "");
+ else
+ e_utf8_gtk_entry_set_text (entry, value ? value : "");
}
static void
@@ -426,14 +427,3 @@ e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment,
connect_widget (editor_gui, "file_name_entry", "focus_out_event",
file_name_focus_out_cb, dialog_data);
}
-
-
-
-
-
-
-
-
-
-
-