From: tanya Date: Thu, 29 Jul 2010 12:46:11 +0000 (+0300) Subject: adapted for theme Accel X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=2d87d98a8ef848751d9126c36be29e0a4657c99a;p=livewp adapted for theme Accel --- diff --git a/applet/src/livewp-settings.c b/applet/src/livewp-settings.c index 06c2dd2..b97e13a 100644 --- a/applet/src/livewp-settings.c +++ b/applet/src/livewp-settings.c @@ -141,10 +141,12 @@ changed_value_theme_cb (HildonPickerButton *picker, Animation_WallpaperPrivate * if (!strcmp(choice, "Matrix")){ rich_animation_additional_parametr(vbox,priv); } + if (!strcmp(choice, "Accel")){ + rich_animation_additional_parametr(vbox,priv); + } if (!strcmp(choice, "Video")){ additional_parametr_for_theme_video(vbox, priv); } - } gtk_widget_show(vbox); } @@ -175,12 +177,12 @@ create_themes_button (gchar *theme){ hildon_button_set_value(HILDON_BUTTON(button), _("Matrix")); } if (!strcmp(theme, "Accel")){ - hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, 2); + hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, 3); hildon_button_set_value(HILDON_BUTTON(button), _("Accel")); } if (!strcmp(theme, "Video")){ - hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, 3); + hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, 4); hildon_button_set_value(HILDON_BUTTON(button), _("Video")); } @@ -386,6 +388,7 @@ lw_theme_settings(GtkWidget *button, Animation_WallpaperPrivate *priv) { vbox, TRUE, TRUE, 5); if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Berlin"))|| !strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Matrix"))|| + !strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Accel"))|| !strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Modern"))){ rich_animation_additional_parametr(vbox, priv); }