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:
1c857f7
)
elementary/button - prevent the clicked event, when button is disabled or freezed...
author
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 5 Dec 2011 04:03:12 +0000
(
04:03
+0000)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 5 Dec 2011 04:03:12 +0000
(
04:03
+0000)
SVN revision: 65883
src/lib/elm_button.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_button.c
b/src/lib/elm_button.c
index 81357f91ada514b65118ea0864b01d01ffc1839a..1b1750a8cbe7762fdc39354c59b0ed44502459fb 100644
(file)
--- a/
src/lib/elm_button.c
+++ b/
src/lib/elm_button.c
@@
-285,7
+285,9
@@
_activate(Evas_Object *obj)
{
if (_elm_config->access_mode != ELM_ACCESS_MODE_OFF)
_elm_access_say(E_("Clicked"));
- evas_object_smart_callback_call(obj, SIG_CLICKED, NULL);
+ if (!elm_widget_disabled_get(obj) &&
+ !evas_object_freeze_events_get(obj))
+ evas_object_smart_callback_call(obj, SIG_CLICKED, NULL);
}
}