mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-01 19:13:59 +00:00
Remove quotes from theme name
This commit is contained in:
@@ -31,7 +31,7 @@ else:
|
||||
]
|
||||
|
||||
if 'DESKTOP_SESSION' in os.environ and os.environ['DESKTOP_SESSION'].lower() == 'gnome':
|
||||
_current_theme = os.popen('gconftool-2 -g /desktop/gnome/interface/icon_theme').read().strip() or os.popen('gsettings get org.gnome.desktop.interface icon-theme').read().strip() or None
|
||||
_current_theme = os.popen('gconftool-2 -g /desktop/gnome/interface/icon_theme').read().strip() or os.popen('gsettings get org.gnome.desktop.interface icon-theme').read().strip()[1:-1] or None
|
||||
elif os.environ.get('KDE_FULL_SESSION'):
|
||||
_current_theme = os.popen("kreadconfig --file kdeglobals --group Icons --key Theme --default crystalsvg").read().strip() or None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user