summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyoungyong Lee <bluevox@naver.com>2016-07-07 14:48:33 +0900
committerKyoungyong Lee <bluevox@naver.com>2016-07-07 14:48:38 +0900
commit7260e8f1cc6c9eefa8c988e55962faeae21f4628 (patch)
tree4a1a0e098df055d08e64bcb659b504f4e6934acf
parentb3d5867e7bc38691b12221b08c774e07043f5ad8 (diff)
downloadprivacy-setting-7260e8f1cc6c9eefa8c988e55962faeae21f4628.tar.gz
privacy-setting-7260e8f1cc6c9eefa8c988e55962faeae21f4628.tar.bz2
privacy-setting-7260e8f1cc6c9eefa8c988e55962faeae21f4628.zip
Change-Id: I11ce9586815b8413ab6f2907bcaaf5cb7cb9b739
-rwxr-xr-xui/include/privacy_setting.h2
-rwxr-xr-xui/src/privacy_guard_list_view.c2
-rwxr-xr-xui/src/privacy_guard_package_list_view.c2
-rwxr-xr-xui/src/privacy_menu_view.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/ui/include/privacy_setting.h b/ui/include/privacy_setting.h
index 2bc91b8..3aaabf4 100755
--- a/ui/include/privacy_setting.h
+++ b/ui/include/privacy_setting.h
@@ -30,7 +30,7 @@
#include <app.h>
#define PRIVACY_MENU_SETTING "Privacy Setting"
-#define PRIVACY_MENU_GUARD_SETTING "Privacy Usage"
+#define PRIVACY_MENU_ACCESS "Privacy Access"
struct app_data_s {
Evas_Object *parent_layout;
diff --git a/ui/src/privacy_guard_list_view.c b/ui/src/privacy_guard_list_view.c
index 1aa17f9..50e335e 100755
--- a/ui/src/privacy_guard_list_view.c
+++ b/ui/src/privacy_guard_list_view.c
@@ -88,7 +88,7 @@ void create_privacy_guard_list_view(struct app_data_s *ad)
evas_object_show(genlist);
/* Change "Privacy Setting" to proper DID : use dgettext() */
- Elm_Object_Item *nf_it = elm_naviframe_item_push(ad->nf, PRIVACY_MENU_GUARD_SETTING, common_back_btn_add(ad), NULL, genlist, NULL);
+ Elm_Object_Item *nf_it = elm_naviframe_item_push(ad->nf, PRIVACY_MENU_ACCESS, common_back_btn_add(ad), NULL, genlist, NULL);
elm_object_item_domain_text_translatable_set(nf_it, PACKAGE, EINA_TRUE);
}
diff --git a/ui/src/privacy_guard_package_list_view.c b/ui/src/privacy_guard_package_list_view.c
index 9bffe03..399e928 100755
--- a/ui/src/privacy_guard_package_list_view.c
+++ b/ui/src/privacy_guard_package_list_view.c
@@ -174,7 +174,7 @@ void create_privacy_guard_package_list_view(struct app_data_s* ad)
pg_item_data_s *description_item = calloc(sizeof(pg_item_data_s), 1);
description_item->index = 0;
char tmp[256] = {'\0',};
- snprintf(tmp, sizeof(tmp), "<wrap=word><ellipsis=-1.0><font_size=30><color=#A9A9A9FF>The apps checked below record the number of privacy usages.</color></font_size></ellipsis></wrap>");
+ snprintf(tmp, sizeof(tmp), "<wrap=word><ellipsis=-1.0><font_size=30><color=#A9A9A9FF>The recording of privacy access will be enabled for the selected apps.</color></font_size></ellipsis></wrap>");
description_item->label = strdup(tmp);
it = elm_genlist_item_append(genlist, itc, description_item, NULL, ELM_GENLIST_ITEM_NONE, _privacy_package_selected_cb, description_item);
diff --git a/ui/src/privacy_menu_view.c b/ui/src/privacy_menu_view.c
index 9dc6cd1..b550369 100755
--- a/ui/src/privacy_menu_view.c
+++ b/ui/src/privacy_menu_view.c
@@ -72,7 +72,7 @@ static void menu_selected_cb(void *data, Evas_Object *obj, void *event_info)
if (strstr(selected_id->title, PRIVACY_MENU_SETTING) != NULL) {
create_privacy_list_view(ad);
- } else if (strstr(selected_id->title, PRIVACY_MENU_GUARD_SETTING) != NULL) {/* privacy guard */
+ } else if (strstr(selected_id->title, PRIVACY_MENU_ACCESS) != NULL) {/* privacy guard */
create_privacy_guard_list_view(ad);
} else {
LOGE("selected_id->title = %s, no matching menu", selected_id->title);
@@ -90,7 +90,7 @@ void create_privacy_menu_view(struct app_data_s *ad)
/* Set privacy menu list */
privacy_menu_list = NULL;
privacy_menu_list = g_list_append(privacy_menu_list, PRIVACY_MENU_SETTING);
- privacy_menu_list = g_list_append(privacy_menu_list, PRIVACY_MENU_GUARD_SETTING);
+ privacy_menu_list = g_list_append(privacy_menu_list, PRIVACY_MENU_ACCESS);
Elm_Genlist_Item_Class *itc = elm_genlist_item_class_new();
itc->item_style = "default";