More Mac integration works - now it is able to load and use GTK+

themes. Configuration interface on ToDo.

This also indicates that URTrator is now able to perform basic
window theming.
This commit is contained in:
2016-10-10 19:16:51 +05:00
parent 25dfa5072b
commit 2784586f8d
19 changed files with 1650 additions and 14 deletions

View File

@@ -76,7 +76,11 @@ func (m *MainWindow) Initialize() {
m.options_dialog = &OptionsDialog{}
// Main menu.
m.InitializeMainMenu()
if runtime.GOOS == "darwin" {
m.initializeMacMenu()
} else {
m.InitializeMainMenu()
}
// Toolbar.
m.InitializeToolbar()
@@ -140,6 +144,7 @@ func (m *MainWindow) Initialize() {
profile_and_launch_hbox.PackStart(m.launch_button, false, true, 5)
m.window.Add(m.vbox)
m.window.ShowAll()
// Launch events.