[gnome-tweaks] general: Move Animations, Power and Sound to new General panel
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweaks] general: Move Animations, Power and Sound to new General panel
- Date: Mon, 30 Jul 2018 19:03:23 +0000 (UTC)
commit 02c7c0ace3e3ef9e6b9609d2b538fd3ebedd5b6d
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Mon Jul 30 14:59:13 2018 -0400
general: Move Animations, Power and Sound to new General panel
Since Power and Sound currently only have one item each,
combine them to a new General panel.
Also, move the Animations tweak there.
https://gitlab.gnome.org/Community/Design/app-mockups/blob/master/tweaks/tweaks-wires.png
gtweak/tweaks/tweak_group_appearance.py | 1 -
.../{tweak_group_power.py => tweak_group_general.py} | 7 +++++--
gtweak/tweaks/tweak_group_sound.py | 16 ----------------
po/POTFILES.in | 3 +--
4 files changed, 6 insertions(+), 21 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_appearance.py b/gtweak/tweaks/tweak_group_appearance.py
index ff78735..fff578c 100644
--- a/gtweak/tweaks/tweak_group_appearance.py
+++ b/gtweak/tweaks/tweak_group_appearance.py
@@ -256,7 +256,6 @@ TWEAK_GROUPS = [
ListBoxTweakGroup(_("Appearance"),
#GSettingsSwitchTweak("Buttons Icons","org.gnome.desktop.interface", "buttons-have-icons"),
#GSettingsSwitchTweak("Menu Icons","org.gnome.desktop.interface", "menus-have-icons"),
- GSettingsSwitchTweak(_("Animations"), "org.gnome.desktop.interface", "enable-animations"),
Title(_("Themes"), "", uid="title-theme"),
GtkThemeSwitcher(),
CursorThemeSwitcher(),
diff --git a/gtweak/tweaks/tweak_group_power.py b/gtweak/tweaks/tweak_group_general.py
similarity index 78%
rename from gtweak/tweaks/tweak_group_power.py
rename to gtweak/tweaks/tweak_group_general.py
index 305877f..0e0130b 100644
--- a/gtweak/tweaks/tweak_group_power.py
+++ b/gtweak/tweaks/tweak_group_general.py
@@ -6,7 +6,7 @@ from gi.repository import Gio, GLib, Gtk
import gtweak
from gtweak.tweakmodel import Tweak
-from gtweak.widgets import ListBoxTweakGroup, GetterSetterSwitchTweak
+from gtweak.widgets import ListBoxTweakGroup, GetterSetterSwitchTweak, GSettingsSwitchTweak
from gtweak.utils import AutostartFile
@@ -43,7 +43,10 @@ class IgnoreLidSwitchTweak(GetterSetterSwitchTweak):
return False
TWEAK_GROUPS = [
- ListBoxTweakGroup(_("Power"),
+ ListBoxTweakGroup(_("General"),
+ GSettingsSwitchTweak(_("Animations"), "org.gnome.desktop.interface", "enable-animations"),
IgnoreLidSwitchTweak(),
+ GSettingsSwitchTweak(_("Over-Amplification"), "org.gnome.desktop.sound",
"allow-volume-above-100-percent",
+ desc=_("Allows raising the volume above 100%. This can result in a loss of audio quality; it is
better to increase application volume settings, if possible.")),
),
]
diff --git a/po/POTFILES.in b/po/POTFILES.in
index acf4dbe..9319243 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -8,10 +8,9 @@ gtweak/tweakview.py
gtweak/tweaks/tweak_group_appearance.py
gtweak/tweaks/tweak_group_desktop.py
gtweak/tweaks/tweak_group_font.py
+gtweak/tweaks/tweak_group_general.py
gtweak/tweaks/tweak_group_keymouse.py
-gtweak/tweaks/tweak_group_power.py
gtweak/tweaks/tweak_group_shell_extensions.py
-gtweak/tweaks/tweak_group_sound.py
gtweak/tweaks/tweak_group_startup.py
gtweak/tweaks/tweak_group_title_bar.py
gtweak/tweaks/tweak_group_top_bar.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]