diff --git a/comp/src/gb.form/.src/Stock.class b/comp/src/gb.form/.src/Stock.class index 95fb8f831..42b4cde0b 100644 --- a/comp/src/gb.form/.src/Stock.class +++ b/comp/src/gb.form/.src/Stock.class @@ -207,10 +207,19 @@ Static Private Sub SearchTheme(sDesktop As String) Case "mate" - If Not sTheme Then Try Exec ["mateconftool-2", "-g", "/desktop/mate/interface/icon_theme"] To sTheme + If Not sTheme Then + Try Exec ["dconf", "read", "/org/mate/desktop/interface/icon-theme"] To sTheme + If sTheme Then + sTheme = Trim(sTheme) + If sTheme Begins "'" Then sTheme = Chr$(34) & Mid$(sTheme, 2, -1) & Chr$(34) + sTheme = UnQuote(sTheme) + Else + Try Exec ["mateconftool-2", "-g", "/desktop/mate/interface/icon_theme"] To sTheme + sTheme = Trim(sTheme) + Endif + Endif If sTheme Then - sTheme = Trim(sTheme) GetAllThemePath("gnome", $aRoots, sTheme) Endif