Allow using styles for checkbutton widget.
authorDaniel Kolesa <quaker66@gmail.com>
Mon, 21 Sep 2009 15:50:52 +0000 (15:50 +0000)
committerDaniel Kolesa <quaker66@gmail.com>
Mon, 21 Sep 2009 15:50:52 +0000 (15:50 +0000)
SVN revision: 42597

src/lib/elm_check.c

index d6b6b63..52772d5 100644 (file)
@@ -52,7 +52,7 @@ static void
 _theme_hook(Evas_Object *obj)
 {
    Widget_Data *wd = elm_widget_data_get(obj);
-   _elm_theme_set(wd->chk, "check", "base", "default");
+   _elm_theme_set(wd->chk, "check", "base", elm_widget_style_get(obj));
    if (wd->icon)
      edje_object_signal_emit(wd->chk, "elm,state,icon,visible", "elm");
    else