[epiphany] window-commands: make 'Enter' activate the default response



commit efbe79e918a5c518f507a94d08505c009bec4a59
Author: Xan Lopez <xlopez igalia com>
Date:   Mon Aug 29 18:00:10 2011 +0200

    window-commands: make 'Enter' activate the default response
    
    Which creates the corresponding Web App.

 src/window-commands.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 3cdbcf6..90a7f51 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -555,6 +555,7 @@ window_cmd_file_save_as_application (GtkAction *action,
 	gtk_container_add (GTK_CONTAINER (box), image);
 
 	entry = gtk_entry_new ();
+	gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
 	gtk_box_pack_end (GTK_BOX (box), entry, FALSE, FALSE, 0);
 
 	data = g_slice_new0 (EphyApplicationDialogData);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]