Author: jerome
Date: 2008-12-14 13:46:07 +0100 (Sun, 14 Dec 2008)
New Revision: 3110
Modified:
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/gadget/GadgetsFramework.java
Log:
* Cleanup (two settings object was created).
Modified:
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/gadget/GadgetsFramework.java
===================================================================
---
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/gadget/GadgetsFramework.java
2008-12-14 12:06:06 UTC (rev 3109)
+++
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/gadget/GadgetsFramework.java
2008-12-14 12:46:07 UTC (rev 3110)
@@ -40,7 +40,6 @@
import com.kysoh.tuxdroid.gadget.framework.container.GadgetsContainerException;
import com.kysoh.tuxdroid.gadget.framework.container.GadgetsContainerListener;
import com.tuxdroid.cc.CcCommons;
-import com.tuxdroid.cc.settings.Settings;
import com.tuxdroid.cc.swing.JConsole;
public class GadgetsFramework implements PropertyChangeListener{
@@ -189,9 +188,9 @@
public GadgetsFramework(){
super();
- Settings settings = new Settings();
- GadgetsContainer.setLocale(settings.getLanguage(),
settings.getSpeaker(),
- settings.getCountry(),
settings.getPitch(), CcCommons.IP);
+
+ GadgetsContainer.setLocale(CcCommons.settings.getLanguage(),
CcCommons.settings.getSpeaker(),
+
CcCommons.settings.getCountry(), CcCommons.settings.getPitch(), CcCommons.IP);
container = new GadgetsContainer();
// Create CC message box and listen to Gadgets and Container
events
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn