aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-dialog.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-03-27 03:33:16 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-03-27 03:33:16 +0800
commitbc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf (patch)
treeba8f579a8027e4e65d037e5947930fc04d8512e2 /widgets/misc/e-attachment-dialog.c
parentc05c973cff53769ef575bfc5257a2a414117b323 (diff)
downloadgsoc2013-evolution-bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf.tar
gsoc2013-evolution-bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf.tar.gz
gsoc2013-evolution-bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf.tar.bz2
gsoc2013-evolution-bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf.tar.lz
gsoc2013-evolution-bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf.tar.xz
gsoc2013-evolution-bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf.tar.zst
gsoc2013-evolution-bc4f60ba176b64cc8fd8ffa47a01542f8eb25bdf.zip
Saving progress again on the attachment rewrite.
svn path=/branches/kill-bonobo/; revision=37478
Diffstat (limited to 'widgets/misc/e-attachment-dialog.c')
-rw-r--r--widgets/misc/e-attachment-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-attachment-dialog.c b/widgets/misc/e-attachment-dialog.c
index a844c228eb..dd39a253c9 100644
--- a/widgets/misc/e-attachment-dialog.c
+++ b/widgets/misc/e-attachment-dialog.c
@@ -97,11 +97,13 @@ attachment_dialog_update (EAttachmentDialog *dialog)
widget = dialog->priv->display_name_entry;
gtk_widget_set_sensitive (widget, sensitive);
- gtk_entry_set_text (GTK_ENTRY (widget), display_name);
+ if (display_name != NULL)
+ gtk_entry_set_text (GTK_ENTRY (widget), display_name);
widget = dialog->priv->description_entry;
gtk_widget_set_sensitive (widget, sensitive);
- gtk_entry_set_text (GTK_ENTRY (widget), description);
+ if (description != NULL)
+ gtk_entry_set_text (GTK_ENTRY (widget), description);
widget = dialog->priv->content_type_label;
gtk_label_set_text (GTK_LABEL (widget), type_description);