Author: jerome
Date: 2008-08-15 08:50:24 +0200 (Fri, 15 Aug 2008)
New Revision: 1493
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/.classpath
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/sources/net/karmaLab/tuxDroid/gadgets/MailGadget.java
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/tests/MailGadgetTest.java
Log:
* Removed gmail library that wasn't in use.
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/.classpath
===================================================================
---
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/.classpath
2008-08-14 23:44:34 UTC (rev 1492)
+++
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/.classpath
2008-08-15 06:50:24 UTC (rev 1493)
@@ -1,12 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="sources"/>
- <classpathentry kind="src" path="tests"/>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry combineaccessrules="false" kind="src"
path="/karmalab-commons"/>
- <classpathentry combineaccessrules="false" kind="src"
path="/tuxdroid-gadget-framework"/>
- <classpathentry combineaccessrules="false" kind="src"
path="/tuxdroid-gadget-tester"/>
- <classpathentry kind="lib" path="libraries/javamail-1.4.1.jar"/>
- <classpathentry kind="lib" path="libraries/g4j-lib.jar"/>
- <classpathentry kind="output" path="targets/eclipse"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="sources"/>
+ <classpathentry kind="src" path="tests"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src"
path="/karmalab-commons"/>
+ <classpathentry combineaccessrules="false" kind="src"
path="/tuxdroid-gadget-framework"/>
+ <classpathentry combineaccessrules="false" kind="src"
path="/tuxdroid-gadget-tester"/>
+ <classpathentry kind="lib" path="libraries/javamail-1.4.1.jar"/>
+ <classpathentry kind="output" path="targets/eclipse"/>
+</classpath>
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/sources/net/karmaLab/tuxDroid/gadgets/MailGadget.java
===================================================================
---
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/sources/net/karmaLab/tuxDroid/gadgets/MailGadget.java
2008-08-14 23:44:34 UTC (rev 1492)
+++
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/sources/net/karmaLab/tuxDroid/gadgets/MailGadget.java
2008-08-15 06:50:24 UTC (rev 1493)
@@ -1,3 +1,25 @@
+/* This file is part of "TuxDroid Gadget Mail".
+ * Copyright 2008, kysoh
+ * Author : Yoran Brault
+ * eMail : [EMAIL PROTECTED] (remove _bad_ before sending an email)
+ * Site : http://www.kysoh.com/
+ *
+ * "TuxDroid Gadget Mail" 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 Mail" 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 Mail"; 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.
+ */
+
package net.karmaLab.tuxDroid.gadgets;
import java.io.File;
@@ -213,14 +235,14 @@
}
if (!found) {
if (!configuration.useFrom &&
!configuration.useSubject) {
- throwMessage("You have a new
message");
+ throwMessageNotification("You
have a new message");
} else {
if (configuration.useFrom) {
- throwMessage("This
message is sent by %s", messages[i].getFrom()[0].toString());
+
throwMessageNotification("This message is sent by %s",
messages[i].getFrom()[0].toString());
}
if (configuration.useSubject) {
- throwMessage("The
message subject is : %s", subject);
+
throwMessageNotification("The message subject is : %s", subject);
}
}
state.getLastMessages().add(subject);
Modified:
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/tests/MailGadgetTest.java
===================================================================
---
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/tests/MailGadgetTest.java
2008-08-14 23:44:34 UTC (rev 1492)
+++
software_suite_v2/software/gadgets/tuxdroid-gadget-mail/trunk/tuxdroid-gadget-mail/tests/MailGadgetTest.java
2008-08-15 06:50:24 UTC (rev 1493)
@@ -1,4 +1,26 @@
+/* This file is part of "TuxDroid Gadget Mail".
+ * Copyright 2008, kysoh
+ * Author : Yoran Brault
+ * eMail : [EMAIL PROTECTED] (remove _bad_ before sending an email)
+ * Site : http://www.kysoh.com/
+ *
+ * "TuxDroid Gadget Mail" 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 Mail" 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 Mail"; 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.
+ */
+
import java.io.File;
import net.karmaLab.tools.SystemInformation;
-------------------------------------------------------------------------
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