forked from pool/gnome-control-center
Dominique Leuenberger
773408f8da
- Rebase gnome-control-center-disable-error-message-for-NM.patch, gnome-control-center-info-never-use-gnome-software.patch, gnome-control-center-more-power-button-actions.patch and gnome-control-center-bring-back-firewall-zone.patch(bsc#1216601). OBS-URL: https://build.opensuse.org/request/show/1121525 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=527
15 lines
644 B
Diff
15 lines
644 B
Diff
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
|
|
index 26e3837..3fa91db 100644
|
|
--- a/panels/power/cc-power-panel.c
|
|
+++ b/panels/power/cc-power-panel.c
|
|
@@ -680,7 +680,8 @@ populate_power_button_row (AdwComboRow *combo_row,
|
|
{ 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 }
|
|
+ { N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING },
|
|
+ { N_("Force Off"), GSD_POWER_BUTTON_ACTION_SHUTDOWN }
|
|
};
|
|
guint item_index = 0;
|
|
guint i;
|