diff --git a/bin/nwg-drawer b/bin/nwg-drawer index 7b2441d..b7fef97 100755 Binary files a/bin/nwg-drawer and b/bin/nwg-drawer differ diff --git a/main.go b/main.go index 842d149..9161284 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import ( "github.com/gotk3/gotk3/gtk" ) -const version = "0.1.2" +const version = "0.1.3" var ( appDirs []string diff --git a/uicomponents.go b/uicomponents.go index bdb6dc1..d7d849f 100644 --- a/uicomponents.go +++ b/uicomponents.go @@ -113,6 +113,7 @@ func setUpCategoriesButtonBox() *gtk.EventBox { hBox, _ := gtk.BoxNew(gtk.ORIENTATION_HORIZONTAL, 0) eventBox.Add(hBox) button, _ := gtk.ButtonNewWithLabel("All") + button.SetProperty("name", "category-button") button.Connect("clicked", func(item *gtk.Button) { searchEntry.SetText("") appFlowBox = setUpAppsFlowBox(nil, "") @@ -126,6 +127,7 @@ func setUpCategoriesButtonBox() *gtk.EventBox { for _, cat := range categories { if isSupposedToShowUp(cat.Name) { button, _ = gtk.ButtonNewFromIconName(cat.Icon, gtk.ICON_SIZE_MENU) + button.SetProperty("name", "category-button") catButtons = append(catButtons, button) button.SetLabel(cat.DisplayName) hBox.PackStart(button, false, false, 0)