[Mathlib-commitlog] SF.net SVN: mathlib:[507] JMathLib/trunk/src/jmathlib/ui/awt/GUI.java
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2008-11-30 16:21:07
|
Revision: 507
http://mathlib.svn.sourceforge.net/mathlib/?rev=507&view=rev
Author: st_mueller
Date: 2008-11-30 16:21:05 +0000 (Sun, 30 Nov 2008)
Log Message:
-----------
better handling for update information
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 2008-11-30 16:18:59 UTC (rev 506)
+++ JMathLib/trunk/src/jmathlib/ui/awt/GUI.java 2008-11-30 16:21:05 UTC (rev 507)
@@ -238,7 +238,8 @@
this.setTitle(TITLE + " - Console Window");
// in case an update is available inform the user
- if (interpreter.prefs.getLocalProperty("update.newversionavailable").equals("yes"))
+ String u = interpreter.prefs.getLocalProperty("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");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|