Author: ulhume
Date: 2008-08-31 23:05:52 +0200 (Sun, 31 Aug 2008)
New Revision: 1672

Modified:
   
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/container/GadgetsContainer.java
   
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/propertyEditor/GadgetPropertyEditor.java
Log:
Fixed undeployement when tgf is updated

Modified: 
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/container/GadgetsContainer.java
===================================================================
--- 
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/container/GadgetsContainer.java
    2008-08-31 11:22:29 UTC (rev 1671)
+++ 
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/container/GadgetsContainer.java
    2008-08-31 21:05:52 UTC (rev 1672)
@@ -170,6 +170,7 @@
 
        /** [EMAIL PROTECTED] */
        public void destroyGadgets(File gadgetPath) throws 
GadgetsContainerException {
+               gadgetPath = Files.cannonical(gadgetPath);
                for (int i = gadgets.size() - 1; i >= 0; i--) {
                        Gadget gadget = gadgets.get(i);
                        if 
(gadget.getInterpreter().getWorkingPath().equals(gadgetPath)) {

Modified: 
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/propertyEditor/GadgetPropertyEditor.java
===================================================================
--- 
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/propertyEditor/GadgetPropertyEditor.java
   2008-08-31 11:22:29 UTC (rev 1671)
+++ 
software_suite_v2/software/tuxdroid-gadget-framework/trunk/tuxdroid-gadget-framework/sources/com/kysoh/tuxdroid/gadget/framework/propertyEditor/GadgetPropertyEditor.java
   2008-08-31 21:05:52 UTC (rev 1672)
@@ -1,21 +1,21 @@
-/* This file is part of "TuxDroid Gadget Tester".
+/* This file is part of "TuxDroid Gadget Framework".
  *    Copyright 2008, kysoh
  *    Author : Yoran Brault
  *    eMail  : [EMAIL PROTECTED] (remove _bad_ before sending an email)
  *    Site   : http://www.kysoh.com/
  *
- * "TuxDroid Gadget Tester" is free software; you can redistribute it and/or
+ * "TuxDroid Gadget Framework" is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
  * published by the Free Software Foundation; either version 2.1 of
  * the License, or (at your option) any later version.
  *
- * "TuxDroid Gadget Tester" is distributed in the hope that it will be useful,
+ * "TuxDroid Gadget Framework" is distributed in the hope that it will be 
useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  * General Public License for more details.
  *
  * You should have received a copy of the GNU General Public
- * License along with "TuxDroid Gadget Tester"; if not, write to the Free
+ * License along with "TuxDroid Gadget Framework"; if not, write to the Free
  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  */


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to