diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-chrome.c | 1 | ||||
-rw-r--r-- | src/tab-chrome.h | 41 |
2 files changed, 22 insertions, 20 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index f09eb25..3133196 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -874,5 +874,6 @@ void mq_tab_chrome_set_web_view(MqTabChrome *chrome, WebKitWebView *web_view) { chrome->web_view = web_view; + chrome->find_controller = webkit_web_view_get_find_controller(web_view); connect_web_view(chrome); } diff --git a/src/tab-chrome.h b/src/tab-chrome.h index 658351b..257bd8b 100644 --- a/src/tab-chrome.h +++ b/src/tab-chrome.h @@ -30,26 +30,27 @@ typedef struct MqTabChrome MqTabChrome; #include "tab.h" struct MqTabChrome { - MqConfig *config; - MqTab *tab; - GtkWidget *container; - GtkWidget *back_forward_box; - GtkWidget *back_button; - GtkWidget *forward_button; - GtkWidget *stop_icon; - GtkWidget *reload_icon; - GtkToolItem *stop_reload_button; - GtkWidget *uri_entry; - PangoAttrList *hovered_link_style; - gchar *hovered_link_uri; - GtkWidget *find_revealer; - GtkWidget *find_search_entry; - WebKitWebView *web_view; - gboolean load_failed; - GtkWidget *back_forward_popover; - gint back_items; - GtkToolItem *menu_button; - GtkWidget *menu_popover; + MqConfig *config; + MqTab *tab; + GtkWidget *container; + GtkWidget *back_forward_box; + GtkWidget *back_button; + GtkWidget *forward_button; + GtkWidget *stop_icon; + GtkWidget *reload_icon; + GtkToolItem *stop_reload_button; + GtkWidget *uri_entry; + PangoAttrList *hovered_link_style; + gchar *hovered_link_uri; + GtkWidget *find_revealer; + GtkWidget *find_search_entry; + WebKitWebView *web_view; + WebKitFindController *find_controller; + gboolean load_failed; + GtkWidget *back_forward_popover; + gint back_items; + GtkToolItem *menu_button; + GtkWidget *menu_popover; }; MqTabChrome * |