[vte/vte-0-62] app: Fix search next/prev button sensitivity
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-62] app: Fix search next/prev button sensitivity
- Date: Wed, 2 Dec 2020 15:37:35 +0000 (UTC)
commit 1619f8d20727026a482089ffd29c085bf6ed44f0
Author: Christian Persch <chpe src gnome org>
Date: Wed Dec 2 16:35:26 2020 +0100
app: Fix search next/prev button sensitivity
(cherry picked from commit 245eb0f38421137b8b8442dcd30a5d4730ec0816)
src/app/app.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/app/app.cc b/src/app/app.cc
index c813fd4b..6453ef85 100644
--- a/src/app/app.cc
+++ b/src/app/app.cc
@@ -823,12 +823,12 @@ vteapp_search_popover_update_regex(VteappSearchPopover* popover)
vte_regex_unref(regex);
if (error.error()) {
- popover->has_regex = true;
+ popover->has_regex = false;
popover->regex_pattern = pattern; /* adopt */
pattern = nullptr; /* adopted */
gtk_widget_set_tooltip_text(popover->search_entry, nullptr);
} else {
- popover->has_regex = false;
+ popover->has_regex = true;
gtk_widget_set_tooltip_text(popover->search_entry, error.message());
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]