From 18e13169297f21644a055ad69d7992264cf5fd2d Mon Sep 17 00:00:00 2001 From: Jaime Thomas Date: Sat, 21 Feb 2009 03:19:29 +0000 Subject: [PATCH] Not sure why this didn't get committed as well. --- experimental/ecdb/trunk/src/ecdb_about.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/experimental/ecdb/trunk/src/ecdb_about.c b/experimental/ecdb/trunk/src/ecdb_about.c index 35b48d23..7f14f720 100644 --- a/experimental/ecdb/trunk/src/ecdb_about.c +++ b/experimental/ecdb/trunk/src/ecdb_about.c @@ -55,8 +55,11 @@ ecdb_about_show(void) edje_object_size_min_get(gui, &mw, &mh); if (mw <= 0) mw = 350; if (mh <= 0) mh = 350; - mw = (int)((float)mw * em->scalef); - mh = (int)((float)mh * em->scalef); + if (ecore_config_boolean_get("use_scale")) + { + mw = (int)((float)mw * em->scalef); + mh = (int)((float)mh * em->scalef); + } ecore_evas_resize(win, mw, mh); ecore_evas_size_min_set(win, mw, mh); edje_object_size_max_get(gui, &mw, &mh);