Merge pull request #9 from nwg-piotr/force_img

SetAlwaysShowImage(true) in category button
This commit is contained in:
Piotr Miller
2021-07-21 01:55:17 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ import (
"github.com/gotk3/gotk3/gtk"
)
const version = "0.1.4"
const version = "0.1.5"
var (
appDirs []string

View File

@@ -131,6 +131,8 @@ func setUpCategoriesButtonBox() *gtk.EventBox {
button.SetProperty("name", "category-button")
catButtons = append(catButtons, button)
button.SetLabel(cat.DisplayName)
// fix #8
button.SetAlwaysShowImage(true)
hBox.PackStart(button, false, false, 0)
name := cat.Name
b := *button