diff -up gnome-tweaks-3.28.1/gtweak/tweaks/tweak_group_shell_extensions.py.set-rows-not-activateble gnome-tweaks-3.28.1/gtweak/tweaks/tweak_group_shell_extensions.py --- gnome-tweaks-3.28.1/gtweak/tweaks/tweak_group_shell_extensions.py.set-rows-not-activateble 2019-08-14 10:17:43.958232804 +0200 +++ gnome-tweaks-3.28.1/gtweak/tweaks/tweak_group_shell_extensions.py 2019-08-14 10:17:43.961232804 +0200 @@ -239,7 +239,8 @@ class ShellExtensionTweakGroup(ListBoxTw ListBoxTweakGroup.__init__(self, _("Extensions"), - *extension_tweaks) + *extension_tweaks, + activatable=True) if shell is None: return # we're done diff -up gnome-tweaks-3.28.1/gtweak/widgets.py.set-rows-not-activateble gnome-tweaks-3.28.1/gtweak/widgets.py --- gnome-tweaks-3.28.1/gtweak/widgets.py.set-rows-not-activateble 2019-08-14 10:17:43.960232804 +0200 +++ gnome-tweaks-3.28.1/gtweak/widgets.py 2019-08-14 10:19:22.332231444 +0200 @@ -202,6 +202,10 @@ class ListBoxTweakGroup(Gtk.ListBox, Twe def __init__(self, name, *tweaks, **options): if 'uid' not in options: options['uid'] = self.__class__.__name__ + if 'activatable' not in options: + activatable = False + else: + activatable = options['activatable'] Gtk.ListBox.__init__(self, selection_mode=Gtk.SelectionMode.NONE, name=options['uid']) @@ -217,12 +221,12 @@ class ListBoxTweakGroup(Gtk.ListBox, Twe TweakGroup.__init__(self, name, **options) for t in tweaks: - self.add_tweak_row(t) + self.add_tweak_row(t, activatable) #FIXME: need to add remove_tweak_row and remove_tweak (which clears #the search cache etc) - def add_tweak_row(self, t, position=None): + def add_tweak_row(self, t, activatable=False, position=None): if t == None: return None @@ -235,6 +239,7 @@ class ListBoxTweakGroup(Gtk.ListBox, Twe if isinstance(t, Title): row.get_style_context().add_class("title") row.add(t) + row.set_activatable(activatable) if position is None: self.add(row) else: