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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Sep 13 09:21:38 UTC 2011


Revision: 3765
          http://rkward.svn.sourceforge.net/rkward/?rev=3765&view=rev
Author:   tfry
Date:     2011-09-13 09:21:37 +0000 (Tue, 13 Sep 2011)
Log Message:
-----------
List pluginmaps found in R packages.

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2011-09-13 06:32:30 UTC (rev 3764)
+++ trunk/rkward/ChangeLog	2011-09-13 09:21:37 UTC (rev 3765)
@@ -12,8 +12,8 @@
 - Fixed: Potential crash when using context menus with "focus follows mouse" window activation policy
 - Added shortcut Ctrl+Enter to insert a linebreak and submit from a script editor
 - Reduce CPU usage while idle
-- Pareto-plot plugin gains more tabulation options				TODO: also use in piechart, barplot
-- rk.results() now prints rownames, where appropriate			TODO: test
+- Pareto-plot plugin gains more tabulation options				TODO: also use in piechart, barplot, dotchart
+- rk.results() now prints rownames, where appropriate
 - "frame" elements in plugins can now be made checkable
 - Disabling or hiding a plugin component makes it non-required, implicitly
 - Boxplot gains option to dogde grouped boxes						TODO: add test; add colors?

Modified: trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp
===================================================================
--- trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp	2011-09-13 06:32:30 UTC (rev 3764)
+++ trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp	2011-09-13 09:21:37 UTC (rev 3765)
@@ -198,7 +198,7 @@
 void RKSettingsModulePlugins::registerPluginMaps (const QStringList &maps) {
 	RK_TRACE (SETTINGS);
 
-	bool added = false;
+	QStringList added;
 	foreach (const QString &map, maps) {
 		if (map.isEmpty ()) continue;
 		if (known_plugin_maps.contains (map)) continue;
@@ -206,11 +206,11 @@
 
 		if (plugin_maps.contains (map)) continue;
 		plugin_maps.append (map);
-		added = true;
+		added.append (map);
 	}
 
-	if (added) {
-		KMessageBox::information (RKWardMainWindow::getMain (), i18n ("New RKWard plugin packs have been found. They will be activated, automatically. To de-activate selected plugin packs, use Settings->Configure RKWard->Plugins"), i18n ("New plugins found"), "new_plugins_found");
+	if (!added.isEmpty ()) {
+		KMessageBox::informationList (RKWardMainWindow::getMain (), i18n ("New RKWard plugin packs (listed below) have been found, and have been activated, automatically. To de-activate selected plugin packs, use Settings->Configure RKWard->Plugins."), added, i18n ("New plugins found"), "new_plugins_found");
 		RKWardMainWindow::getMain ()->initPlugins();
 	}
 }

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