summaryrefslogtreecommitdiff
path: root/src/modules/conf_keybindings/e_int_config_acpibindings.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-02-21 14:35:00 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-02-21 14:35:00 +0000
commit0add92b38a9fc2fe055896750833297402355ea8 (patch)
tree7ffc9fc4c424e315d7244ef3eb381c13037e9049 /src/modules/conf_keybindings/e_int_config_acpibindings.c
parent0377e75f9adb1bc3d831479d99f9d3d2f5d979bf (diff)
remove acpi debugging and label lid state properly in the ui!
SVN revision: 68223
Diffstat (limited to 'src/modules/conf_keybindings/e_int_config_acpibindings.c')
-rw-r--r--src/modules/conf_keybindings/e_int_config_acpibindings.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/conf_keybindings/e_int_config_acpibindings.c b/src/modules/conf_keybindings/e_int_config_acpibindings.c
index c313f2608..d8505f005 100644
--- a/src/modules/conf_keybindings/e_int_config_acpibindings.c
+++ b/src/modules/conf_keybindings/e_int_config_acpibindings.c
@@ -358,8 +358,9 @@ _binding_label_get(E_Config_Binding_Acpi *bind)
358 return _("Fan"); 358 return _("Fan");
359 if (bind->type == E_ACPI_TYPE_LID) 359 if (bind->type == E_ACPI_TYPE_LID)
360 { 360 {
361 if (bind->status == 0) return _("Lid Closed"); 361 if (bind->status == E_ACPI_LID_UNKNOWN) return _("Lid Unknown");
362 if (bind->status == 1) return _("Lid Opened"); 362 if (bind->status == E_ACPI_LID_CLOSED) return _("Lid Closed");
363 if (bind->status == E_ACPI_LID_OPEN) return _("Lid Opened");
363 return _("Lid"); 364 return _("Lid");
364 } 365 }
365 if (bind->type == E_ACPI_TYPE_POWER) 366 if (bind->type == E_ACPI_TYPE_POWER)