diff options
author | Kamil Nowac <k.nowac@samsung.com> | 2016-03-08 12:08:12 +0100 |
---|---|---|
committer | Kamil Nowac <k.nowac@samsung.com> | 2016-03-08 12:08:12 +0100 |
commit | 1c3062c773ec090747e0dd05ff594eda173be695 (patch) | |
tree | fedda33542dccd0847fc66cef8d7f1508cd85997 /services/SettingsUI | |
parent | a1c3c7413b5d0bb48d04edff49770964712cf28e (diff) | |
download | browser-1c3062c773ec090747e0dd05ff594eda173be695.tar.gz browser-1c3062c773ec090747e0dd05ff594eda173be695.tar.bz2 browser-1c3062c773ec090747e0dd05ff594eda173be695.zip |
Fix back icons in Settings
[Issue] http://10.113.136.204/jira/browse/TWF-468
[Problem] Close icon istead of back icon
[Solution] Emited signal
[Verify] Open settings -> open subsettings views
Icon should be changed
Change-Id: Ic31ba174b26fbcd98c5409d7b737a26ec01cfae9
Diffstat (limited to 'services/SettingsUI')
-rwxr-xr-x | services/SettingsUI/SettingsUI_mob.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/services/SettingsUI/SettingsUI_mob.cpp b/services/SettingsUI/SettingsUI_mob.cpp index 40b3f48e..8d27c21a 100755 --- a/services/SettingsUI/SettingsUI_mob.cpp +++ b/services/SettingsUI/SettingsUI_mob.cpp @@ -293,6 +293,7 @@ Evas_Object* SettingsUI::createDelDataMobilePage(Evas_Object* settings_layout) auto main = createMainView(settings_layout); + elm_object_signal_emit(m_actionBar,"back,icon,change", "del_but"); elm_object_translatable_part_text_set(m_actionBar, "settings_title", "Delete Web Browsing Data"); createInfoField("info_field", "You can delete Web Browsing Data optionally.", main); @@ -372,6 +373,7 @@ Evas_Object* SettingsUI::createRemoveMostVisitedMobilePage(Evas_Object* settings evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL); + elm_object_signal_emit(m_actionBar,"back,icon,change", "del_but"); elm_object_translatable_part_text_set(m_actionBar, "settings_title", "Delete Web Browsing Data"); elm_object_focus_set(elm_object_part_content_get(m_actionBar, "close_click"), EINA_TRUE); @@ -395,7 +397,7 @@ Evas_Object* SettingsUI::createRemoveBrowserDataMobilePage(Evas_Object* settings evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL); - elm_object_signal_emit(m_actionBar,"switch,reset,browser", "del_but"); + elm_object_signal_emit(m_actionBar,"back,icon,change", "del_but"); elm_object_translatable_part_text_set(m_actionBar, "settings_title", "Reset browser"); elm_object_focus_set(elm_object_part_content_get(m_actionBar, "close_click"), EINA_TRUE); @@ -419,6 +421,7 @@ Evas_Object* SettingsUI::createDeveloperOptionsMobilePage(Evas_Object* settings_ evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL); + elm_object_signal_emit(m_actionBar,"back,icon,change", "del_but"); elm_object_translatable_part_text_set(m_actionBar, "settings_title", "Developer Options"); elm_object_focus_set(elm_object_part_content_get(m_actionBar, "close_click"), EINA_TRUE); @@ -481,6 +484,7 @@ Evas_Object* SettingsUI::createContentSettingsPage(Evas_Object* settings_layout) auto main = createMainView(settings_layout); + elm_object_signal_emit(m_actionBar,"back,icon,change", "del_but"); elm_object_translatable_part_text_set(m_actionBar, "settings_title", "Content Settings"); createInfoField("info_field", "Choose web page content", main); @@ -537,6 +541,7 @@ Evas_Object* SettingsUI::createPrivacyPage(Evas_Object* settings_layout) auto main = createMainView(settings_layout); + elm_object_signal_emit(m_actionBar,"back,icon,change", "del_but"); elm_object_translatable_part_text_set(m_actionBar, "settings_title", "Privacy"); createInfoField("info_field", "Choose privacy settings", main); |