elm,action,collapse -> elm,action,toggle
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 14 Jan 2012 02:49:00 +0000 (02:49 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 14 Jan 2012 02:49:00 +0000 (02:49 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67199 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

data/themes/widgets/frame.edc
src/lib/elm_frame.c

index f02efe7..a3bf544 100644 (file)
@@ -133,7 +133,7 @@ group { name: "elm/frame/base/default";
          action:  SIGNAL_EMIT "elm,action,click" "elm";
       }
       program { name: "toggle";
-         signal:  "elm,action,collapse";
+         signal:  "elm,action,toggle";
          source: "elm";
          script {
             new st[31];
index ae99aa9..b2eda9e 100644 (file)
@@ -221,7 +221,7 @@ _signal_click(void *data, Evas_Object *obj __UNUSED__, const char *sig __UNUSED_
    if (!wd->collapsible) return;
 //   printf("recalc begin %3.3f\n", ecore_loop_time_get());
    evas_object_smart_callback_add(wd->frm, "recalc", _recalc, data);
-   edje_object_signal_emit(wd->frm, "elm,action,collapse", "elm");
+   edje_object_signal_emit(wd->frm, "elm,action,toggle", "elm");
    wd->collapsed++;
    wd->anim = EINA_TRUE;
 }
@@ -294,7 +294,7 @@ elm_frame_collapse_set(Evas_Object *obj, Eina_Bool enable)
    if (!wd) return;
    enable = !!enable;
    if (wd->collapsed == enable) return;
-   edje_object_signal_emit(wd->frm, "elm,action,collapse", "elm");
+   edje_object_signal_emit(wd->frm, "elm,action,toggle", "elm");
    evas_object_smart_callback_add(wd->frm, "recalc", (Evas_Smart_Cb)_recalc, obj);
    wd->collapsed = enable;
    wd->anim = EINA_TRUE;