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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Feb 11 09:27:41 UTC 2010


Revision: 2736
          http://rkward.svn.sourceforge.net/rkward/?rev=2736&view=rev
Author:   tfry
Date:     2010-02-11 09:27:40 +0000 (Thu, 11 Feb 2010)

Log Message:
-----------
Duh. Removing an old windows-ism. See https://sourceforge.net/tracker/?func=detail&aid=2949450&group_id=50231&atid=459007

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/agents/rksaveagent.cpp
    trunk/rkward/rkward/rkward.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2010-02-11 09:25:42 UTC (rev 2735)
+++ trunk/rkward/ChangeLog	2010-02-11 09:27:40 UTC (rev 2736)
@@ -1,3 +1,4 @@
+- Fixed: Filenames without extension would not be shown in file dialogs
 - Fixed: Calling "fix(my.fun)" would remove comments
 - Fixed: Removing "@CRAN@" from the repositories would break package installation
 

Modified: trunk/rkward/rkward/agents/rksaveagent.cpp
===================================================================
--- trunk/rkward/rkward/agents/rksaveagent.cpp	2010-02-11 09:25:42 UTC (rev 2735)
+++ trunk/rkward/rkward/agents/rksaveagent.cpp	2010-02-11 09:27:40 UTC (rev 2736)
@@ -57,7 +57,7 @@
 
 bool RKSaveAgent::askURL () {
 	RK_TRACE (APP);
-	save_url = KFileDialog::getSaveFileName (save_url, "*.RData *.rdata *.rda|R Data Files (*.RData *.rdata *.rda)\n*.*|All Files (*.*)");
+	save_url = KFileDialog::getSaveFileName (save_url, "*.RData *.rdata *.rda|R Data Files (*.RData *.rdata *.rda)\n*|All Files (*)");
 	if (save_url.isEmpty ()) {
 		if (when_done != DoNothing) {
 			if (KMessageBox::warningYesNo (0, i18n ("No filename given. Your data was NOT saved. Do you still want to proceed?")) != KMessageBox::Yes) when_done = DoNothing;

Modified: trunk/rkward/rkward/rkward.cpp
===================================================================
--- trunk/rkward/rkward/rkward.cpp	2010-02-11 09:25:42 UTC (rev 2735)
+++ trunk/rkward/rkward/rkward.cpp	2010-02-11 09:27:40 UTC (rev 2736)
@@ -674,9 +674,9 @@
 #ifdef Q_WS_WIN
 	// getOpenUrls(KUrl("kfiledialog:///<rfiles>"), ...) causes a hang on windows (KDElibs 4.2.3).
 #	warning Track this bug down and/or report it
-	urls = KFileDialog::getOpenUrls (KUrl (), "*.R *.r *.S *.s *.q|R Script Files (*.R *.r *.S *.s *.q)\n*.*|All Files (*.*)", this, i18n ("Open command file(s)"));
+	urls = KFileDialog::getOpenUrls (KUrl (), "*.R *.r *.S *.s *.q|R Script Files (*.R *.r *.S *.s *.q)\n*|All Files (*)", this, i18n ("Open command file(s)"));
 #else
-	urls = KFileDialog::getOpenUrls (KUrl ("kfiledialog:///<rfiles>"), "*.R *.r *.S *.s *.q|R Script Files (*.R *.r *.S *.s *.q)\n*.*|All Files (*.*)", this, i18n ("Open command file(s)"));
+	urls = KFileDialog::getOpenUrls (KUrl ("kfiledialog:///<rfiles>"), "*.R *.r *.S *.s *.q|R Script Files (*.R *.r *.S *.s *.q)\n*|All Files (*)", this, i18n ("Open command file(s)"));
 #endif
 	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