diff options
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r-- | src/gui_backend_local.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c index 41be3c33..6d4ac66c 100644 --- a/src/gui_backend_local.c +++ b/src/gui_backend_local.c @@ -295,6 +295,13 @@ static void n_processes_activate_sig(GtkEntry *entry, gpointer data) } +static void n_processes_focus_sig(GtkEntry *entry, GdkEvent *event, + gpointer data) +{ + n_processes_activate_sig(entry, data); +} + + static GtkWidget *make_indexing_parameters_widget(void *opts_priv) { struct local_indexing_opts *opts = opts_priv; @@ -322,6 +329,9 @@ static GtkWidget *make_indexing_parameters_widget(void *opts_priv) g_signal_connect(G_OBJECT(entry), "activate", G_CALLBACK(n_processes_activate_sig), opts); + g_signal_connect(G_OBJECT(entry), "focus-out-event", + G_CALLBACK(n_processes_focus_sig), + opts); return vbox; } |