[gnome-builder] ide-editor-search-bar: emit notify when replace mode is changed



commit acc69c30ea174d2cb46d2a809ac0a0b56d258bea
Author: Scott Johnson <scojo202 gmail com>
Date:   Tue Jan 29 19:25:52 2019 -0500

    ide-editor-search-bar: emit notify when replace mode is changed

 src/libide/editor/ide-editor-search-bar.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/editor/ide-editor-search-bar.c b/src/libide/editor/ide-editor-search-bar.c
index dbabceba3..aab076aa7 100644
--- a/src/libide/editor/ide-editor-search-bar.c
+++ b/src/libide/editor/ide-editor-search-bar.c
@@ -94,6 +94,7 @@ ide_editor_search_bar_set_replace_mode (IdeEditorSearchBar *self,
       gtk_widget_set_visible (GTK_WIDGET (self->replace_entry), replace_mode);
       gtk_widget_set_visible (GTK_WIDGET (self->replace_button), replace_mode);
       gtk_widget_set_visible (GTK_WIDGET (self->replace_all_button), replace_mode);
+      g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_REPLACE_MODE]);
     }
 }
 


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