From b2664e4e0c8b0fdcfeaa46c6c2cc15edf1813738 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 4 Aug 2008 15:07:59 +0000 Subject: 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. --- client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client') 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 { Thread th = new Thread(new FirstRunWizard()); th.start(); } else { - if ((args.length > 0) && (args[0].equals("-r"))) { - XmlRpc xmlrpc = new XmlRpc("requestRetained"); - xmlrpc.execute(); - } else { + XmlRpc xmlrpc = new XmlRpc("requestRetained"); + xmlrpc.execute(); + + if (!((args.length > 0) && (args[0].equals("-r")))) { launch(InstaDiscApp.class, args); } } -- cgit 1.4.1