2021-04-27 12:33:58 +02:00
|
|
|
Index: gnome-control-center-40.0/panels/power/cc-power-panel.c
|
|
|
|
===================================================================
|
|
|
|
--- gnome-control-center-40.0.orig/panels/power/cc-power-panel.c
|
|
|
|
+++ gnome-control-center-40.0/panels/power/cc-power-panel.c
|
|
|
|
@@ -1078,10 +1078,11 @@ populate_power_button_model (GtkTreeMode
|
2017-04-24 10:38:27 +02:00
|
|
|
char *name;
|
|
|
|
GsdPowerButtonActionType value;
|
|
|
|
} actions[] = {
|
2019-12-12 13:09:58 +01:00
|
|
|
+ { N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING },
|
2017-08-31 09:41:33 +02:00
|
|
|
{ N_("Suspend"), GSD_POWER_BUTTON_ACTION_SUSPEND },
|
2019-12-12 13:09:58 +01:00
|
|
|
- { N_("Power Off"), GSD_POWER_BUTTON_ACTION_INTERACTIVE },
|
2017-08-31 09:41:33 +02:00
|
|
|
{ N_("Hibernate"), GSD_POWER_BUTTON_ACTION_HIBERNATE },
|
2019-12-12 13:09:58 +01:00
|
|
|
- { N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING }
|
|
|
|
+ { N_("Power Off"), GSD_POWER_BUTTON_ACTION_INTERACTIVE },
|
|
|
|
+ { N_("Force Off"), GSD_POWER_BUTTON_ACTION_SHUTDOWN }
|
|
|
|
};
|
|
|
|
guint i;
|
|
|
|
|