diff options
author | portix <none@none> | 2012-12-06 12:19:18 +0100 |
---|---|---|
committer | portix <none@none> | 2012-12-06 12:19:18 +0100 |
commit | 7b0f52f71067a8c451a1c19c0437909b51d1cfff (patch) | |
tree | 514841405af57223af5d5d393226bd40cf76b1be /src/dwb.c | |
parent | cfe31126f94c76ee9c2f1d5c7bfb13f31b9efcc1 (diff) | |
download | dwb-7b0f52f71067a8c451a1c19c0437909b51d1cfff.zip |
Change to normal mode in view_navigation_policy_cb; use gtk_clipboard_get instead of gtk_widget_get_clipboard
Diffstat (limited to 'src/dwb.c')
-rw-r--r-- | src/dwb.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -943,7 +943,7 @@ dwb_paste_into_entry(GtkClipboard *clip, const char *text) void dwb_paste_primary() { - GtkClipboard *p_clip = gtk_widget_get_clipboard(CURRENT_WEBVIEW_WIDGET(), GDK_SELECTION_PRIMARY); + GtkClipboard *p_clip = gtk_clipboard_get(GDK_SELECTION_PRIMARY); if (p_clip == NULL) return; @@ -1772,9 +1772,6 @@ 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); }/*}}}*/ |