[rkward-cvs] SF.net SVN: rkward:[3767] trunk/rkward
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Wed Sep 14 07:25:16 UTC 2011
Revision: 3767
http://rkward.svn.sourceforge.net/rkward/?rev=3767&view=rev
Author: tfry
Date: 2011-09-14 07:25:16 +0000 (Wed, 14 Sep 2011)
Log Message:
-----------
Larger default size for code display
Modified Paths:
--------------
trunk/rkward/ChangeLog
trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp
Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog 2011-09-14 06:02:02 UTC (rev 3766)
+++ trunk/rkward/ChangeLog 2011-09-14 07:25:16 UTC (rev 3767)
@@ -1,3 +1,4 @@
+- Default size of the code display in plugin dialogs has been increased TODO: bump config version enum
- Added support for RKWard plugins shipped inside R packages
- Fixed: PDFs and many other types of documents linked from help pages would not be opened, correctly
- Added support R 2.14.x
Modified: trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp
===================================================================
--- trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp 2011-09-14 06:02:02 UTC (rev 3766)
+++ trunk/rkward/rkward/settings/rksettingsmoduleplugins.cpp 2011-09-14 07:25:16 UTC (rev 3767)
@@ -45,6 +45,7 @@
#include "../misc/multistringselector.h"
#include "../misc/rkcommonfunctions.h"
#include "../misc/rkspinbox.h"
+#include "rksettingsmodulegeneral.h"
#include "../debug.h"
@@ -191,7 +192,10 @@
interface_pref = static_cast<PluginPrefs> (cg.readEntry ("Interface Preferences", static_cast<int> (PreferRecommended)));
show_code = cg.readEntry ("Code display default", false);
- code_size = cg.readEntry ("Code display size", 40);
+ code_size = cg.readEntry ("Code display size", 250);
+ if (RKSettingsModuleGeneral::storedConfigVersion () <= RKSettingsModuleGeneral::RKWardConfig_Pre0_5_7) {
+ if (code_size == 40) code_size = 250; // previous default untouched.
+ }
}
// static
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