Skip to content
Snippets Groups Projects
Commit 0bd00511 authored by Harald Judt's avatar Harald Judt
Browse files

Reformat common/xfpm-config.h

Also rearrange the items to better reflect the layout in settings dialog.
It's easier to find one's way around that way.
parent 711f1cc7
No related branches found
No related tags found
No related merge requests found
...@@ -30,67 +30,53 @@ ...@@ -30,67 +30,53 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define XFPM_CHANNEL_CFG "xfce4-power-manager" #define XFPM_CHANNEL_CFG "xfce4-power-manager"
#define PROPERTIES_PREFIX "/xfce4-power-manager/"
/*
* Backward compatibility with old version. #define ON_AC_INACTIVITY_TIMEOUT "inactivity-on-ac"
*/ #define ON_BATTERY_INACTIVITY_TIMEOUT "inactivity-on-battery"
#define PROPERTIES_PREFIX "/xfce4-power-manager/" #define INACTIVITY_SLEEP_MODE_ON_AC "inactivity-sleep-mode-on-ac"
#define INACTIVITY_SLEEP_MODE_ON_BATTERY "inactivity-sleep-mode-on-battery"
#define CPU_FREQ_CONTROL "enable-cpu-freq-control"
#define LOCK_SCREEN_ON_SLEEP "lock-screen-suspend-hibernate" #define CRITICAL_POWER_LEVEL "critical-power-level"
#define CRITICAL_BATT_ACTION_CFG "critical-power-action"
#define ON_BATTERY_BLANK "blank-on-battery"
#define ON_AC_BLANK "blank-on-ac" #define DPMS_ENABLED_CFG "dpms-enabled"
#define ON_BATTERY_BLANK "blank-on-battery"
#define DPMS_ENABLED_CFG "dpms-enabled" #define ON_AC_BLANK "blank-on-ac"
#define ON_AC_DPMS_SLEEP "dpms-on-ac-sleep" #define ON_AC_DPMS_SLEEP "dpms-on-ac-sleep"
#define ON_AC_DPMS_OFF "dpms-on-ac-off" #define ON_AC_DPMS_OFF "dpms-on-ac-off"
#define ON_BATT_DPMS_SLEEP "dpms-on-battery-sleep" #define ON_BATT_DPMS_SLEEP "dpms-on-battery-sleep"
#define ON_BATT_DPMS_OFF "dpms-on-battery-off" #define ON_BATT_DPMS_OFF "dpms-on-battery-off"
#define DPMS_SLEEP_MODE "dpms-sleep-mode" #define DPMS_SLEEP_MODE "dpms-sleep-mode"
#define GENERAL_NOTIFICATION_CFG "general-notification" #define LOCK_SCREEN_ON_SLEEP "lock-screen-suspend-hibernate"
#define GENERAL_NOTIFICATION_CFG "general-notification"
#define ON_AC_INACTIVITY_TIMEOUT "inactivity-on-ac" #define PRESENTATION_MODE "presentation-mode"
#define ON_BATTERY_INACTIVITY_TIMEOUT "inactivity-on-battery" #define NETWORK_MANAGER_SLEEP "network-manager-sleep"
#define INACTIVITY_SLEEP_MODE_ON_AC "inactivity-sleep-mode-on-ac" #define SHOW_TRAY_ICON_CFG "show-tray-icon"
#define INACTIVITY_SLEEP_MODE_ON_BATTERY "inactivity-sleep-mode-on-battery" #define CPU_FREQ_CONTROL "enable-cpu-freq-control"
#define BRIGHTNESS_ON_AC "brightness-on-ac" #define POWER_SWITCH_CFG "power-button-action"
#define BRIGHTNESS_ON_BATTERY "brightness-on-battery" #define HIBERNATE_SWITCH_CFG "hibernate-button-action"
#define SLEEP_SWITCH_CFG "sleep-button-action"
#define LID_SWITCH_ON_AC_CFG "lid-action-on-ac"
#define BRIGHTNESS_LEVEL_ON_AC "brightness-level-on-ac" #define LID_SWITCH_ON_BATTERY_CFG "lid-action-on-battery"
#define BRIGHTNESS_LEVEL_ON_BATTERY "brightness-level-on-battery"
#define LOGIND_HANDLE_POWER_KEY "logind-handle-power-key"
#define BRIGHTNESS_SLIDER_MIN_LEVEL "brightness-slider-min-level" #define LOGIND_HANDLE_SUSPEND_KEY "logind-handle-suspend-key"
#define LOGIND_HANDLE_HIBERNATE_KEY "logind-handle-hibernate-key"
#define CRITICAL_POWER_LEVEL "critical-power-level" #define LOGIND_HANDLE_LID_SWITCH "logind-handle-lid-switch"
#define SHOW_BRIGHTNESS_POPUP "show-brightness-popup"
#define HANDLE_BRIGHTNESS_KEYS "handle-brightness-keys" #define BRIGHTNESS_ON_AC "brightness-on-ac"
#define BRIGHTNESS_ON_BATTERY "brightness-on-battery"
#define BRIGHTNESS_SWITCH "brightness-switch" #define BRIGHTNESS_LEVEL_ON_AC "brightness-level-on-ac"
#define BRIGHTNESS_SWITCH_SAVE "brightness-switch-restore-on-exit" #define BRIGHTNESS_LEVEL_ON_BATTERY "brightness-level-on-battery"
#define BRIGHTNESS_SLIDER_MIN_LEVEL "brightness-slider-min-level"
#define SHOW_TRAY_ICON_CFG "show-tray-icon" #define BRIGHTNESS_SWITCH "brightness-switch"
#define CRITICAL_BATT_ACTION_CFG "critical-power-action" #define BRIGHTNESS_SWITCH_SAVE "brightness-switch-restore-on-exit"
#define HANDLE_BRIGHTNESS_KEYS "handle-brightness-keys"
#define POWER_SWITCH_CFG "power-button-action" #define SHOW_BRIGHTNESS_POPUP "show-brightness-popup"
#define HIBERNATE_SWITCH_CFG "hibernate-button-action"
#define SLEEP_SWITCH_CFG "sleep-button-action"
#define LID_SWITCH_ON_AC_CFG "lid-action-on-ac"
#define LID_SWITCH_ON_BATTERY_CFG "lid-action-on-battery"
#define NETWORK_MANAGER_SLEEP "network-manager-sleep"
#define LOGIND_HANDLE_POWER_KEY "logind-handle-power-key"
#define LOGIND_HANDLE_SUSPEND_KEY "logind-handle-suspend-key"
#define LOGIND_HANDLE_HIBERNATE_KEY "logind-handle-hibernate-key"
#define LOGIND_HANDLE_LID_SWITCH "logind-handle-lid-switch"
#define PRESENTATION_MODE "presentation-mode"
G_END_DECLS G_END_DECLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment