projects
/
livewp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
69e2a6a
)
added theme Matrix
author
Vlad Vasiliev
<vlad@toshiba2.oblgaz>
Sun, 18 Apr 2010 19:49:36 +0000
(22:49 +0300)
committer
Vlad Vasiliev
<vlad@toshiba2.oblgaz>
Sun, 18 Apr 2010 19:49:36 +0000
(22:49 +0300)
applet/src/livewp-settings.c
patch
|
blob
|
history
diff --git
a/applet/src/livewp-settings.c
b/applet/src/livewp-settings.c
index
b7043a6
..
771e319
100644
(file)
--- a/
applet/src/livewp-settings.c
+++ b/
applet/src/livewp-settings.c
@@
-36,7
+36,8
@@
void lw_about(void){
vbox = gtk_vbox_new (FALSE, 5);
label_about = gtk_label_new (_("Live Wallpaper\n Version 0.4 \n Copyright(c) 2010\n \
Tanya Makova\n Vlad Vasiliev\n \
vbox = gtk_vbox_new (FALSE, 5);
label_about = gtk_label_new (_("Live Wallpaper\n Version 0.4 \n Copyright(c) 2010\n \
Tanya Makova\n Vlad Vasiliev\n \
-Copyright(c) 2010 for design \n Vasya Bobrikov"));
+Copyright(c) 2010 for design themes Berlin and Modern \n Vasya Bobrikov\
+Copyright(c) 2010 for design theme Matrix \n Andrew Zhilin"));
gtk_box_pack_start (GTK_BOX (vbox), label_about, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox),
vbox, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox), label_about, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox),
vbox, TRUE, TRUE, 0);
@@
-79,6
+80,10
@@
create_themes_button (gchar *theme){
hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, 1);
hildon_button_set_value(HILDON_BUTTON(button), _("Modern"));
}
hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, 1);
hildon_button_set_value(HILDON_BUTTON(button), _("Modern"));
}
+ if (!strcmp(theme, "Matrix")){
+ hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (selector), 0, 2);
+ hildon_button_set_value(HILDON_BUTTON(button), _("Matrix"));
+ }
}
return button;
}
return button;
@@
-132,6
+137,8
@@
lw_settings(GtkWidget *widget, Animation_WallpaperPrivate *priv){
priv->theme = g_strdup("Berlin");
if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Modern")))
priv->theme = g_strdup("Modern");
priv->theme = g_strdup("Berlin");
if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Modern")))
priv->theme = g_strdup("Modern");
+ if (!strcmp(hildon_button_get_value(HILDON_BUTTON (theme_button)), _("Matrix")))
+ priv->theme = g_strdup("Matrix");
if (hildon_check_button_get_active (rich_animation_button))
priv->rich_animation = TRUE;
else
if (hildon_check_button_get_active (rich_animation_button))
priv->rich_animation = TRUE;
else