Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_dialog.c
Log Message:
and dialogs handle icons in the main bit now too
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_dialog.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_dialog.c 19 Sep 2005 06:55:35 -0000 1.7
+++ e_dialog.c 19 Sep 2005 07:02:35 -0000 1.8
@@ -131,6 +131,14 @@
void
e_dialog_icon_set(E_Dialog *dia, char *icon)
{
+ if (icon)
+ {
+ dia->icon_object = edje_object_add(e_win_evas_get(dia->win));
+ e_util_edje_icon_set(dia->icon_object, icon);
+ edje_extern_object_min_size_set(dia->icon_object, 64, 64);
+ edje_object_part_swallow(dia->bg_object, "icon_swallow",
dia->icon_object);
+ evas_object_show(dia->icon_object);
+ }
}
void
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs