From f3ba6f6fc53fcc93d7ad0b8dc2da3bf1688e2e23 Mon Sep 17 00:00:00 2001 From: hermet Date: Wed, 14 Sep 2011 02:09:05 +0000 Subject: [PATCH] elementary/win - added signal callback call for theme chanaged. application developers may need to know when theme is changed. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63368 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_win.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 21d7081..9b3f0ca 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -78,6 +78,7 @@ static const char SIG_DELETE_REQUEST[] = "delete,request"; static const char SIG_FOCUS_OUT[] = "focus,out"; static const char SIG_FOCUS_IN[] = "focus,in"; static const char SIG_MOVED[] = "moved"; +static const char SIG_THEME_CHANGED[] = "theme,changed"; static const Evas_Smart_Cb_Description _signals[] = { {SIG_DELETE_REQUEST, ""}, @@ -2423,6 +2424,8 @@ _theme_hook(Evas_Object *obj) if (wd->content) edje_object_part_swallow(wd->frm, "elm.swallow.content", wd->content); _sizing_eval(obj); + + evas_object_smart_callback_call(obj, SIG_THEME_CHANGED, NULL); } static Eina_Bool -- 2.7.4