diff options
author | Soo-Hyun Choi <sh9.choi@samsung.com> | 2013-09-16 08:54:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.vlan144.tizendev.org> | 2013-09-16 08:54:02 +0000 |
commit | 397c2b84dfec6343438b59df339a02cd1795f2ac (patch) | |
tree | e7104cc23ebe5696c8728eb93516dc598c55c88f | |
parent | c181f60718455eb553ecbcaa25591601687e8c61 (diff) | |
download | web-provider-397c2b84dfec6343438b59df339a02cd1795f2ac.tar.gz web-provider-397c2b84dfec6343438b59df339a02cd1795f2ac.tar.bz2 web-provider-397c2b84dfec6343438b59df339a02cd1795f2ac.zip |
Revert "Reload DBox when time is changed in setting menu"
This reverts commit c181f60718455eb553ecbcaa25591601687e8c61.
Change-Id: Id1f0c487029af4900edfe72d7b0550322cb4d922
-rwxr-xr-x | src/Daemon/BoxDaemonImpl.cpp | 18 | ||||
-rw-r--r-- | src/Daemon/BoxDaemonImpl.h | 1 |
2 files changed, 1 insertions, 18 deletions
diff --git a/src/Daemon/BoxDaemonImpl.cpp b/src/Daemon/BoxDaemonImpl.cpp index 1751293..e1300b9 100755 --- a/src/Daemon/BoxDaemonImpl.cpp +++ b/src/Daemon/BoxDaemonImpl.cpp @@ -51,9 +51,7 @@ BoxDaemonImpl::BoxDaemonImpl() if (vconf_notify_key_changed("db/setting/accessibility/font_name", requestChangeFontCallback, this) != true) { LogD("vconf_notify_key_changed returned FALSE!"); } - if ( vconf_notify_key_changed(VCONFKEY_SYSTEM_TIME_CHANGED, requestChangeTimeCallback, this) != true) { - LogD("vconf_notify_key_changed returned FALSE!"); - } + } BoxDaemonImpl::~BoxDaemonImpl() @@ -709,17 +707,3 @@ void BoxDaemonImpl::requestChangeFontCallback(keynode_t* key, void* data) free(fontstr); Ecore_Job* ret = ecore_job_add(requestBoxJobCallback, jobInfo); } - -void BoxDaemonImpl::requestChangeTimeCallback(keynode_t* key, void* data) -{ - LogD("enter"); - - char* strTime = vconf_get_str(VCONFKEY_SYSTEM_TIME_CHANGED); - - BoxDaemonImpl* This = static_cast<BoxDaemonImpl*>(data); - BoxInfoPtr info = BoxInfoPtr(new BoxInfo()); - JobInfo* jobInfo = new JobInfo(REQUEST_CMD_CHANGE_LANGUAGE, info, This); - - free(strTime); - Ecore_Job* ret = ecore_job_add(requestBoxJobCallback, jobInfo); -} diff --git a/src/Daemon/BoxDaemonImpl.h b/src/Daemon/BoxDaemonImpl.h index 1c29138..a8db76b 100644 --- a/src/Daemon/BoxDaemonImpl.h +++ b/src/Daemon/BoxDaemonImpl.h @@ -73,7 +73,6 @@ class BoxDaemonImpl { // callback for app-core event static int requestChangeLanguageCallback(void* data); static void requestChangeFontCallback(keynode_t* key, void* data); - static void requestChangeTimeCallback(keynode_t* key, void* data); // common private functions void setProviderCallbacks(ProviderCallbacks& callbacks); std::string getBoxType(const char* boxId); |