summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-11-05 17:52:21 +0000
committerMartin Wimpress <[email protected]>2015-11-05 17:52:21 +0000
commite11db558736253011ca1ce4af13962adeb4fe567 (patch)
tree8710c6942e4b35b09e784395b6a3a0ea40caf318
parente31032070ee8564238ba0196ab78f6882114a0bf (diff)
parente4acc883b2b79d3c24ec6a9ad5a649f5e3d23e5e (diff)
downloadmate-power-manager-e11db558736253011ca1ce4af13962adeb4fe567.tar.bz2
mate-power-manager-e11db558736253011ca1ce4af13962adeb4fe567.tar.xz
Merge pull request #172 from sunweaver/pr/disable-powerbtn
Support disabling of PowerBtn.
-rw-r--r--src/gpm-prefs-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c
index 37f6842..ef7edad 100644
--- a/src/gpm-prefs-core.c
+++ b/src/gpm-prefs-core.c
@@ -632,6 +632,7 @@ prefs_setup_general (GpmPrefs *prefs)
GPM_ACTION_POLICY_SUSPEND,
GPM_ACTION_POLICY_HIBERNATE,
GPM_ACTION_POLICY_SHUTDOWN,
+ GPM_ACTION_POLICY_NOTHING,
-1};
const GpmActionPolicy suspend_button_actions[] =
{GPM_ACTION_POLICY_NOTHING,