Update of /cvsroot/audacity/lib-src/FileDialog/gtk
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30627/gtk
Modified Files:
FileDialog.hpp
Log Message:
Allow pressing 'Enter' key for default action
Index: FileDialog.hpp
===================================================================
RCS file: /cvsroot/audacity/lib-src/FileDialog/gtk/FileDialog.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- FileDialog.hpp 15 Apr 2007 10:36:04 -0000 1.5
+++ FileDialog.hpp 15 Apr 2007 20:12:00 -0000 1.6
@@ -214,6 +214,9 @@
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
ok_btn_stock, GTK_RESPONSE_ACCEPT,
NULL);
+
+ // Allow pressing "Enter" key for default action
+ gtk_dialog_set_default_response(GTK_DIALOG(m_widget),
GTK_RESPONSE_ACCEPT);
if ( style & wxMULTIPLE )
gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(m_widget),
true);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs