fixed problem with additional_integer parameter slideshow
authorvlad <vlad@vlanout.(none)>
Fri, 1 Oct 2010 19:50:18 +0000 (22:50 +0300)
committervlad <vlad@vlanout.(none)>
Fri, 1 Oct 2010 19:50:18 +0000 (22:50 +0300)
applet/src/livewp-config.c
applet/src/livewp-config.h

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,
index b3b2c1d..8607dc3 100644 (file)
@@ -33,6 +33,7 @@
 #define GCONF_KEY_RANIMATION                        GCONF_KEY_PREFIX"/rich_animation"
 #define GCONF_KEY_ADDITIONAL_STRING_1               GCONF_KEY_PREFIX"/additional_string_1"
 #define GCONF_KEY_ADDITIONAL_BOOL_1                 GCONF_KEY_PREFIX"/additional_bool_1"
+#define GCONF_KEY_ADDITIONAL_INT_1                 GCONF_KEY_PREFIX"/additional_int_1"
 void init_scene_Modern(AWallpaperPlugin *desktop_plugin);
 void init_scene_Berlin(AWallpaperPlugin *desktop_plugin);
 void init_scene_Matrix(AWallpaperPlugin *desktop_plugin);