Maemo: OK is default response in password dialog.
authorTobias Brunner <tobias@strongswan.org>
Thu, 30 Sep 2010 13:22:59 +0000 (15:22 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 14 Oct 2010 15:36:20 +0000 (17:36 +0200)
src/frontends/maemo/src/strongswan-status.c

index 8bbc3e8..8a26f27 100644 (file)
@@ -230,6 +230,7 @@ get_password (StrongswanStatus *plugin, gchar **password)
                                                                        GTK_STOCK_OK,
                                                                        GTK_RESPONSE_OK,
                                                                        NULL);
+       gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
        GtkWidget *vbox = GTK_DIALOG (dialog)->vbox;
        GtkSizeGroup *group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);