desktop.py | raw changeset files shortlog |
1.1 --- a/desktop.py Mon Aug 27 22:28:35 2007 +0000 1.2 +++ b/desktop.py Tue Aug 28 22:24:55 2007 +0000 1.3 @@ -125,7 +125,7 @@ 1.4 vars = "DISPLAY=:0.0 " 1.5 else: 1.6 vars = "" 1.7 - return _readfrom(vars + "xprop -root _DT_SAVE_MODE", shell=1).endswith(' = "xfce4"') 1.8 + return _readfrom(vars + "xprop -root _DT_SAVE_MODE", shell=1).strip().endswith(' = "xfce4"') 1.9 1.10 except OSError: 1.11 return 0