projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
647105c
)
Add elm quit policy to conformant_example_02.
author
Chris Michael
<cp.michael@samsung.com>
Tue, 23 Jul 2013 06:31:23 +0000
(07:31 +0100)
committer
Chris Michael
<cp.michael@samsung.com>
Tue, 23 Jul 2013 06:35:02 +0000
(07:35 +0100)
NB: In the future, can we please add this to any new examples also ?
so that we do not have to waste time chasing down stupid phab tickets
about apps not closing when the 'X' is pressed...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/examples/conformant_example_02.c
patch
|
blob
|
history
diff --git
a/src/examples/conformant_example_02.c
b/src/examples/conformant_example_02.c
index
e1208ee
..
e901ba6
100644
(file)
--- a/
src/examples/conformant_example_02.c
+++ b/
src/examples/conformant_example_02.c
@@
-16,6
+16,8
@@
elm_main(int argc, char **argv)
{
Evas_Object *win, *conform, *btn, *bx, *en;
+ elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
+
win = elm_win_util_standard_add("conformant", "Conformant Example");
elm_win_autodel_set(win, EINA_TRUE);