diff options
Diffstat (limited to 'src/gui/panels/regedit.c')
-rw-r--r-- | src/gui/panels/regedit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/panels/regedit.c b/src/gui/panels/regedit.c index bc19009..a0761aa 100644 --- a/src/gui/panels/regedit.c +++ b/src/gui/panels/regedit.c @@ -36,6 +36,7 @@ #include "panel-int.h" +#include "../agroup.h" #include "../../core/params.h" #include "../../common/cpp.h" #include "../../common/extstr.h" @@ -246,6 +247,8 @@ static void g_regedit_panel_init(GRegeditPanel *panel) search = gtk_search_entry_new(); g_signal_connect(search, "search-changed", G_CALLBACK(on_param_search_changed), panel); + g_signal_connect(search, "focus-in-event", G_CALLBACK(track_focus_change_in_text_area), NULL); + g_signal_connect(search, "focus-out-event", G_CALLBACK(track_focus_change_in_text_area), NULL); gtk_widget_show(search); gtk_widget_set_hexpand(search, TRUE); gtk_grid_attach_next_to(GTK_GRID(base->widget), search, label, GTK_POS_RIGHT, 1, 1); |