[gnome-tweaks] tweaks: Remove extensions tweak
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweaks] tweaks: Remove extensions tweak
- Date: Fri, 23 Oct 2020 23:57:12 +0000 (UTC)
commit b67eebacc9cf7895779d711ac8ec9dd6a0f17b28
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 7 21:31:31 2020 +0100
tweaks: Remove extensions tweak
gnome-shell-extension-prefs has been turned into a user-visible
Extensions app. There is no good reason for exposing a subset of
its functionality in Tweaks, so remove the corresponding group.
https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/272
data/shell.ui | 4 -
gtweak/app.py | 9 -
gtweak/egowrapper.py | 105 ----------
gtweak/meson.build | 2 -
gtweak/tweaks/tweak_group_shell_extensions.py | 285 --------------------------
5 files changed, 405 deletions(-)
---
diff --git a/data/shell.ui b/data/shell.ui
index 35015132..d9a88ddb 100644
--- a/data/shell.ui
+++ b/data/shell.ui
@@ -7,10 +7,6 @@
<attribute name="label" translatable="yes">_Reset to Defaults</attribute>
<attribute name="action">app.reset</attribute>
</item>
- <item>
- <attribute name="label" translatable="yes">Disable All Shell Extensions</attribute>
- <attribute name="action">app.disable_extension</attribute>
- </item>
</section>
<section>
<item>
diff --git a/gtweak/app.py b/gtweak/app.py
index c98f56f4..a38cd989 100644
--- a/gtweak/app.py
+++ b/gtweak/app.py
@@ -14,7 +14,6 @@ from gtweak.tweakmodel import TweakModel
from gtweak.tweakview import Window
from gtweak.utils import SchemaList
from gtweak.gshellwrapper import GnomeShellFactory
-from gtweak.utils import DisableExtension
class GnomeTweaks(Gtk.Application):
@@ -39,10 +38,6 @@ class GnomeTweaks(Gtk.Application):
reset_action.connect("activate", self.reset_cb)
self.add_action(reset_action)
- disable_extension_action = Gio.SimpleAction.new("disable_extension", None)
- disable_extension_action.connect("activate", self.disable_cb)
- self.add_action(disable_extension_action)
-
help_action = Gio.SimpleAction.new("help", None)
help_action.connect("activate", self.help_cb)
self.add_action(help_action)
@@ -64,10 +59,6 @@ class GnomeTweaks(Gtk.Application):
def help_cb(self, action, parameter):
print("This does nothing. It is only a demonstration.")
- def disable_cb(self, action, parameter):
- ds = DisableExtension()
- ds.disable()
-
def about_cb(self, action, parameter):
aboutdialog = Gtk.AboutDialog(modal=True, transient_for=self.win)
aboutdialog.set_program_name(aboutdialog.get_program_name() + " %s" % VERSION)
diff --git a/gtweak/meson.build b/gtweak/meson.build
index 3d9a7432..052b7cb4 100644
--- a/gtweak/meson.build
+++ b/gtweak/meson.build
@@ -17,7 +17,6 @@ configure_file(
shell_sources = [
'app.py',
- 'egowrapper.py',
'gsettings.py',
'gshellwrapper.py',
'gtksettings.py',
@@ -35,7 +34,6 @@ tweak_sources = [
'tweaks/tweak_group_font.py',
'tweaks/tweak_group_general.py',
'tweaks/tweak_group_keymouse.py',
- 'tweaks/tweak_group_shell_extensions.py',
'tweaks/tweak_group_startup.py',
'tweaks/tweak_group_test.py',
'tweaks/tweak_group_title_bar.py',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]