e/connman: fix typo

SVN revision: 76060
This commit is contained in:
Lucas De Marchi 2012-09-03 22:02:43 +00:00
parent ac49b72e17
commit 717a033619
1 changed files with 11 additions and 11 deletions

View File

@ -7899,7 +7899,7 @@ CONNMAN_ICON(ethernet)
group { group {
name: "e/modules/connman/icon/wifi"; name: "e/modules/connman/icon/wifi";
#define MSG_ID_STRENGHT 1 #define MSG_ID_STRENGTH 1
#define CONNMAN_BAR_OFF(_num) \ #define CONNMAN_BAR_OFF(_num) \
part { \ part { \
@ -7955,13 +7955,13 @@ CONNMAN_ICON(ethernet)
script { script {
public message(Msg_Type:type, id, ...) { public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == MSG_ID_STRENGHT)) { if ((type == MSG_INT_SET) && (id == MSG_ID_STRENGTH)) {
new state = getarg(2); new state = getarg(2);
new Float:str = getarg(3); new Float:str = getarg(3);
new buf[8]; new buf[8];
snprintf(buf, sizeof(buf), "%i%%", str); snprintf(buf, sizeof(buf), "%i%%", str);
set_text(PART:"e.text.strenght", buf); set_text(PART:"e.text.strength", buf);
/* Connecting if in association or configuration */ /* Connecting if in association or configuration */
if ((state == 2)) if ((state == 2))
@ -7993,7 +7993,7 @@ CONNMAN_ICON(ethernet)
CONNMAN_BAR_ON(2) CONNMAN_BAR_ON(2)
CONNMAN_BAR_ON(3) CONNMAN_BAR_ON(3)
part { part {
name: "e.text.strenght"; name: "e.text.strength";
type: TEXT; type: TEXT;
mouse_events: 0; mouse_events: 0;
effect: SOFT_SHADOW; effect: SOFT_SHADOW;
@ -8057,18 +8057,18 @@ CONNMAN_ICON(ethernet)
target: "bar_not"; target: "bar_not";
} }
program { program {
name: "strenght,show"; name: "strength,show";
signal: "e,strenght,show"; signal: "e,strength,show";
source: "e"; source: "e";
action: STATE_SET "visible" 0.0; action: STATE_SET "visible" 0.0;
target: "e.text.strenght"; target: "e.text.strength";
} }
program { program {
name: "strenght,hide"; name: "strength,hide";
signal: "e,strenght,hide"; signal: "e,strength,hide";
source: "e"; source: "e";
action: STATE_SET "default" 0.0; action: STATE_SET "default" 0.0;
target: "e.text.strenght"; target: "e.text.strength";
} }
program { program {
name: "connecting"; name: "connecting";
@ -8090,7 +8090,7 @@ CONNMAN_ICON(ethernet)
#undef CONNMAN_BAR_ON #undef CONNMAN_BAR_ON
#undef CONNMAN_CONNECTING_ON #undef CONNMAN_CONNECTING_ON
#undef CONNMAN_CONNECTING_OFF #undef CONNMAN_CONNECTING_OFF
#undef MSG_ID_STRENGHT #undef MSG_ID_STRENGTH
} }