added all theme images
authortanya <tanyshk@gmail.com>
Mon, 19 Jul 2010 12:13:10 +0000 (15:13 +0300)
committertanya <tanyshk@gmail.com>
Mon, 19 Jul 2010 12:13:10 +0000 (15:13 +0300)
applet/data/theme/Accel/sky0.png [new file with mode: 0755]
applet/data/theme/Accel/sun.png [new file with mode: 0755]
applet/data/theme/Berlin/icon.png [new file with mode: 0644]
applet/data/theme/Modern/icon.png [new file with mode: 0644]
applet/src/livewp-settings.c

diff --git a/applet/data/theme/Accel/sky0.png b/applet/data/theme/Accel/sky0.png
new file mode 100755 (executable)
index 0000000..2183357
Binary files /dev/null and b/applet/data/theme/Accel/sky0.png differ
diff --git a/applet/data/theme/Accel/sun.png b/applet/data/theme/Accel/sun.png
new file mode 100755 (executable)
index 0000000..10931cd
Binary files /dev/null and b/applet/data/theme/Accel/sun.png differ
diff --git a/applet/data/theme/Berlin/icon.png b/applet/data/theme/Berlin/icon.png
new file mode 100644 (file)
index 0000000..898b422
Binary files /dev/null and b/applet/data/theme/Berlin/icon.png differ
diff --git a/applet/data/theme/Modern/icon.png b/applet/data/theme/Modern/icon.png
new file mode 100644 (file)
index 0000000..f04517a
Binary files /dev/null and b/applet/data/theme/Modern/icon.png differ
index f0ae29a..b959d5f 100644 (file)
@@ -73,7 +73,7 @@ theme_button_clicked(GtkButton *button, Animation_WallpaperPrivate *priv){
 /********************************************************************************/
 
 GtkWidget *
-create_image_button (gchar *theme, gint view){
+create_image_button (gint view){
     GtkWidget *button;
     GtkWidget *image;
     gchar * str;
@@ -87,7 +87,7 @@ create_image_button (gchar *theme, gint view){
                                     HILDON_BUTTON_ARRANGEMENT_VERTICAL);
     g_object_set_data(G_OBJECT(button), "view", GINT_TO_POINTER(view));
     str = g_strdup_printf( "%s/%s/%s", THEME_PATH, 
-                        theme, "icon.png");
+                        priv->theme, "icon.png");
     pixbuf = gdk_pixbuf_new_from_file_at_size (str, 
                                              100, 
                                              60, 
@@ -180,16 +180,16 @@ lw_main_settings(Animation_WallpaperPrivate *priv, gpointer data){
     gtk_window_set_modal(GTK_WINDOW(window), TRUE);
     /* Create Theme button */
     hbox = gtk_hbox_new(FALSE, 5);
-    theme_button1 = create_image_button("Matrix", 0);
+    theme_button1 = create_image_button(0);
     gtk_box_pack_start(GTK_BOX(hbox),
                                    theme_button1, TRUE, TRUE, 5);
-    theme_button2 = create_image_button("Matrix", 1);
+    theme_button2 = create_image_button(1);
     gtk_box_pack_start(GTK_BOX(hbox),
                                    theme_button2, TRUE, TRUE, 5);
-    theme_button3 = create_image_button("Matrix", 2);
+    theme_button3 = create_image_button(2);
     gtk_box_pack_start(GTK_BOX(hbox),
                                    theme_button3, TRUE, TRUE, 5);
-    theme_button4 = create_image_button("Matrix", 3);
+    theme_button4 = create_image_button(3);
     gtk_box_pack_start(GTK_BOX(hbox),
                                    theme_button4, TRUE, TRUE, 5);
     gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox),