1
0
gnome-control-center/gnome-control-center-more-power-button-actions.patch

13 lines
562 B
Diff

diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 3377500..f6fd736 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -2060,6 +2060,7 @@ populate_power_button_model (GtkTreeModel *model,
char *name;
GsdPowerButtonActionType value;
} actions[] = {
+ { N_("Shutdown"), GSD_POWER_BUTTON_ACTION_SHUTDOWN },
{ N_("Suspend"), GSD_POWER_BUTTON_ACTION_SUSPEND },
{ N_("Power Off"), GSD_POWER_BUTTON_ACTION_INTERACTIVE },
{ N_("Hibernate"), GSD_POWER_BUTTON_ACTION_HIBERNATE },