[gnome-tweak-tool] windows: Use smaller checkboxes in ListBox



commit a4bd897fa096f0d9379a945c6346860eb5bb6ca1
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Mon Jun 12 15:58:30 2017 -0400

    windows: Use smaller checkboxes in ListBox

 gtweak/tweaks/tweak_group_windows.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_windows.py b/gtweak/tweaks/tweak_group_windows.py
index 46e35e9..794916f 100644
--- a/gtweak/tweaks/tweak_group_windows.py
+++ b/gtweak/tweaks/tweak_group_windows.py
@@ -25,7 +25,7 @@ import gettext
 from gi.repository import Gio, Gtk, GLib
 
 
-class Focus(Gtk.ListBox, _GSettingsTweak):
+class Focus(Gtk.ListBox, Tweak):
 
     def __init__(self, **options):
         Gtk.ListBox.__init__(self)
@@ -55,7 +55,7 @@ class Focus(Gtk.ListBox, _GSettingsTweak):
         lbl_desc.get_style_context().add_class("dim-label")
         lbl_desc.set_markup("<span size='small'>"+GLib.markup_escape_text(desc)+"</span>")
 
-        self.check_click = Gtk.Image.new_from_icon_name("object-select-symbolic", 
Gtk.IconSize.LARGE_TOOLBAR);
+        self.check_click = Gtk.Image.new_from_icon_name("object-select-symbolic", 
Gtk.IconSize.SMALL_TOOLBAR);
         self.check_click.set_no_show_all(True)
         self.check_click.set_visible(self.settings[self.key_name] == "click")
 
@@ -81,7 +81,7 @@ class Focus(Gtk.ListBox, _GSettingsTweak):
         lbl_desc.get_style_context().add_class("dim-label")
         lbl_desc.set_markup("<span size='small'>"+GLib.markup_escape_text(desc)+"</span>")
 
-        self.check_sloppy = Gtk.Image.new_from_icon_name("object-select-symbolic", 
Gtk.IconSize.LARGE_TOOLBAR);
+        self.check_sloppy = Gtk.Image.new_from_icon_name("object-select-symbolic", 
Gtk.IconSize.SMALL_TOOLBAR);
         self.check_sloppy.set_no_show_all(True)
         self.check_sloppy.set_visible(self.settings[self.key_name] == "sloppy")
 
@@ -107,7 +107,7 @@ class Focus(Gtk.ListBox, _GSettingsTweak):
         lbl_desc.get_style_context().add_class("dim-label")
         lbl_desc.set_markup("<span size='small'>"+GLib.markup_escape_text(desc)+"</span>")
 
-        self.check_mouse = Gtk.Image.new_from_icon_name("object-select-symbolic", 
Gtk.IconSize.LARGE_TOOLBAR);
+        self.check_mouse = Gtk.Image.new_from_icon_name("object-select-symbolic", 
Gtk.IconSize.SMALL_TOOLBAR);
         self.check_mouse.set_no_show_all(True)
         self.check_mouse.set_visible(self.settings[self.key_name] == "mouse")
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]