Clean ups, abstract the widgets a bit, and don't segfault when not finding an unsuitable write mode.

This commit is contained in:
Jaime Thomas
2008-12-18 22:16:55 +00:00
parent 2d514dcf28
commit 8f7fe94f52
11 changed files with 358 additions and 112 deletions

View File

@ -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";
}
}
}