Commit cd0fe657 authored by Jameson Rollins's avatar Jameson Rollins

medm: fix guardmedm link in "mini" screens

remove the requirement of needing the path.  These screens are
basically always embedded in situations where path is not needed (or
desired).
parent c028083a
...@@ -83,6 +83,9 @@ def main(): ...@@ -83,6 +83,9 @@ def main():
print(get_path(screen)) print(get_path(screen))
sys.exit() sys.exit()
if not const.IFO:
sys.exit("Must specify IFO environment variable.")
if not args.system: if not args.system:
parser.error("must specify system or --paths.") parser.error("must specify system or --paths.")
......
...@@ -189,7 +189,7 @@ rectangle { ...@@ -189,7 +189,7 @@ rectangle {
command[0] { command[0] {
label="$(SYSTEM)" label="$(SYSTEM)"
name="guardmedm" name="guardmedm"
args="-n $(SYSTEM) $(SYSTEM_PATH) &" args="$(SYSTEM) &"
} }
clr=14 clr=14
bclr=8 bclr=8
......
...@@ -225,7 +225,7 @@ composite { ...@@ -225,7 +225,7 @@ composite {
command[0] { command[0] {
label="$(SYSTEM)" label="$(SYSTEM)"
name="guardmedm" name="guardmedm"
args="-n $(SYSTEM) $(SYSTEM_PATH) &" args="$(SYSTEM) &"
} }
clr=14 clr=14
bclr=8 bclr=8
......
...@@ -279,7 +279,7 @@ composite { ...@@ -279,7 +279,7 @@ composite {
command[0] { command[0] {
label="$(SYSTEM)" label="$(SYSTEM)"
name="guardmedm" name="guardmedm"
args="-n $(SYSTEM) $(SYSTEM_PATH) &" args="$(SYSTEM) &"
} }
clr=14 clr=14
bclr=8 bclr=8
......
...@@ -266,7 +266,7 @@ composite { ...@@ -266,7 +266,7 @@ composite {
command[0] { command[0] {
label="$(SYSTEM)" label="$(SYSTEM)"
name="guardmedm" name="guardmedm"
args="-n $(SYSTEM) $(SYSTEM_PATH) &" args="$(SYSTEM) &"
} }
clr=14 clr=14
bclr=8 bclr=8
......
...@@ -106,7 +106,7 @@ composite { ...@@ -106,7 +106,7 @@ composite {
command[0] { command[0] {
label="$(SYSTEM)" label="$(SYSTEM)"
name="guardmedm" name="guardmedm"
args="-n $(SYSTEM) $(SYSTEM_PATH) &" args="$(SYSTEM) &"
} }
clr=14 clr=14
bclr=8 bclr=8
......
...@@ -224,7 +224,7 @@ composite { ...@@ -224,7 +224,7 @@ composite {
command[0] { command[0] {
label="$(SYSTEM)" label="$(SYSTEM)"
name="guardmedm" name="guardmedm"
args="--main -n $(SYSTEM) $(SYSTEM_PATH) &" args="--main $(SYSTEM) &"
} }
clr=14 clr=14
bclr=8 bclr=8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment