[gnome-control-center/wip/hadess/power-fixes: 57/61] power: Rename "Suspend and Power Button" section
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/hadess/power-fixes: 57/61] power: Rename "Suspend and Power Button" section
- Date: Mon, 6 Jul 2020 15:27:17 +0000 (UTC)
commit 7d4d90e39d79d6ca0b5ab4af03a2642984e7715f
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 6 13:25:41 2020 +0200
power: Rename "Suspend and Power Button" section
To "General" to match the latest mockups.
panels/power/cc-power-panel.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 50952f4d9..c9cc0c245 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -2213,7 +2213,7 @@ can_suspend_or_hibernate (CcPowerPanel *self,
}
static void
-add_suspend_and_power_off_section (CcPowerPanel *self)
+add_general_section (CcPowerPanel *self)
{
GtkWidget *widget, *box, *label, *title;
GtkWidget *row;
@@ -2349,7 +2349,7 @@ add_suspend_and_power_off_section (CcPowerPanel *self)
box = row_box_new ();
gtk_container_add (GTK_CONTAINER (row), box);
- title = row_title_new (_("Po_wer Button Action"), NULL, &label);
+ title = row_title_new (_("Po_wer Button Behavior"), NULL, &label);
gtk_box_pack_start (GTK_BOX (box), title, TRUE, TRUE, 0);
self->power_button_combo = gtk_combo_box_text_new ();
@@ -2529,7 +2529,7 @@ cc_power_panel_init (CcPowerPanel *self)
add_battery_section (self);
add_device_section (self);
add_power_saving_section (self);
- add_suspend_and_power_off_section (self);
+ add_general_section (self);
self->boxes = g_list_copy (self->boxes_reverse);
self->boxes = g_list_reverse (self->boxes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]