Change vconfkey : INDICATOR_SHOW_MORE_NOTI_PORT -> VCONFKEY_INDICATOR_SHOW_MORE_NOTI 79/50479/1 accepted/tizen/mobile/20151029.231320 accepted/tizen/tv/20151029.231329 accepted/tizen/wearable/20151029.231335 submit/tizen/20151029.084718
authorEunyoung Lee <ey928.lee@samsung.com>
Thu, 29 Oct 2015 06:38:52 +0000 (15:38 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Thu, 29 Oct 2015 06:38:52 +0000 (15:38 +0900)
Change-Id: Ie6855848483990f8c21a247c0d71447c22296283

daemon/icon.c
daemon/indicator.h
modules/information/more_notify.c
packaging/org.tizen.indicator.spec

index 4e2f625..3f4cc11 100644 (file)
@@ -766,9 +766,9 @@ static void _show_hide_more_noti(win_info* win,int val)
        bShow = val;
 
        if (val == 1) {
-               preference_set_int(INDICATOR_SHOW_MORE_NOTI_PORT, 1);
+               preference_set_int(VCONFKEY_INDICATOR_SHOW_MORE_NOTI, 1);
        } else {
-               preference_set_int(INDICATOR_SHOW_MORE_NOTI_PORT, 0);
+               preference_set_int(VCONFKEY_INDICATOR_SHOW_MORE_NOTI, 0);
        }
 }
 
index a78fe5b..c8822bd 100644 (file)
@@ -27,7 +27,6 @@
 #include <Eina.h>
 #include <glib-object.h>
 
-#define INDICATOR_SHOW_MORE_NOTI_PORT "memory/private/"PACKAGE_NAME"/show_more_noti_port"
 #define VCONFKEY_APPTRAY_STATE "file/private/org.tizen.app-tray/is_top"
 
 #define FIXED_COUNT    11
index b1755c6..cea979e 100644 (file)
@@ -128,7 +128,7 @@ static void indicator_more_notify_change_cb(const char *key, void *data)
 
        preference_get_int(key, &val);
 
-       if (strcmp(key, INDICATOR_SHOW_MORE_NOTI_PORT) == 0) {
+       if (strcmp(key, VCONFKEY_INDICATOR_SHOW_MORE_NOTI) == 0) {
                win = &(ad->win);
        } else {
                SECURE_ERR("invalid val %s",key);
@@ -162,7 +162,7 @@ static int register_more_notify_module(void *data)
 
        set_app_state(data);
 
-       preference_set_changed_cb(INDICATOR_SHOW_MORE_NOTI_PORT, indicator_more_notify_change_cb, data);
+       preference_set_changed_cb(VCONFKEY_INDICATOR_SHOW_MORE_NOTI, indicator_more_notify_change_cb, data);
 
        return OK;
 }
@@ -171,7 +171,7 @@ static int register_more_notify_module(void *data)
 
 static int unregister_more_notify_module(void)
 {
-       preference_unset_changed_cb(INDICATOR_SHOW_MORE_NOTI_PORT);
+       preference_unset_changed_cb(VCONFKEY_INDICATOR_SHOW_MORE_NOTI);
 
        return OK;
 }
index 08495aa..f061432 100644 (file)
@@ -109,7 +109,6 @@ ln -s ../indicator.path %{buildroot}/usr/lib/systemd/user/default.target.wants/
 rm -rf %{buildroot}
 
 %post
-vconftool set -t int memory/private/%{PKGNAME}/show_more_noti_port 0 -i -g 6518 -f -s %{PKGNAME}
 
 %postun -p /sbin/ldconfig