[devhelp] Window: when switching tab, launch search if needed in new active tab
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Window: when switching tab, launch search if needed in new active tab
- Date: Fri, 2 Feb 2018 21:52:41 +0000 (UTC)
commit cab367303cbc7d59cc365b68e536f96c3a49ca6e
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Feb 2 22:48:56 2018 +0100
Window: when switching tab, launch search if needed in new active tab
src/dh-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 0064617..89c1f56 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -745,6 +745,9 @@ notebook_switch_page_after_cb (GtkNotebook *notebook,
if (uri != NULL)
dh_sidebar_select_uri (priv->sidebar, uri);
}
+
+ if (gtk_search_bar_get_search_mode (priv->search_bar))
+ launch_search_in_active_web_view (window);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]