diary r89 - in trunk: . src



Author: pwithnall
Date: Sat Oct 18 09:10:53 2008
New Revision: 89
URL: http://svn.gnome.org/viewvc/diary?rev=89&view=rev

Log:
2008-10-18  Philip Withnall  <philip tecnocode co uk>

	* src/search-dialog.c (almanah_search_dialog_new): Make the 
"Search"
	button the default so that it is activated when enter is pressed 
in
	the search entry.



Modified:
   trunk/ChangeLog
   trunk/src/search-dialog.c

Modified: trunk/src/search-dialog.c
==============================================================================
--- trunk/src/search-dialog.c	(original)
+++ trunk/src/search-dialog.c	Sat Oct 18 09:10:53 2008
@@ -110,6 +110,8 @@
 	g_signal_connect (priv->sd_results_selection, "changed", G_CALLBACK (sd_results_selection_changed_cb),
 			  gtk_builder_get_object (builder, "dry_sd_view_button"));
 
+	gtk_widget_grab_default (GTK_WIDGET (gtk_builder_get_object (builder, "dry_sd_search_button")));
+
 	/* Prettify the UI */
 	diary_interface_embolden_label (GTK_LABEL (gtk_builder_get_object (builder, "dry_sd_results_label")));
 



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