Windows theming with default theme.
This commit is contained in:
parent
1a15c6cd4d
commit
e817a8fe64
@ -7,4 +7,9 @@ import (
|
|||||||
|
|
||||||
func (m *MainWindow) initializeWin() {
|
func (m *MainWindow) initializeWin() {
|
||||||
platform.HideConsole(true)
|
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")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user