diff --git a/ui/mainwindow_init.go b/ui/mainwindow_init.go index 0b530a2..50a97aa 100644 --- a/ui/mainwindow_init.go +++ b/ui/mainwindow_init.go @@ -156,6 +156,10 @@ func (m *MainWindow) Initialize() { m.window.Add(m.vbox) + if runtime.GOOS == "darwin" { + m.initializeMacAfter() + } + m.window.ShowAll() // Launch events. diff --git a/ui/mainwindow_init_mac.go b/ui/mainwindow_init_mac.go index cfed101..44bf0a1 100644 --- a/ui/mainwindow_init_mac.go +++ b/ui/mainwindow_init_mac.go @@ -21,6 +21,10 @@ func (m *MainWindow) initializeMac() { } } +func (m *MainWindow) initializeMacAfter() { + m.toolbar.SetStyle(gtk.TOOLBAR_ICONS) +} + func (m *MainWindow) initializeMacMenu() { // This is a placeholder, in future we will use native mac menu. // For now it launches default menu initialization.