diff options
author | portix <none@none> | 2012-12-11 11:07:38 +0100 |
---|---|---|
committer | portix <none@none> | 2012-12-11 11:07:38 +0100 |
commit | d701849f7925ab0950f632129e23bce1b7d889af (patch) | |
tree | b9e9b1d70e3a2a672d47ce9ea0ac81f688fa09e6 /src/dwb.c | |
parent | 21336c9980b9ef298c2c249200b333069c8ceaa3 (diff) | |
download | dwb-d701849f7925ab0950f632129e23bce1b7d889af.zip |
Remove most exceptions in scripts.c; Regression: don't change to normal_mode in view_navigation_policy_cb, it can break some sites like google translator
Diffstat (limited to 'src/dwb.c')
-rw-r--r-- | src/dwb.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1772,6 +1772,9 @@ dwb_clean_load_begin(GList *gl) v->status->ssl = SSL_NONE; v->plugins->status &= ~PLUGIN_STATUS_HAS_PLUGIN; + if (gl == dwb.state.fview && (dwb.state.mode == INSERT_MODE || dwb.state.mode == FIND_MODE)) + dwb_change_mode(NORMAL_MODE, true); + view_set_favicon(gl, false); }/*}}}*/ |