Make Enter key in mbox export dialog's file entry start the export
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 4 May 2019 00:52:32 +0000 (02:52 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 4 May 2019 14:45:07 +0000 (16:45 +0200)
src/export.c

index 4e1d4c1a233629356e8b58225513fde8f3a93b46..045fa87d7097e59d37e6847797431b1b79b2ad63 100644 (file)
@@ -159,6 +159,7 @@ static void export_create(void)
        gtk_table_attach(GTK_TABLE(table), file_entry, 1, 2, 1, 2,
                         (GtkAttachOptions) (GTK_EXPAND|GTK_SHRINK|GTK_FILL),
                         (GtkAttachOptions) (0), 0, 0);
+       gtk_entry_set_activates_default(GTK_ENTRY(file_entry), TRUE);
 
        src_button = gtkut_get_browse_directory_btn(_("_Browse"));
        gtk_table_attach(GTK_TABLE(table), src_button, 2, 3, 0, 1,