Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_exebuf.c
Log Message:
add icons to exe history
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_exebuf.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_exebuf.c 14 Oct 2006 10:57:18 -0000 1.26
+++ e_exebuf.c 26 Oct 2006 06:24:41 -0000 1.27
@@ -1104,8 +1104,23 @@
"e/widgets/exebuf/item");
edje_object_part_text_set(o, "e.text.title", exe->file);
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_IN,
- _e_exebuf_cb_exe_item_mouse_in, exe);
+ _e_exebuf_cb_exe_item_mouse_in, exe);
evas_object_show(o);
+ if (edje_object_part_exists(exe->bg_object, "e.swallow.icons"))
+ {
+ E_App *a;
+
+ a = e_app_exe_find(exe->file);
+ if (a)
+ {
+ o = e_app_icon_add(exebuf->evas, a);
+ exe->icon_object = o;
+ edje_object_part_swallow(exe->bg_object, "e.swallow.icons",
o);
+ evas_object_show(o);
+ exe->app = a;
+ e_object_ref(E_OBJECT(exe->app));
+ }
+ }
edje_object_size_min_calc(exe->bg_object, &mw, &mh);
e_box_pack_end(eap_list_object, exe->bg_object);
e_box_pack_options_set(exe->bg_object,
-------------------------------------------------------------------------
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