Skip to content

Commit

Permalink
Merge pull request #148 from TheEvilSkeleton/primary-menu
Browse files Browse the repository at this point in the history
primary-menu: Set as primary menu; add tooltip text
  • Loading branch information
manuq authored Dec 27, 2023
2 parents e6a59fa + 23f4df4 commit 17e7e42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/kolibri_gnome/kolibri_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ def __init__(
self.__header_bar.show()
content_box.append(self.__header_bar)

menu_button = Gtk.MenuButton(direction=Gtk.ArrowType.NONE)
menu_button = Gtk.MenuButton(
direction=Gtk.ArrowType.NONE,
tooltip_text=_("Main Menu"),
primary=True
)
self.__header_bar.pack_end(menu_button)

menu_popover = Gtk.PopoverMenu.new_from_model(_KolibriWindowMenu())
Expand Down

0 comments on commit 17e7e42

Please sign in to comment.