diff --git a/comp/src/gb.form/.src/Stock.class b/comp/src/gb.form/.src/Stock.class index 2819756a4..8979e2955 100644 --- a/comp/src/gb.form/.src/Stock.class +++ b/comp/src/gb.form/.src/Stock.class @@ -297,7 +297,7 @@ Static Private Sub InitTheme() If Not sTheme Then aFind = FindInConfigFile("~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml", "**") If Not aFind Then FindInConfigFile("~/.config/xfce4/mcs_settings/gtk.xml", "**") - If aFind Then sTheme = Trim(aFind[2]) + If aFind Then sTheme = Trim(aFind[1]) Endif If sTheme Then GetAllThemePath("gnome", ["~/.icons", "/usr/share/icons"], sTheme) @@ -310,6 +310,7 @@ Static Private Sub InitTheme() If Not sTheme Then aFind = FindInConfigFile("~/.config/lxde/config", "sNet/IconThemeName=*") If Not aFind Then aFind = FindInConfigFile("~/.config/lxsession/LXDE/desktop.conf", "sNet/IconThemeName=*") + If Not aFind Then aFind = FindInConfigFile("/usr/share/lxde/config", "sNet/IconThemeName=*") If Not aFind Then aFind = FindInConfigFile("/etc/xdg/lxsession/LXDE/desktop.conf", "sNet/IconThemeName=*") If aFind Then sTheme = Trim(aFind[0]) Endif