Commit 07c8c5dd authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

Merge branch 'ivanershov51/gthumb-master'

parents bc8088d6 f1fea4db
......@@ -808,6 +808,12 @@ edit_template_button_clicked_cb (GtkWidget *widget,
gtk_window_present (GTK_WINDOW (dialog));
}
static void
return_pressed_callback (GtkDialog *dialog,
gpointer user_data)
{
ok_button_clicked (user_data);
}
void
dlg_rename_series (GthBrowser *browser,
......@@ -984,6 +990,10 @@ dlg_rename_series (GthBrowser *browser,
"changed",
G_CALLBACK (update_preview_cb),
data);
g_signal_connect (GET_WIDGET("template_entry"),
"activate",
G_CALLBACK (return_pressed_callback),
data);
g_signal_connect (GET_WIDGET ("start_at_spinbutton"),
"value_changed",
G_CALLBACK (update_preview_cb),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment