projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f79548
)
do this properly.
author
Murray Cumming
<murrayc@murrayc.com>
Thu, 14 Jun 2007 10:40:20 +0000
(10:40 +0000)
committer
Murray Cumming
<murrayc@murrayc.com>
Thu, 14 Jun 2007 10:40:20 +0000
(10:40 +0000)
pmo-trunk-r2227
src/modest-widget-memory.c
patch
|
blob
|
history
diff --git
a/src/modest-widget-memory.c
b/src/modest-widget-memory.c
index
55d31c2
..
1920953
100644
(file)
--- a/
src/modest-widget-memory.c
+++ b/
src/modest-widget-memory.c
@@
-305,7
+305,7
@@
save_settings_header_view (ModestConf *conf, ModestHeaderView *header_view,
cursor = g_list_next (cursor);
}
- if (str->str == NULL) {
+ if ((str->str == NULL) || (strlen(str->str) == 0)) {
/* TODO: Find out why this happens sometimes. */
g_warning ("DEBUG: %s: Attempting to write an empty value to "
"gconf key %s. Preventing.", __FUNCTION__, key);