forked from pool/gnome-control-center
Dominique Leuenberger
2197c45f54
- Rebased 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#1184098). OBS-URL: https://build.opensuse.org/request/show/888378 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=459
19 lines
830 B
Diff
19 lines
830 B
Diff
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
|
|
char *name;
|
|
GsdPowerButtonActionType value;
|
|
} actions[] = {
|
|
+ { N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING },
|
|
{ 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_("Power Off"), GSD_POWER_BUTTON_ACTION_INTERACTIVE },
|
|
+ { N_("Force Off"), GSD_POWER_BUTTON_ACTION_SHUTDOWN }
|
|
};
|
|
guint i;
|
|
|