force image in category button
This commit is contained in:
2
main.go
2
main.go
@@ -19,7 +19,7 @@ import (
|
||||
"github.com/gotk3/gotk3/gtk"
|
||||
)
|
||||
|
||||
const version = "0.1.4"
|
||||
const version = "0.1.5"
|
||||
|
||||
var (
|
||||
appDirs []string
|
||||
|
||||
@@ -131,6 +131,7 @@ func setUpCategoriesButtonBox() *gtk.EventBox {
|
||||
button.SetProperty("name", "category-button")
|
||||
catButtons = append(catButtons, button)
|
||||
button.SetLabel(cat.DisplayName)
|
||||
button.SetAlwaysShowImage(true)
|
||||
hBox.PackStart(button, false, false, 0)
|
||||
name := cat.Name
|
||||
b := *button
|
||||
|
||||
Reference in New Issue
Block a user