diff options
Diffstat (limited to 'client/trunk/src/com/fourisland')
-rw-r--r-- | client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java | 10 | ||||
-rw-r--r-- | client/trunk/src/com/fourisland/instadisc/InstaDiscView.java | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java b/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java index eac82d9..e1705f1 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscApp.java | |||
@@ -61,15 +61,15 @@ public class InstaDiscApp extends SingleFrameApplication { | |||
61 | } catch (NullPointerException ex) { | 61 | } catch (NullPointerException ex) { |
62 | notInit = true; | 62 | notInit = true; |
63 | } | 63 | } |
64 | 64 | ||
65 | if (notInit) { | 65 | if (notInit) { |
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 | XmlRpc xmlrpc = new XmlRpc("requestRetained"); | 69 | if ((args.length > 0) && (args[0].equals("-r"))) { |
70 | xmlrpc.execute(); | 70 | XmlRpc xmlrpc = new XmlRpc("requestRetained"); |
71 | 71 | xmlrpc.execute(); | |
72 | if (!((args.length > 0) && (args[0].equals("-r")))) { | 72 | } else { |
73 | launch(InstaDiscApp.class, args); | 73 | launch(InstaDiscApp.class, args); |
74 | } | 74 | } |
75 | } | 75 | } |
diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java index ad56681..12e1dbd 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java | |||
@@ -115,6 +115,9 @@ public class InstaDiscView extends FrameView { | |||
115 | InstaDiscThread idt = new InstaDiscThread(); | 115 | InstaDiscThread idt = new InstaDiscThread(); |
116 | Thread idtt = new Thread(idt); | 116 | Thread idtt = new Thread(idt); |
117 | idtt.start(); | 117 | idtt.start(); |
118 | |||
119 | XmlRpc xmlrpc = new XmlRpc("requestRetained"); | ||
120 | xmlrpc.execute(); | ||
118 | } | 121 | } |
119 | 122 | ||
120 | @Action | 123 | @Action |