From e817a8fe642df3d9f9c40da6739368c671fb9cce Mon Sep 17 00:00:00 2001 From: pztrn Date: Mon, 10 Oct 2016 20:18:59 +0500 Subject: [PATCH] Windows theming with default theme. --- ui/mainwindow_init_win.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/mainwindow_init_win.go b/ui/mainwindow_init_win.go index 9bdc783..be54e69 100644 --- a/ui/mainwindow_init_win.go +++ b/ui/mainwindow_init_win.go @@ -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") }