From: cnook <kimcinoo@gmail.com>

Subject: [E-devel] [Patch] elm_diskselector

I have attached elm_diskselector patch for resolving dynamic theme
change issue.
Previously, the item label did not display when them theme had changed
while elm_diskselector displayed.

also with fixes from me to not do silly things with parent geometry.



SVN revision: 61883
This commit is contained in:
cnook 2011-07-29 06:47:45 +00:00 committed by Carsten Haitzler
parent 5eeb449427
commit 22188b780d
1 changed files with 1 additions and 7 deletions

View File

@ -153,7 +153,6 @@ static void
_theme_data_get(Widget_Data *wd)
{
const char* str;
Evas_Object *parent;
str = edje_object_data_get(wd->right_blank, "len_threshold");
if (str) wd->len_threshold = MAX(0, atoi(str));
else wd->len_threshold = 0;
@ -167,12 +166,7 @@ _theme_data_get(Widget_Data *wd)
str = edje_object_data_get(wd->right_blank, "min_width");
if (str) wd->minw = MAX(-1, atoi(str));
else
{
parent = elm_widget_parent_widget_get(wd->self);
if (!parent) wd->minw = -1;
else evas_object_geometry_get(parent, NULL, NULL, &wd->minw, NULL);
}
else wd->minw = -1;
str = edje_object_data_get(wd->right_blank, "min_height");
if (str) wd->minh = MAX(-1, atoi(str));