forked from pool/gnome-control-center
Dominique Leuenberger
05e3acd073
- Add gnome-control-center-more-power-button-actions.patch: Bring back the "shutdown" and "interactive" power key actions in "Power" panel (bsc#993381). OBS-URL: https://build.opensuse.org/request/show/487824 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=345
19 lines
753 B
Diff
19 lines
753 B
Diff
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
|
|
index e631e0b..fed19dd 100644
|
|
--- a/panels/power/cc-power-panel.c
|
|
+++ b/panels/power/cc-power-panel.c
|
|
@@ -2020,9 +2020,11 @@ populate_power_button_model (GtkTreeModel *model)
|
|
char *name;
|
|
GsdPowerButtonActionType value;
|
|
} actions[] = {
|
|
- { N_("Suspend"), GSD_POWER_BUTTON_ACTION_SUSPEND },
|
|
{ N_("Hibernate"), GSD_POWER_BUTTON_ACTION_HIBERNATE },
|
|
- { N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING }
|
|
+ { N_("Interactive"), GSD_POWER_BUTTON_ACTION_INTERACTIVE},
|
|
+ { N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING },
|
|
+ { N_("Shutdown"), GSD_POWER_BUTTON_ACTION_SHUTDOWN },
|
|
+ { N_("Suspend"), GSD_POWER_BUTTON_ACTION_SUSPEND }
|
|
};
|
|
guint i;
|
|
|