gint short_timer;
gchar *theme;
gboolean visible;
+ gboolean rich_animation;
AWallpaperPlugin *desktop_plugin;
};
GConfClient *gconf_client = NULL;
gchar *tmp = NULL;
+ GConfValue *value = NULL;
gconf_client = gconf_client_get_default();
if (!gconf_client) {
priv->theme = tmp;
}else
priv->theme = g_strdup("Modern");
+ /* get Rich animation default TRUE */
+ value = gconf_client_get(gconf_client, GCONF_KEY_RANIMATION, NULL);
+ if (value) {
+ priv->rich_animation = gconf_value_get_bool(value);
+ gconf_value_free(value);
+ } else
+ priv->rich_animation = TRUE;
return 0;
}
#define GCONF_KEY_PREFIX "/apps/maemo/livewp"
#define GCONF_KEY_THEME GCONF_KEY_PREFIX"/theme"
+#define GCONF_KEY_RANIMATION GCONF_KEY_PREFIX"/rich_animation"
gint read_config(Animation_WallpaperPrivate *priv);
void save_config(Animation_WallpaperPrivate *priv);
theme_button = create_themes_button(priv->theme);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox),
theme_button, TRUE, TRUE, 0);
+ /* Create risch animation button */
gtk_widget_show (theme_button);
gtk_widget_show (window);
gtk_dialog_add_button(GTK_DIALOG(window), _("About"), GTK_RESPONSE_NO);