Clean ups, abstract the widgets a bit, and don't segfault when not finding an unsuitable write mode.
This commit is contained in:
@ -151,7 +151,7 @@ group {
|
||||
}
|
||||
|
||||
part {
|
||||
name: "label";
|
||||
name: "ecdb.label";
|
||||
type: TEXT;
|
||||
|
||||
description {
|
||||
@ -171,7 +171,7 @@ group {
|
||||
}
|
||||
|
||||
text {
|
||||
text: "Change Burn Speed";
|
||||
text: "";
|
||||
font: "ecdb/default";
|
||||
min: 1 1;
|
||||
size: 11;
|
||||
@ -254,5 +254,31 @@ group {
|
||||
set_state(PART:"check", "default", 0.0);
|
||||
}
|
||||
}
|
||||
|
||||
program {
|
||||
name: "check_off";
|
||||
signal: "ecdb,check,off";
|
||||
source: "ecdb";
|
||||
|
||||
script {
|
||||
set_int(s, 0);
|
||||
}
|
||||
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "check";
|
||||
}
|
||||
|
||||
program {
|
||||
name: "check_on";
|
||||
signal: "ecdb,check,on";
|
||||
source: "ecdb";
|
||||
|
||||
script {
|
||||
set_int(s, 1);
|
||||
}
|
||||
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "check";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user