e/connman: remove unused strength string

SVN revision: 76077
This commit is contained in:
Bruno Dilly 2012-09-03 22:07:06 +00:00
parent 4d7e006d5a
commit bafd71dc9e
1 changed files with 0 additions and 40 deletions

View File

@ -8050,10 +8050,6 @@ CONNMAN_ICON(ethernet)
if ((type == MSG_INT_SET) && (id == MSG_ID_STRENGTH)) {
new state = getarg(2);
new Float:str = getarg(3);
new buf[8];
snprintf(buf, sizeof(buf), "%i%%", str);
set_text(PART:"e.text.strength", buf);
/* Connecting if in association or configuration */
if ((state == 2))
@ -8109,28 +8105,6 @@ CONNMAN_ICON(ethernet)
CONNMAN_BAR_ON(2_on)
CONNMAN_BAR_ON(3_on)
part {
name: "e.text.strength";
type: TEXT;
mouse_events: 0;
effect: SOFT_SHADOW;
description {
state: "default" 0.0;
color: 255 255 255 0;
text {
font: "Sans";
size: 24;
align: 0.8 0.9;
text: "";
}
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
color: 224 224 224 255;
color3: 0 0 0 64;
}
}
part {
name: "bar_not";
type: IMAGE;
@ -8178,20 +8152,6 @@ CONNMAN_ICON(ethernet)
target: "bar_not";
target: "bar_off";
}
program {
name: "strength,show";
signal: "e,strength,show";
source: "e";
action: STATE_SET "visible" 0.0;
target: "e.text.strength";
}
program {
name: "strength,hide";
signal: "e,strength,hide";
source: "e";
action: STATE_SET "default" 0.0;
target: "e.text.strength";
}
program {
name: "connecting";
action: STATE_SET "default" 0.0;