GSList *store = NULL;
gint num = 0;
- fprintf(stderr, "init scene Slideshow %d\n", desktop_plugin->priv->theme_int_parametr1);
+ fprintf(stderr, "init scene Slideshow %d %s\n", desktop_plugin->priv->theme_int_parametr1, desktop_plugin->priv->theme_string_parametr1);
scene = g_new0(Scene, 1);
scene->actors = NULL;
hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (button),
HILDON_TOUCH_SELECTOR (selector));
hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, num);
- if (active)
- hildon_button_set_value(HILDON_BUTTON(button), active);
- else
+ if (active){
+ str = g_strdup_printf("%d", active);
+ hildon_button_set_value(HILDON_BUTTON(button), str);
+ }else
hildon_button_set_value(HILDON_BUTTON(button), "");
return button;
}
GtkWidget *rich_animation_button = NULL;
GtkWidget *confirm;
gint view = priv->view;
- gint count;
+ gint count, int_param;
gchar *text;
window = gtk_dialog_new();
if (button2){
if (priv->theme_int_parametr1)
g_free(priv->theme_int_parametr1);
- priv->theme_int_parametr1 = (guint)hildon_button_get_value (HILDON_BUTTON(button2));
+ int_param = atoi(hildon_button_get_value (HILDON_BUTTON(button2)));
+ priv->theme_int_parametr1 = int_param;
+ fprintf(stderr, "qqqq %i %s\n", priv->theme_int_parametr1, priv->theme_string_parametr1);
}
}
/* Check external themes */