git: 620d04d48034 - main - sysutils/gnome-control-center: Fix crash on 'power-saver-profile-on-low-battery'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Oct 2021 02:29:30 UTC
The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=620d04d480340aeb66734e27953cd33aa0baaa1c commit 620d04d480340aeb66734e27953cd33aa0baaa1c Author: Neel Chauhan <nc@FreeBSD.org> AuthorDate: 2021-10-22 02:29:13 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2021-10-22 02:29:27 +0000 sysutils/gnome-control-center: Fix crash on 'power-saver-profile-on-low-battery' --- sysutils/gnome-control-center/Makefile | 1 + .../files/patch-panels_power_cc-power-panel.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile index 9b0107c5ac6c..508fadc84782 100644 --- a/sysutils/gnome-control-center/Makefile +++ b/sysutils/gnome-control-center/Makefile @@ -2,6 +2,7 @@ PORTNAME= gnome-control-center PORTVERSION= 41.0 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome diff --git a/sysutils/gnome-control-center/files/patch-panels_power_cc-power-panel.c b/sysutils/gnome-control-center/files/patch-panels_power_cc-power-panel.c new file mode 100644 index 000000000000..ccfa622d8ca3 --- /dev/null +++ b/sysutils/gnome-control-center/files/patch-panels_power_cc-power-panel.c @@ -0,0 +1,12 @@ +--- panels/power/cc-power-panel.c.orig 2021-10-22 02:27:08 UTC ++++ panels/power/cc-power-panel.c +@@ -1641,9 +1641,6 @@ cc_power_panel_init (CcPowerPanel *self) + setup_power_profiles (self); + + setup_power_saving (self); +- g_settings_bind (self->gsd_settings, "power-saver-profile-on-low-battery", +- self->power_saver_low_battery_switch, "active", +- G_SETTINGS_BIND_DEFAULT); + + setup_general_section (self); +