Button and check can now be disabled.

This commit is contained in:
Jaime Thomas
2008-11-06 19:04:00 +00:00
parent 3e109996d3
commit 5e1e073521
6 changed files with 116 additions and 7 deletions

View File

@ -126,6 +126,16 @@ group {
border: 7 7 7 7;
}
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
image {
normal: "button_disabled.png";
border: 11 11 10 10;
}
}
}
part {
@ -305,6 +315,22 @@ group {
target: "focus_clip";
transition: DECELERATE 0.5;
}
program {
name: "disable";
signal: "ecdb,disable";
action: STATE_SET "disabled" 0.0;
source: "ecdb";
target: "button";
}
program {
name: "enable";
signal: "ecdb,enable";
action: STATE_SET "default" 0.0;
source: "ecdb";
target: "button";
}
}
}