tell the radio theme to turn on when its activated
authorrephorm <rephorm>
Sun, 20 Nov 2005 21:28:59 +0000 (21:28 +0000)
committerrephorm <rephorm@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 Nov 2005 21:28:59 +0000 (21:28 +0000)
SVN revision: 18559

src/bin/e_widget_radio.c

index a177556..efaa7e0 100644 (file)
@@ -140,6 +140,7 @@ _e_wid_do(Evas_Object *obj)
        if (!toggled) return;
        wd = e_widget_data_get(obj);
        *(wd->group->valptr) = wd->valnum;
+       edje_object_signal_emit(wd->o_radio, "toggle_on", "");
      }
 }
 
@@ -150,7 +151,6 @@ _e_wid_activate_hook(Evas_Object *obj)
    
    wd = e_widget_data_get(obj);
    _e_wid_do(obj);
-   edje_object_signal_emit(wd->o_radio, "toggle_on", "");
 }
 
 static void