elm naviframe: Bug Fix: Wrong signal sent when title/subtitle is set
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Thu, 3 May 2012 05:51:23 +0000 (05:51 +0000)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Thu, 3 May 2012 05:51:23 +0000 (05:51 +0000)
in naviframe. Patch by Shilpa Onkar Singh <shilpa.singh@samsung.com>

On Thu, May 3, 2012 at 2:30 PM, SHILPA ONKAR SINGH
<shilpa.singh@samsung.com> wrote:
> Hi All,
>
> Please find attached, patch for elc_naviframe bug fix: "wrong signal
sent when subtitle,title is set".
>
> Change Description:
> Bug Fix: Wrong signal sent when title/subtitle is set in naviframe.
>
> Thanks & Regards
> Shilpa Singh

SVN revision: 70685

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");
      }