aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/calendar-setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c
index fc82881b28..87f8eff819 100644
--- a/calendar/gui/dialogs/calendar-setup.c
+++ b/calendar/gui/dialogs/calendar-setup.c
@@ -611,6 +611,8 @@ calendar_setup_edit_calendar (GtkWindow *parent, ESource *source)
source_dialog->name_entry = glade_xml_get_widget (source_dialog->gui_xml, "name-entry");
g_signal_connect_swapped (source_dialog->name_entry, "changed",
G_CALLBACK (general_page_modified), source_dialog);
+ g_signal_connect_swapped (source_dialog->name_entry, "activate",
+ G_CALLBACK (edit_calendar_finish), source_dialog);
/* Remote page */
source_dialog->uri_entry = glade_xml_get_widget (source_dialog->gui_xml, "uri-entry");
@@ -758,6 +760,8 @@ calendar_setup_edit_task_list (GtkWindow *parent, ESource *source)
source_dialog->name_entry = glade_xml_get_widget (source_dialog->gui_xml, "name-entry");
g_signal_connect_swapped (source_dialog->name_entry, "changed",
G_CALLBACK (general_page_modified), source_dialog);
+ g_signal_connect_swapped (source_dialog->name_entry, "activate",
+ G_CALLBACK (edit_calendar_finish), source_dialog);
/* Finishing */
g_signal_connect_swapped (glade_xml_get_widget (source_dialog->gui_xml, "ok-button"), "clicked",