projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc4d8ea
)
lets emit a signal to dialog to know if icon is there or not so it can
author
Carsten Haitzler
<raster@rasterman.com>
Thu, 25 Oct 2012 11:40:40 +0000
(11:40 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Thu, 25 Oct 2012 11:40:40 +0000
(11:40 +0000)
more sensibly lay itself out :)
SVN revision: 78446
src/bin/e_dialog.c
patch
|
blob
|
history
diff --git
a/src/bin/e_dialog.c
b/src/bin/e_dialog.c
index 515e743e1ae2e9b86e203aa4bc243bc86547deef..6aad168162edf6d69c27314a232d77edc8861fcb 100644
(file)
--- a/
src/bin/e_dialog.c
+++ b/
src/bin/e_dialog.c
@@
-171,6
+171,11
@@
e_dialog_icon_set(E_Dialog *dia, const char *icon, Evas_Coord size)
edje_object_part_swallow(dia->bg_object, "e.swallow.icon", dia->icon_object);
edje_object_signal_emit(dia->bg_object, "e,state,icon", "e");
evas_object_show(dia->icon_object);
+ if (icon)
+ edje_object_signal_emit(dia->bg_object, "e,icon,enabled", "e");
+ else
+ edje_object_signal_emit(dia->bg_object, "e,icon,disabled", "e");
+ edje_object_message_signal_process(dia->bg_object);
}
EAPI void