[gnome-tweak-tool] interface: Remove WindowTheme tweak
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] interface: Remove WindowTheme tweak
- Date: Mon, 29 Dec 2014 17:24:25 +0000 (UTC)
commit 4db51ee4bcc4cad9bb9e6fb3ab68f44c3be6e317
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Oct 2 01:06:05 2014 +0200
interface: Remove WindowTheme tweak
The theme is no longer used in GNOME, window decorations are now
styled according to the GTK+ theme.
gtweak/tweaks/tweak_group_interface.py | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_interface.py b/gtweak/tweaks/tweak_group_interface.py
index 07f3a1e..16c82e5 100644
--- a/gtweak/tweaks/tweak_group_interface.py
+++ b/gtweak/tweaks/tweak_group_interface.py
@@ -90,22 +90,6 @@ class CursorThemeSwitcher(GSettingsComboTweak):
os.path.exists(os.path.join(d, "cursors")))
return valid
-class WindowThemeSwitcher(GSettingsComboTweak):
- def __init__(self, **options):
- GSettingsComboTweak.__init__(self,
- _("Window"),
- "org.gnome.desktop.wm.preferences",
- "theme",
- make_combo_list_with_default(self._get_valid_themes(), "Adwaita"),
- **options)
-
- def _get_valid_themes(self):
- dirs = ( os.path.join(gtweak.DATA_DIR, "themes"),
- os.path.join(GLib.get_user_data_dir(), "themes"))
- valid = walk_directories(dirs, lambda d:
- os.path.exists(os.path.join(d, "metacity-1")))
- return valid
-
class ShellThemeTweak(Gtk.Box, Tweak):
THEME_EXT_NAME = "user-theme gnome-shell-extensions gcampax github com"
@@ -270,7 +254,6 @@ TWEAK_GROUPS = [
#GSettingsSwitchTweak("Buttons Icons","org.gnome.desktop.interface", "buttons-have-icons"),
#GSettingsSwitchTweak("Menu Icons","org.gnome.desktop.interface", "menus-have-icons"),
Title(_("Theme"), "", uid="title-theme"),
- WindowThemeSwitcher(),
GtkThemeSwitcher(),
IconThemeSwitcher(),
CursorThemeSwitcher(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]