[rkward-cvs] SF.net SVN: rkward: [868] trunk/rkward/rkward/rkward.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Oct 17 09:55:36 UTC 2006


Revision: 868
          http://svn.sourceforge.net/rkward/?rev=868&view=rev
Author:   tfry
Date:     2006-10-17 02:55:33 -0700 (Tue, 17 Oct 2006)

Log Message:
-----------
Add "All Files"-option to open script file dialog

Modified Paths:
--------------
    trunk/rkward/rkward/rkward.cpp

Modified: trunk/rkward/rkward/rkward.cpp
===================================================================
--- trunk/rkward/rkward/rkward.cpp	2006-10-12 21:17:23 UTC (rev 867)
+++ trunk/rkward/rkward/rkward.cpp	2006-10-17 09:55:33 UTC (rev 868)
@@ -648,9 +648,9 @@
 	KURL::List urls;
 	KURL::List::const_iterator it;
 	
-	urls = KFileDialog::getOpenURLs (":<rfiles>", "*.R *.r *.S *.s *.q", this, i18n ("Open command file(s)"));
+	urls = KFileDialog::getOpenURLs (":<rfiles>", "*.R *.r *.S *.s *.q|R Script Files (*.R *.r *.S *.s *.q)\n*.*|All Files (*.*)", this, i18n ("Open command file(s)"));
 
-	for (it = urls.begin() ; it != urls.end() ; ++it){
+	for (it = urls.begin() ; it != urls.end() ; ++it) {
 		slotOpenCommandEditor (*it);
 	}
 };


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list