[tuxdroid-svn] r5776 - software_suite_v3/software/plugin/plugin-facebook/branches/october_release/s
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-10-28 09:47:43
|
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); } |