Remove title from wearable UI 83/184883/6
authorYunjin Lee <yunjin-.lee@samsung.com>
Tue, 24 Jul 2018 05:51:58 +0000 (14:51 +0900)
committerTomasz Swierczek <t.swierczek@samsung.com>
Tue, 28 Aug 2018 04:55:11 +0000 (04:55 +0000)
- According to the platform UX changes, remove title from waearble UI.

Change-Id: I6b4e44d74072bdd2f796398e670251cb52ccff84
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
src/notification-daemon/ui/PopupCheckWearable.h

index 656fd828b0072aebd15ecb84f67496644e97a887..86f1252f2749ad2f8b3a5c9f1dcfed9c9e66e325 100644 (file)
@@ -61,8 +61,6 @@ public:
         PopupCheckWearable *popup = static_cast<PopupCheckWearable*>(data);
 
         Po::setLocale();
-        elm_object_part_text_set(popup->m_layout, "elm.text.title", Po::getPopupTitleMsg().c_str());
-        elm_atspi_accessible_name_set(popup->ao_title_text, Po::getPopupTitleMsg().c_str());
         elm_object_text_set(popup->m_content, Po::createPopupCheckMsg(popup->m_pkgId, popup->m_privacy).c_str());
         elm_object_text_set(popup->m_checkBox, Po::getCheckBoxMsg().c_str());
         elm_atspi_accessible_name_set(popup->m_allowButton, Po::getAllowButtonMsg().c_str());
@@ -86,16 +84,8 @@ public:
             throw Exception("Enlightenment failed");
         }
         elm_layout_theme_set(m_layout, "layout", "popup", "content/circle/buttons2");
-        elm_object_part_text_set(m_layout, "elm.text.title", Po::getPopupTitleMsg().c_str());
         elm_object_content_set(m_scroller, m_layout);
 
-        m_title = (Evas_Object *)edje_object_part_object_get((const Edje_Object *)elm_layout_edje_get(m_layout), "elm.text.title");
-        ao_title_text = elm_access_object_register(m_title, m_layout);
-        elm_atspi_accessible_reading_info_type_set(ao_title_text, ELM_ACCESSIBLE_READING_INFO_TYPE_NAME);
-        elm_atspi_accessible_name_set(ao_title_text, Po::getPopupTitleMsg().c_str());
-        elm_atspi_accessible_can_highlight_set(ao_title_text, EINA_TRUE);
-        elm_atspi_component_highlight_grab(ao_title_text);
-
         m_layoutInner = elm_layout_add(m_layout);
         if (m_layoutInner == nullptr) {
             ALOGE("EFL : Failed to add layout");
@@ -177,8 +167,6 @@ public:
         evas_object_show(m_popup);
     }
 private:
-    Evas_Object *ao_title_text = nullptr;
-    Evas_Object *m_title = nullptr;
     Evas_Object *m_content = nullptr;
     Evas_Object *m_layout = nullptr;
     Evas_Object *m_layoutInner = nullptr;