Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto.c ephoto_callbacks.c 


Log Message:
Fix the images.

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- ephoto.c    7 Sep 2006 00:13:12 -0000       1.73
+++ ephoto.c    7 Sep 2006 13:59:23 -0000       1.74
@@ -65,7 +65,7 @@
  ewl_container_child_append(EWL_CONTAINER(m->hbox), m->image);
  icon_theme_path = ewl_icon_theme_icon_path_get(EWL_ICON_GO_UP, 
                                                EWL_ICON_SIZE_MEDIUM);
- ewl_image_file_set(EWL_IMAGE(m->image), icon_theme_path, NULL);
+ ewl_image_file_set(EWL_IMAGE(m->image), icon_theme_path, EWL_ICON_GO_UP);
  ewl_callback_append(m->image, EWL_CALLBACK_CLICKED, go_up, NULL);
  ewl_widget_show(m->image);
 
@@ -73,7 +73,7 @@
  ewl_container_child_append(EWL_CONTAINER(m->hbox), m->image);
  icon_theme_path = ewl_icon_theme_icon_path_get(EWL_ICON_GO_HOME,
                                                 EWL_ICON_SIZE_MEDIUM);
- ewl_image_file_set(EWL_IMAGE(m->image), icon_theme_path, NULL);
+ ewl_image_file_set(EWL_IMAGE(m->image), icon_theme_path, EWL_ICON_GO_HOME);
  ewl_callback_append(m->image, EWL_CALLBACK_CLICKED, go_home, NULL);
  ewl_widget_show(m->image);
 
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_callbacks.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ephoto_callbacks.c  7 Sep 2006 02:07:42 -0000       1.17
+++ ephoto_callbacks.c  7 Sep 2006 13:59:23 -0000       1.18
@@ -46,7 +46,7 @@
   image_path = ewl_icon_theme_icon_path_get(EWL_ICON_IMAGE_X_GENERIC,
                                             EWL_ICON_SIZE_LARGE);  
   image = ewl_image_new();
-  ewl_image_file_set(EWL_IMAGE(image), image_path, NULL);
+  ewl_image_file_set(EWL_IMAGE(image), image_path, EWL_ICON_IMAGE_X_GENERIC);
   ewl_container_child_append(EWL_CONTAINER(hbox), image);
   ewl_widget_show(image);
                                                                                
  text = ewl_text_new();
@@ -112,7 +112,7 @@
   image_path = ewl_icon_theme_icon_path_get(EWL_ICON_FOLDER, 
                                            EWL_ICON_SIZE_LARGE);
   image = ewl_image_new();
-  ewl_image_file_set(EWL_IMAGE(image), image_path, NULL);
+  ewl_image_file_set(EWL_IMAGE(image), image_path, EWL_ICON_FOLDER);
   ewl_container_child_append(EWL_CONTAINER(hbox), image);
   ewl_widget_show(image);
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to