[gnome-tweak-tool] Dont look in ~/.themes for metacity themes
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Dont look in ~/.themes for metacity themes
- Date: Wed, 1 May 2013 13:54:34 +0000 (UTC)
commit f5c3e0b2ee9d30c7dbfc87526bd9aa6a0eb7acf7
Author: John Stowers <john stowers gmail com>
Date: Wed May 1 15:57:04 2013 +0200
Dont look in ~/.themes for metacity themes
Fixes bug 693350
gtweak/tweaks/tweak_windows.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_windows.py b/gtweak/tweaks/tweak_windows.py
index 3182281..4838ec5 100644
--- a/gtweak/tweaks/tweak_windows.py
+++ b/gtweak/tweaks/tweak_windows.py
@@ -34,8 +34,7 @@ class WindowThemeSwitcher(GSettingsComboTweak):
def _get_valid_themes(self):
dirs = ( os.path.join(gtweak.DATA_DIR, "themes"),
- os.path.join(GLib.get_user_data_dir(), "themes"),
- os.path.join(os.path.expanduser("~"), ".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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]