[gnome-tweak-tool] windows: Revert to 3.24 Focus Mode combobox
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] windows: Revert to 3.24 Focus Mode combobox
- Date: Thu, 10 Aug 2017 17:47:40 +0000 (UTC)
commit ca0166cf626474ad1ae654e18d5d625b05e9728d
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Thu Aug 10 13:42:26 2017 -0400
windows: Revert to 3.24 Focus Mode combobox
instead of the new listbox as a workaround to avoid vertical scrolling
which looks bad with the current UI backend
Keep the code and strings for future use.
https://bugzilla.gnome.org/show_bug.cgi?id=786069
gtweak/tweaks/tweak_group_windows.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_windows.py b/gtweak/tweaks/tweak_group_windows.py
index 49516ab..0691973 100644
--- a/gtweak/tweaks/tweak_group_windows.py
+++ b/gtweak/tweaks/tweak_group_windows.py
@@ -25,7 +25,12 @@ import gettext
from gi.repository import Gio, Gtk, GLib
-class Focus(Gtk.ListBox, Tweak):
+class Focus(GSettingsComboEnumTweak):
+ def __init__(self, **options):
+ GSettingsComboEnumTweak.__init__(self, _("Focus Mode"), "org.gnome.desktop.wm.preferences",
"focus-mode")
+
+
+class NewFocusListBox(Gtk.ListBox, Tweak):
def __init__(self, **options):
Gtk.ListBox.__init__(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]