Author: jerome
Date: 2009-10-28 10:47:15 +0100 (Wed, 28 Oct 2009)
New Revision: 5776

Modified:
   
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
Log:
* Fixed a bug with alert mode.

Modified: 
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
===================================================================
--- 
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
       2009-10-28 09:16:20 UTC (rev 5775)
+++ 
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
       2009-10-28 09:47:15 UTC (rev 5776)
@@ -34,7 +34,6 @@
 
 public class FacebookPlugin extends SimplePlugin<PluginFacebookConfiguration>{
        
-       private boolean check = false;
        private boolean thrown = false;
        
        
@@ -48,7 +47,7 @@
         */
        private void throwRes()
        {
-               if(this.check && (!thrown))
+               if(this.getCommand().equalsIgnoreCase("check") && (!thrown))
                {
                        thrown = true;
                        this.throwResult(true);
@@ -87,7 +86,7 @@
                //Prompt web browser for facebook permissions.
                this.throwMessage("Please, allow me to access your Facebook 
account");
                FacebookConnection.promptAuthorizations();
-               System.exit( 0 );
+               System.exit(0);
        }
        
        


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to