[gnome-tweak-tool/gnome-3-8] Dont look in ~/.themes for metacity themes



commit a8ecc3dbf2890aeae31d3597134b42c8738d0525
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 7e4f427..7031ee5 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]