/********************************************************************************/
GtkWidget *
-create_image_button (gchar *theme, gint view){
+create_image_button (gint view){
GtkWidget *button;
GtkWidget *image;
gchar * str;
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,
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),