[Mathlib-commitlog] SF.net SVN: mathlib:[797] JMathLib/trunk/src/jmathlib/ui/awt/GUI.java
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-01-30 19:04:08
|
Revision: 797
http://mathlib.svn.sourceforge.net/mathlib/?rev=797&view=rev
Author: st_mueller
Date: 2009-01-30 19:03:54 +0000 (Fri, 30 Jan 2009)
Log Message:
-----------
changed handling of preferences/properties
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/ui/awt/GUI.java
Modified: JMathLib/trunk/src/jmathlib/ui/awt/GUI.java
===================================================================
--- JMathLib/trunk/src/jmathlib/ui/awt/GUI.java 2009-01-30 19:02:16 UTC (rev 796)
+++ JMathLib/trunk/src/jmathlib/ui/awt/GUI.java 2009-01-30 19:03:54 UTC (rev 797)
@@ -238,11 +238,11 @@
this.setTitle(TITLE + " - Console Window");
// in case an update is available inform the user
- String u = interpreter.prefs.getLocalProperty("update.newversionavailable");
+ String u = interpreter.globals.getProperty("update.newversionavailable");
if ((u!=null) && u.equals("yes"))
{
this.setTitle(TITLE + " - (NEW version available: type update at prompt)");
- String s = interpreter.prefs.getLocalProperty("update.newversionavailable.message01");
+ String s = interpreter.globals.getProperty("update.newversionavailable.message01");
if (s==null)
answer.displayText("A NEW version of JMathLib is available\n type update or visit www.jmathlib.de");
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|