projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d5c914
)
Bug 621851 - CamelFolder description should fall back to full-name
author
Matthew Barnes
<mbarnes@redhat.com>
Sat, 19 Jun 2010 16:57:52 +0000
(12:57 -0400)
committer
Matthew Barnes
<mbarnes@redhat.com>
Sat, 19 Jun 2010 16:57:52 +0000
(12:57 -0400)
camel/camel-folder.c
patch
|
blob
|
history
diff --git
a/camel/camel-folder.c
b/camel/camel-folder.c
index
3af71b4
..
6777d42
100644
(file)
--- a/
camel/camel-folder.c
+++ b/
camel/camel-folder.c
@@
-1230,6
+1230,10
@@
camel_folder_get_description (CamelFolder *folder)
{
g_return_val_if_fail (CAMEL_IS_FOLDER (folder), NULL);
+ /* Default to full-name if there's no custom description. */
+ if (folder->priv->description == NULL)
+ return camel_folder_get_full_name (folder);
+
return folder->priv->description;
}