[Release] wrt-setting_0.0.36
authorJihoon Chung <jihoon.chung@samsung.com>
Fri, 19 Apr 2013 11:54:18 +0000 (20:54 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Fri, 19 Apr 2013 11:54:18 +0000 (20:54 +0900)
packaging/wrt-setting.spec
webapp-detail/advancedview.cpp
webapp-detail/detailview.cpp

index 79843f5..b2e455b 100644 (file)
@@ -1,5 +1,5 @@
 Name: wrt-setting
-Version: 0.0.35
+Version: 0.0.36
 Release: 1
 Summary: WRT Setting UI Gadgets
 Group:   Development/Libraries
index c4a965a..69caba7 100644 (file)
@@ -283,14 +283,14 @@ bool SettingData::isEnabled()
     using namespace WrtDB;
     std::string key;
     if (m_index == SECURITY_SETTINGS_IDX_SECURITY_POPUP_USAGE) {
-        key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getPkgName());
+        key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getTzAppId());
     } else if (m_index == SECURITY_SETTINGS_IDX_GEOLOCATION_USAGE) {
-        key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getPkgName());
+        key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getTzAppId());
     } else if (m_index == SECURITY_SETTINGS_IDX_WEB_NOTIFICATION_USAGE) {
         key = VconfConfig::GetVconfKeyWebNotificationUsage(
-            m_dao->getPkgName());
+            m_dao->getTzAppId());
     } else if (m_index == DEVELOPER_OPTIONS_IDX_MEMORY_SAVING_MODE) {
-        key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getPkgName());
+        key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getTzAppId());
     } else {
         Assert("Wrong menu index");
     }
@@ -315,14 +315,14 @@ void SettingData::saveChange(bool state)
 
     std::string key;
     if (m_index == SECURITY_SETTINGS_IDX_SECURITY_POPUP_USAGE) {
-        key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getPkgName());
+        key = VconfConfig::GetVconfKeyPopupUsage(m_dao->getTzAppId());
     } else if (m_index == SECURITY_SETTINGS_IDX_GEOLOCATION_USAGE) {
-        key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getPkgName());
+        key = VconfConfig::GetVconfKeyGeolocationUsage(m_dao->getTzAppId());
     } else if (m_index == SECURITY_SETTINGS_IDX_WEB_NOTIFICATION_USAGE) {
         key = VconfConfig::GetVconfKeyWebNotificationUsage(
-            m_dao->getPkgName());
+            m_dao->getTzAppId());
     } else if (m_index == DEVELOPER_OPTIONS_IDX_MEMORY_SAVING_MODE) {
-        key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getPkgName());
+        key = VconfConfig::GetVconfKeyMemorySavingMode(m_dao->getTzAppId());
     } else {
         Assert("Wrong menu index");
     }
index 69f0dd7..6d7e1bf 100644 (file)
@@ -61,7 +61,6 @@ Evas_Object *DetailView::loadView(void)
             evas_object_del(m_naviframe);
             return NULL;
         }
-
         bindtextdomain("ug-webapp-common-efl", "/usr/ug/res/locale");
 
         m_advancedView.Reset(