[src/lib/elm_button.c] Changing the default focus behavior to Set.
authorRajeev Ranjan <rajeev.r@samsung.com>
Tue, 12 Oct 2010 03:40:50 +0000 (12:40 +0900)
committerRajeev Ranjan <rajeev.r@samsung.com>
Tue, 12 Oct 2010 03:40:50 +0000 (12:40 +0900)
src/lib/elm_button.c

index c915b26..5da7bcd 100644 (file)
@@ -315,7 +315,7 @@ elm_button_add(Evas_Object *parent)
    obj = elm_widget_add(e);
    ELM_SET_WIDTYPE(widtype, "button");
    elm_widget_type_set(obj, "button");
-   elm_widget_can_focus_set(obj, EINA_FALSE);
+   elm_widget_can_focus_set(obj, EINA_TRUE);
    elm_widget_sub_object_add(parent, obj);
    elm_widget_on_focus_hook_set( obj, _on_focus_hook, NULL );
    elm_widget_data_set(obj, wd);