Win: Delete "focused" and "unfocused" signals emission because they duplicate Widgets signals

Summary:
"focused" and "unfocused" signals are emitted from Win and Widget. This causes
signals duplication when window is unfocused. To avoid this duplication, emission of these
signals is deleted from the Win.

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1183
This commit is contained in:
Kateryna Fesyna 2014-07-14 16:59:48 +09:00 committed by Daniel Juyung Seo
parent 12cf5047f1
commit 34e2c8ae8a
2 changed files with 0 additions and 8 deletions

View File

@ -232,8 +232,6 @@ static const char SIG_IOERR[] = "ioerr";
static const char SIG_INDICATOR_PROP_CHANGED[] = "indicator,prop,changed";
static const char SIG_ROTATION_CHANGED[] = "rotation,changed";
static const char SIG_PROFILE_CHANGED[] = "profile,changed";
static const char SIG_FOCUSED[] = "focused";
static const char SIG_UNFOCUSED[] = "unfocused";
static const char SIG_WM_ROTATION_CHANGED[] = "wm,rotation,changed";
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
@ -254,8 +252,6 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
{SIG_INDICATOR_PROP_CHANGED, ""},
{SIG_ROTATION_CHANGED, ""},
{SIG_PROFILE_CHANGED, ""},
{SIG_FOCUSED, ""},
{SIG_UNFOCUSED, ""},
{SIG_WM_ROTATION_CHANGED, ""},
{NULL, NULL}
};
@ -939,7 +935,6 @@ _elm_win_focus_in(Ecore_Evas *ee)
else
elm_widget_focus_restore(obj);
evas_object_smart_callback_call(obj, SIG_FOCUS_IN, NULL);
evas_object_smart_callback_call(obj, SIG_FOCUSED, NULL);
sd->focus_highlight.cur.visible = EINA_TRUE;
_elm_win_focus_highlight_reconfigure_job_start(sd);
if (sd->frame_obj)
@ -966,7 +961,6 @@ _elm_win_focus_out(Ecore_Evas *ee)
elm_object_focus_set(obj, EINA_FALSE);
_elm_widget_top_win_focused_set(obj, EINA_FALSE);
evas_object_smart_callback_call(obj, SIG_FOCUS_OUT, NULL);
evas_object_smart_callback_call(obj, SIG_UNFOCUSED, NULL);
sd->focus_highlight.cur.visible = EINA_FALSE;
_elm_win_focus_highlight_reconfigure_job_start(sd);
if (sd->frame_obj)

View File

@ -1335,8 +1335,6 @@ class Elm_Win (Elm_Widget, Elm_Interface_Atspi_Window)
indicator,prop,changed;
rotation,changed;
profile,changed;
focused;
unfocused;
wm,rotation,changed;
}