summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2017-08-07 15:32:33 (GMT)
committerJeremy Bicha <jbicha@ubuntu.com>2017-08-07 17:24:11 (GMT)
commit62c86c7712bab311999d1eb7def4e377b37fa27b (patch)
treefec8daa0cc6da1360b2af7f7b99986bb463a4812
parent360e051a3c145d26ee7107ea2412f5a67ae65b37 (diff)
downloadgnome-control-center-62c86c7.zip
gnome-control-center-62c86c7.tar.xz
power: Restore Power Off option for Power Button
https://bugzilla.gnome.org/show_bug.cgi?id=781108
-rw-r--r--panels/power/cc-power-panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index db4e69a..d2c6f95 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -2065,6 +2065,7 @@ populate_power_button_model (GtkTreeModel *model,
GsdPowerButtonActionType value;
} actions[] = {
{ N_("Suspend"), GSD_POWER_BUTTON_ACTION_SUSPEND },
+ { N_("Power Off"), GSD_POWER_BUTTON_ACTION_INTERACTIVE },
{ N_("Hibernate"), GSD_POWER_BUTTON_ACTION_HIBERNATE },
{ N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING }
};