[gnome-tweak-tool] windows: Don't show HiDPI section
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] windows: Don't show HiDPI section
- Date: Thu, 10 Aug 2017 17:45:09 +0000 (UTC)
commit 34d6d451d7c25482c65c09220ef979aae8101d9d
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Thu Aug 10 13:17:11 2017 -0400
windows: Don't show HiDPI section
Moved to Settings>Displays in gnome-control-center 3.25.4+
Keep the strings and code for now just in case we change our mind
https://bugzilla.gnome.org/show_bug.cgi?id=785610
gtweak/tweaks/tweak_group_windows.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_windows.py b/gtweak/tweaks/tweak_group_windows.py
index e373500..49516ab 100644
--- a/gtweak/tweaks/tweak_group_windows.py
+++ b/gtweak/tweaks/tweak_group_windows.py
@@ -302,8 +302,11 @@ class WindowScalingFactorTweak(Gtk.Box, Tweak):
self._close()
self._dialog.destroy()
+Title(_("HiDPI"), "", uid="title-hidpi")
+
depends_how = lambda x,kn: x.get_string(kn) in ("mouse", "sloppy")
+
TWEAK_GROUPS = [
ListBoxTweakGroup(_("Windows"),
GSettingsSwitchTweak(_("Attach Modal Dialogs"),"org.gnome.mutter", "attach-modal-dialogs",
@@ -324,8 +327,6 @@ TWEAK_GROUPS = [
ShowWindowButtons(_("Maximize"), "maximize"),
ShowWindowButtons(_("Minimize"), "minimize"),
PlaceWindowButtons(),
- Title(_("HiDPI"), "", uid="title-hidpi"),
- WindowScalingFactorTweak(),
)
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]