summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/edje_externals/elm_radio.c
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2010-06-16 20:58:01 +0000
committerIván Briano <sachieru@gmail.com>2010-06-16 20:58:01 +0000
commita03476375e79efc621d834791b4d65464fd50583 (patch)
tree19aaef13ca620f073d3d7c0f76dfb7a17edffaec /legacy/elementary/src/edje_externals/elm_radio.c
parentdea0075e7edb2ae5a77ec7a2a09383fa7145058f (diff)
Allowing that icon/content can be set as NULL
Now, we can "remove" the icon used for the widget, in editje. By: Fabiano Fidencio <fidencio@profusion.mobi> SVN revision: 49705
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/edje_externals/elm_radio.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/legacy/elementary/src/edje_externals/elm_radio.c b/legacy/elementary/src/edje_externals/elm_radio.c
index 9b6bed7..bb1298a 100644
--- a/legacy/elementary/src/edje_externals/elm_radio.c
+++ b/legacy/elementary/src/edje_externals/elm_radio.c
@@ -48,11 +48,9 @@ external_radio_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Ext
48 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 48 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
49 { 49 {
50 Evas_Object *icon = external_common_param_icon_get(obj, param); 50 Evas_Object *icon = external_common_param_icon_get(obj, param);
51 if (icon) 51 if ((strcmp(param->s, "")) && (!icon)) return EINA_FALSE;
52 { 52 elm_radio_icon_set(obj, icon);
53 elm_radio_icon_set(obj, icon); 53 return EINA_TRUE;
54 return EINA_TRUE;
55 }
56 } 54 }
57 } 55 }
58 else if (!strcmp(param->name, "value")) 56 else if (!strcmp(param->name, "value"))