fixed problem with additional_integer parameter
[livewp] / applet / src / livewp-config.c
index 59bd7ec..7381b60 100644 (file)
@@ -236,6 +236,14 @@ save_config(Animation_WallpaperPrivate *priv) {
         str = NULL;
     }
 
+    str = g_strdup_printf("%s%i", GCONF_KEY_ADDITIONAL_INT_1, id);
+        gconf_client_set_int(gconf_client,
+                              str, priv->theme_int_parametr1, NULL);
+    if (str){
+        g_free(str);
+        str = NULL;
+    }
+
     str = g_strdup_printf("%s%i",GCONF_KEY_ADDITIONAL_STRING_1, id);
     if (priv->theme_string_parametr1){
         gconf_client_set_string(gconf_client,