Windows theming with default theme.

This commit is contained in:
Stanislav Nikitin 2016-10-10 20:18:59 +05:00
parent 1a15c6cd4d
commit e817a8fe64

View File

@ -7,4 +7,9 @@ import (
func (m *MainWindow) initializeWin() {
platform.HideConsole(true)
dir, _ := filepath.Abs(filepath.Dir(os.Args[0]))
// ToDo: theming support and theme seletion in settings.
gtk.RCParse(dir + "/themes/MS-Windows/gtk-2.0/gtkrc")
}