Enlightenment CVS committal
Author : titan
Project : e17
Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/eapp_edit
Modified Files:
eapp_edit_main.c
Log Message:
Fix so that the icon shows up again.
===================================================================
RCS file: /cvs/e/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- eapp_edit_main.c 10 Apr 2006 18:22:19 -0000 1.42
+++ eapp_edit_main.c 17 May 2006 22:43:32 -0000 1.43
@@ -324,15 +324,19 @@
Ewl_Widget *o;
e = ev;
- if (e->response == EWL_STOCK_OPEN)
+ if (e->response == EWL_STOCK_OK)
{
char *icon;
-
+ const char *icon2;
+ char icon3[PATH_MAX];
+
icon = ewl_filedialog_selected_file_get(EWL_FILEDIALOG(w));
+ icon2 = ewl_filedialog_directory_get(EWL_FILEDIALOG(w));
+ snprintf(icon3, PATH_MAX, "%s/%s", icon2, icon);
o = ewl_widget_name_find("icon");
- ewl_widget_data_set(o, "file", icon);
- ewl_image_file_set(EWL_IMAGE(o), icon, "");
+ ewl_widget_data_set(o, "file", icon3);
+ ewl_image_file_set(EWL_IMAGE(o), icon3, "");
}
o = ewl_widget_name_find("fd");
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs