Author: jerome
Date: 2008-11-26 14:54:15 +0100 (Wed, 26 Nov 2008)
New Revision: 2845

Modified:
   
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/CcInterface.java
Log:
* Added a protection for tgfGenerator : if gadget comes from local system, then 
quit the function to don't display the tgf generator description windows.

Modified: 
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/CcInterface.java
===================================================================
--- 
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/CcInterface.java
        2008-11-26 13:45:07 UTC (rev 2844)
+++ 
software_suite_v2/software/control_center/branches/new_paths/control_center/sources/com/tuxdroid/cc/CcInterface.java
        2008-11-26 13:54:15 UTC (rev 2845)
@@ -2486,7 +2486,8 @@
                        CcInterface.copyToPlaylists = false;
                        
                        if(CcCommons.type == CcConstants.TYPE_ALERT){   
-                               
+                               if(!arg0.isLocalTransfer())
+                                       return;
                                //then create new tgf file with alert selected 
gadget parameters.
                                new 
TgfGenerator(alertPlaylist.getSelectedName(), this.currentGadget,
                                                
this.currentGadgetParameters.getValues());


-------------------------------------------------------------------------
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