summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunghwan <junghwan.kang@samsung.com>2012-09-12 11:58:38 +0900
committerJunghwan <junghwan.kang@samsung.com>2012-09-12 12:04:58 +0900
commit54360a70f2aafefa7cf8dbd7e578185320521cf1 (patch)
treedb620f2d33b456daa6aa041da8d514a700beae51
parent58492c4e4c56e62bc2624d1aaeeb4dd91ae1b7bb (diff)
downloadbrowser-54360a70f2aafefa7cf8dbd7e578185320521cf1.tar.gz
browser-54360a70f2aafefa7cf8dbd7e578185320521cf1.tar.bz2
browser-54360a70f2aafefa7cf8dbd7e578185320521cf1.zip
Change default setting of "Default view level" from "Fit to width" to "Readable" in case of resetting to default
[Title] Change default setting of "Default view level" from "Fit to width" to "Readable" in case of resetting to default [Issue#] N_SE-9857 [Problem] Fit to width is set as default browser setting in "Reset to default setting" against "Readable" [Cause] It's assigned to set as Fit to width in step of browser resetting [Solution] Change default setting of "Default view level" from "Fit to width" to "Readable" in case of resetting to default [Team] Browser UI [Developer] junghwan kang (junghwan.kang) [Request] N/A Change-Id: Ib645a1dc55524e566e2953af9ba1f7b06fabfaf4
-rwxr-xr-xsrc/browser-main.cpp2
-rwxr-xr-xsrc/browser-settings/browser-settings-main-view.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/browser-main.cpp b/src/browser-main.cpp
index e4bc7e1f..e1f3e288 100755
--- a/src/browser-main.cpp
+++ b/src/browser-main.cpp
@@ -88,7 +88,7 @@ static bool __init_preference()
return false;
if (!br_preference_create_str(SEARCHURL_KEY, "http://search.yahoo.com/search?p="))
return false;
- if (!br_preference_create_str(DEFAULT_VIEW_LEVEL_KEY, "READABLE"))
+ if (!br_preference_create_str(DEFAULT_VIEW_LEVEL_KEY, READABLE))
return false;
if (!br_preference_create_bool(RUN_JAVASCRIPT_KEY, true))
return false;
diff --git a/src/browser-settings/browser-settings-main-view.cpp b/src/browser-settings/browser-settings-main-view.cpp
index a00b4991..d3481108 100755
--- a/src/browser-settings/browser-settings-main-view.cpp
+++ b/src/browser-settings/browser-settings-main-view.cpp
@@ -953,7 +953,7 @@ void Browser_Settings_Main_View::_reset_settings(void)
br_preference_set_str(HOMEPAGE_KEY, USER_HOMEPAGE);
#endif
br_preference_set_str(USER_HOMEPAGE_KEY, BROWSER_DEFAULT_USER_HOMEPAGE);
- br_preference_set_str(DEFAULT_VIEW_LEVEL_KEY, FIT_TO_WIDTH);
+ br_preference_set_str(DEFAULT_VIEW_LEVEL_KEY, READABLE);
br_preference_set_bool(RUN_JAVASCRIPT_KEY, true);
br_preference_set_bool(DISPLAY_IMAGES_KEY, true);
br_preference_set_bool(BLOCK_POPUP_KEY, true);