[gnome-builder] grep: Make replace button and entry insensitive during search



commit a2738e6aa9f560f0f1f3f779b185941307b68713
Author: vanadiae <vanadiae35 gmail com>
Date:   Fri Aug 6 19:35:09 2021 +0200

    grep: Make replace button and entry insensitive during search

 src/plugins/grep/gbp-grep-panel.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/grep/gbp-grep-panel.c b/src/plugins/grep/gbp-grep-panel.c
index e2839f0a8..16b781f60 100644
--- a/src/plugins/grep/gbp-grep-panel.c
+++ b/src/plugins/grep/gbp-grep-panel.c
@@ -482,6 +482,8 @@ gbp_grep_panel_launch_search (GbpGrepPanel *self)
   gtk_stack_set_visible_child (self->stack, GTK_WIDGET (self->spinner));
   gtk_spinner_start (self->spinner);
   gtk_widget_set_sensitive (GTK_WIDGET (self->find_button), FALSE);
+  gtk_widget_set_sensitive (GTK_WIDGET (self->replace_button), FALSE);
+  gtk_widget_set_sensitive (GTK_WIDGET (self->replace_entry), FALSE);
 
   ide_widget_reveal_and_grab (GTK_WIDGET (self));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]