From 4b9d71b4088ed9009fdb1e08a6b9b6e301e3c849 Mon Sep 17 00:00:00 2001 From: woohyun Date: Sun, 18 Mar 2012 10:04:49 +0000 Subject: [PATCH] elementary/popup : Fixing a bug. Please refer following message from 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 git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69492 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elc_popup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index 899ca22..47379f8 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -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) -- 2.7.4