Issue fixed: when title object and title is set or unset with in a page it was not...
authorshilpa singh <shilpa.singh@samsung.com>
Fri, 10 Sep 2010 08:20:59 +0000 (17:20 +0900)
committershilpa singh <shilpa.singh@samsung.com>
Fri, 10 Sep 2010 08:20:59 +0000 (17:20 +0900)
src/lib/elm_navigationbar.c

index 37af6af..9dbd3cb 100644 (file)
@@ -768,8 +768,12 @@ elm_navigationbar_title_label_set(Evas_Object *obj,
        {
                if (it->content == content) 
                {
-                  eina_stringshare_replace(&it->title, title);
-                       edje_object_part_text_set(wd->base, "elm.text", title);
+                       if(!title)
+                               {
+                                       edje_object_signal_emit(wd->base, "elm,state,retract,title", "elm");
+                               }                       
+                       eina_stringshare_replace(&it->title, title);
+                       edje_object_part_text_set(wd->base, "elm.text", title);
                        _item_sizing_eval(it);
                        break;
                }
@@ -860,6 +864,7 @@ elm_navigationbar_title_object_add(Evas_Object *obj,
                        }
                }
        }
+       _item_sizing_eval(it);
 }
 
 /**