viking

webkit based web browser for Enlightenment
Log | Files | Refs | LICENSE

commit f3bfe3df7f411b28d72797f322f1d1be09da9f14
parent 8cb1c77c6ac4b474c9a180f6c7137ac8084c33d9
Author: Kyle Milz <kmilz@ucalgary.ca>
Date:   Tue, 25 Sep 2012 16:55:54 -0600

restore state by default

Diffstat:
Msrc/main.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c @@ -731,6 +731,8 @@ setup_config(App_Data *ad, int argc, char **argv) if (args < 0) ERR("Could not parse command line options."); + user_agent_option = "chrome"; + if (!user_agent_option || (user_agent_option && (strcasecmp(user_agent_option, "eve") == 0))) user_agent_str = "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3 " PACKAGE_NAME "/" PACKAGE_VERSION; else @@ -816,7 +818,7 @@ setup_config(App_Data *ad, int argc, char **argv) enable_touch_interface, DEFAULT_URL /* home_page */, NULL /* proxy */, - EINA_FALSE /* restore_state */, + EINA_TRUE /* restore_state */, user_agent_str, EINA_FALSE /* frame_flattening */, EINA_FALSE /* text_only_zoom */,