This commit is contained in:
Dylan 2016-01-24 11:09:44 +11:00
parent fcf7a3fca4
commit 10843ffabb
1 changed files with 1 additions and 2 deletions

3
fetch
View File

@ -902,6 +902,7 @@ getgtk () {
# Format the string # Format the string
gtk3theme=${gtk3theme/${name}*=/} gtk3theme=${gtk3theme/${name}*=/}
gtk3theme=${gtk3theme//\"/} gtk3theme=${gtk3theme//\"/}
gtk3theme=${gtk3theme/[[:space:]]}
gtktheme="${gtk2theme}${gtk3theme} [GTK3]" gtktheme="${gtk2theme}${gtk3theme} [GTK3]"
# Check to see if gtk2 and gtk3 theme are identical # Check to see if gtk2 and gtk3 theme are identical
@ -911,8 +912,6 @@ getgtk () {
gtktheme="None" gtktheme="None"
fi fi
gtktheme=${gtktheme/^[[:space:]]/}
# Make the output shorter by removing "[GTKX]" from the string # Make the output shorter by removing "[GTKX]" from the string
if [ "$gtk_shorthand" == "on" ]; then if [ "$gtk_shorthand" == "on" ]; then
gtktheme=${gtktheme/ [GTK2]/} gtktheme=${gtktheme/ [GTK2]/}