[Elc_Naviframe]:Bug Fix:wrong signals[show/hide] sent for text parts.
authorshilpa singh <shilpa.singh@samsung.com>
Tue, 24 Apr 2012 11:45:16 +0000 (17:15 +0530)
committershilpa singh <shilpa.singh@samsung.com>
Tue, 24 Apr 2012 11:46:24 +0000 (17:16 +0530)
Opensource patch will be sent once mysingle approval request is
approved.
Change-Id: I598b783aba553432634cc0e15013ab31f4cc9537

src/lib/elc_naviframe.c

index 49e838e..98b8d99 100644 (file)
@@ -265,12 +265,12 @@ _item_text_set_hook(Elm_Object_Item *it,
 
    if (label)
      {
-        snprintf(buf, sizeof(buf), "elm,state,%s,show", buf);
+        snprintf(buf, sizeof(buf), "elm,state,%s,show", part);
         elm_object_signal_emit(VIEW(navi_it), buf, "elm");
      }
    else
      {
-        snprintf(buf, sizeof(buf), "elm,state,%s,hide", buf);
+        snprintf(buf, sizeof(buf), "elm,state,%s,hide", part);
         elm_object_signal_emit(VIEW(navi_it), buf, "elm");
      }