small changes
authorvlad <vlad@vlanout.(none)>
Mon, 19 Jul 2010 19:03:10 +0000 (22:03 +0300)
committervlad <vlad@vlanout.(none)>
Mon, 19 Jul 2010 19:03:10 +0000 (22:03 +0300)
applet/src/livewp-settings.c

index cf20a6f..c70cc5c 100644 (file)
@@ -74,7 +74,8 @@ theme_button_clicked(GtkButton *button, Animation_WallpaperPrivate *priv){
 void
 set_button_image(GtkWidget * button, gchar *theme){
     GtkWidget * image = NULL; 
-    GdkPixbuf * pixbuf = NULL; 
+    GdkPixbuf * pixbuf = NULL;
+    
     gchar * str = g_strdup_printf( "%s/%s/%s", THEME_PATH, 
                         theme, "icon.png");
     fprintf(stderr, "set image %s\n", str);
@@ -89,9 +90,9 @@ set_button_image(GtkWidget * button, gchar *theme){
         g_object_unref(G_OBJECT(pixbuf));
     }
 
-    hildon_button_set_image (HILDON_BUTTON (button), image);
+   hildon_button_set_image (HILDON_BUTTON (button), image);
 }
-
+/********************************************************************************/
 GtkWidget *
 create_image_button (gint view, DBusConnection *conn_sess){
     GtkWidget *button;
@@ -109,7 +110,7 @@ create_image_button (gint view, DBusConnection *conn_sess){
     g_object_set_data(G_OBJECT(button), "view", GINT_TO_POINTER(view));
     set_button_image(button, priv->theme);
     g_signal_connect(button, "clicked", G_CALLBACK(theme_button_clicked), priv);
-    //hildon_button_set_image_position (HILDON_BUTTON (button), GTK_POS_RIGHT);
+    hildon_button_set_image_position (HILDON_BUTTON (button), GTK_POS_RIGHT);
     return button;
 
 }