gnome-control-center/gnome-control-center-more-power-button-actions.patch
Dominique Leuenberger 6b171a5378 Accepting request 1183892 from GNOME:Next
- Update to version 46.3:
  + CI fixes
  + Mouse: Make Mouse test click indicator not respond for middle
    clicks
  + Network: Reference icon-name proper for wifi panel
  + Tests: Don't require Xvfb or setxkbmap for tests
  + Sharing: Make Orca read the "Add Folder" row in Media Sharing
    settings
  + Update translations.
- Refresh patches with quilt.

OBS-URL: https://build.opensuse.org/request/show/1183892
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=561
2024-07-01 08:58:41 +00:00

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;