elementary/popup : Fixing a bug. Please refer following message from
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 18 Mar 2012 10:04:49 +0000 (10:04 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 18 Mar 2012 10:04:49 +0000 (10:04 +0000)
Rajeev. Thanks Rajeev.
Existing Issue before this change:
   The popup width gets scaled twice when theme_hook gets invoked
because of some reason such as style change, change in elementary
scale factor, change in widget scaling etc.

Change Description:
  Removed setting scaling of internal object wd->base from theme_hook
as it is set to the widget scaling automatically.
Signed-Off-By: RAJEEV RANJAN<rajeev.r@samsumg.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69492 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elc_popup.c

index 899ca22..47379f8 100644 (file)
@@ -173,8 +173,6 @@ _theme_hook(Evas_Object *obj)
 
    if (!wd) return;
    elm_layout_theme_set(wd->base, "popup", "base", elm_widget_style_get(obj));
-   elm_widget_scale_set(wd->base, elm_widget_scale_get(obj) *
-                        _elm_config->scale);
    _elm_widget_mirrored_reload(obj);
    _mirrored_set(obj, elm_widget_mirrored_get(obj));
    if (wd->button_count)