aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-15 06:42:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-15 06:42:31 +0800
commit1ceb89ab9a6913d36addc350ccafa8deaf2a126c (patch)
tree9b5033c93b41f3e662079178e756d71643632301 /composer
parent56fb26b2ea8a29eb539c2da3d7bcc094be8824e9 (diff)
downloadgsoc2013-evolution-1ceb89ab9a6913d36addc350ccafa8deaf2a126c.tar.gz
gsoc2013-evolution-1ceb89ab9a6913d36addc350ccafa8deaf2a126c.tar.zst
gsoc2013-evolution-1ceb89ab9a6913d36addc350ccafa8deaf2a126c.zip
If the entry widget is NULL, obviously we can't set any text on it.
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. svn path=/trunk/; revision=5927
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);
}
-
-
-
-
-
-
-
-
-
-
-