diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-04 15:07:59 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-04 15:07:59 +0000 |
commit | b2664e4e0c8b0fdcfeaa46c6c2cc15edf1813738 (patch) | |
tree | fdd8f204aabdb6c645e25e0b318a8eb8806ec3c2 | |
parent | 126122a00149facdd03364408a99d6cede5a98dc (diff) | |
download | instadisc-b2664e4e0c8b0fdcfeaa46c6c2cc15edf1813738.tar.gz instadisc-b2664e4e0c8b0fdcfeaa46c6c2cc15edf1813738.tar.bz2 instadisc-b2664e4e0c8b0fdcfeaa46c6c2cc15edf1813738.zip |
Client: Modified -r flag
Now, the client always checks for retained items on startup. The -r flag is now used instead to say that you don't want to open the client, just check for retained items.
-rw-r--r-- | client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java b/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java index e891d32..eac82d9 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java | |||
@@ -66,10 +66,10 @@ public class InstaDiscApp extends SingleFrameApplication { | |||
66 | Thread th = new Thread(new FirstRunWizard()); | 66 | Thread th = new Thread(new FirstRunWizard()); |
67 | th.start(); | 67 | th.start(); |
68 | } else { | 68 | } else { |
69 | if ((args.length > 0) && (args[0].equals("-r"))) { | 69 | XmlRpc xmlrpc = new XmlRpc("requestRetained"); |
70 | XmlRpc xmlrpc = new XmlRpc("requestRetained"); | 70 | xmlrpc.execute(); |
71 | xmlrpc.execute(); | 71 | |
72 | } else { | 72 | if (!((args.length > 0) && (args[0].equals("-r")))) { |
73 | launch(InstaDiscApp.class, args); | 73 | launch(InstaDiscApp.class, args); |
74 | } | 74 | } |
75 | } | 75 | } |