mirror of
https://github.com/nwg-piotr/nwg-drawer.git
synced 2024-08-16 17:20:22 +03:00
force image in category button
This commit is contained in:
parent
955429d809
commit
897d693d62
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
|
||||
|
Loading…
Reference in New Issue
Block a user