Stock: Add 'Gambas' and 'Gambas-Mono' to the icon theme list.

[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Remove 'Gambas' and 'Gambas-Mono' from the theme list as they are now returned by the Stock.Themes property.

[GB.FORM]
* NEW: Stock: Add 'Gambas' and 'Gambas-Mono' to the icon theme list.
This commit is contained in:
gambas 2018-02-20 13:26:55 +01:00
parent f26358a1c9
commit 2c9f8fdb2f
2 changed files with 2 additions and 1 deletions

View file

@ -81,7 +81,7 @@ Public Sub _new()
cmbTheme.List = $aThemeName.Copy().Sort(gb.Language)
cmbTheme.Add(("Custom"), 0)
cmbIconTheme.List = [("Desktop"), "Gambas", "Gambas-Mono", "Gnome", "KDE", "Trinity", "KDE4", "KDE5", "LXDE", "Mate", "XFCE"].Insert(Stock.Themes)
cmbIconTheme.List = [("Desktop"), "Gnome", "KDE", "Trinity", "KDE4", "KDE5", "LXDE", "Mate", "XFCE"].Insert(Stock.Themes)
cmbBrowser.List = [("(Default)"), "Konqueror", "Rekonq", "Firefox", "Iceweasel", "Epiphany", "SeaMonkey", "Opera", "Chromium"]
cmbTerminal.List = [("(Default)"), "Konsole", "Gnome Terminal", "XFCE Terminal", "lxterminal", "XTerm"]
txtEditorFont.Default = Project.DEFAULT_FONT

View file

@ -769,6 +769,7 @@ Static Private Function Themes_Read() As String[]
Next
Next
aTheme.Insert(["Gambas", "Gambas-Mono"])
aTheme.Sort(gb.IgnoreCase)
Return aTheme