vinagre r625 - trunk/src



Author: jwendell
Date: Fri Feb 20 18:17:45 2009
New Revision: 625
URL: http://svn.gnome.org/viewvc/vinagre?rev=625&view=rev

Log:
Hit <ENTER> on connction dialog activates the Connect button

Modified:
   trunk/src/vinagre-connect.c

Modified: trunk/src/vinagre-connect.c
==============================================================================
--- trunk/src/vinagre-connect.c	(original)
+++ trunk/src/vinagre-connect.c	Fri Feb 20 18:17:45 2009
@@ -134,6 +134,8 @@
   gtk_entry_completion_set_inline_completion (completion, TRUE);
   gtk_entry_set_completion (GTK_ENTRY(gtk_bin_get_child(GTK_BIN(combo))), completion);
   g_object_unref (completion);
+
+  gtk_entry_set_activates_default (GTK_ENTRY(gtk_bin_get_child(GTK_BIN(combo))), TRUE);
 }
 
 void



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