[gnome-terminal] search: Fix "Match case" to always take effect immediately
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] search: Fix "Match case" to always take effect immediately
- Date: Sat, 16 Jun 2018 21:29:32 +0000 (UTC)
commit d7a5f53332fbba3bd2397589afc40e000aab3081
Author: Egmont Koblinger <egmont gmail com>
Date: Sat Jun 16 23:28:47 2018 +0200
search: Fix "Match case" to always take effect immediately
https://gitlab.gnome.org/GNOME/gnome-terminal/issues/4
src/terminal-search-popover.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/terminal-search-popover.c b/src/terminal-search-popover.c
index 81979b21..8d814cf4 100644
--- a/src/terminal-search-popover.c
+++ b/src/terminal-search-popover.c
@@ -310,6 +310,8 @@ update_regex (TerminalSearchPopover *popover)
priv->regex = NULL;
}
+ priv->regex_caseless = caseless;
+
update_sensitivity (popover);
g_object_notify_by_pspec (G_OBJECT (popover), pspecs[PROP_REGEX]);
@@ -350,7 +352,7 @@ terminal_search_popover_init (TerminalSearchPopover *popover)
GtkWidget *widget = GTK_WIDGET (popover);
priv->regex_pattern = 0;
- priv->regex_caseless = FALSE;
+ priv->regex_caseless = TRUE;
gtk_widget_init_template (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]