projects
/
livewp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
edc3a3d
)
fixed problem with additional string
author
Vlad
<vlad@gas.by>
Wed, 29 Sep 2010 08:37:11 +0000
(11:37 +0300)
committer
Vlad
<vlad@gas.by>
Wed, 29 Sep 2010 08:37:11 +0000
(11:37 +0300)
applet/src/livewp-config.c
patch
|
blob
|
history
diff --git
a/applet/src/livewp-config.c
b/applet/src/livewp-config.c
index
9f14817
..
60b78db
100644
(file)
--- a/
applet/src/livewp-config.c
+++ b/
applet/src/livewp-config.c
@@
-234,16
+234,18
@@
save_config(Animation_WallpaperPrivate *priv) {
str = NULL;
}
str = NULL;
}
+ str = g_strdup_printf("%s%i",GCONF_KEY_ADDITIONAL_STRING_1, id);
if (priv->theme_string_parametr1){
if (priv->theme_string_parametr1){
- str = g_strdup_printf("%s%i",GCONF_KEY_ADDITIONAL_STRING_1, id);
gconf_client_set_string(gconf_client,
str,
priv->theme_string_parametr1, NULL);
gconf_client_set_string(gconf_client,
str,
priv->theme_string_parametr1, NULL);
- if (str){
+ }else
+ gconf_client_unset(gconf_client, str, NULL);
+ if (str){
g_free(str);
str = NULL;
g_free(str);
str = NULL;
- }
}
}
+
}
/*******************************************************************************/
gint
}
/*******************************************************************************/
gint