From 23f4df4cac16a5cc7a87c922642a7c399bd8026b Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Tue, 26 Dec 2023 20:20:21 -0500 Subject: [PATCH] primary-menu: Set as primary menu; add tooltip text --- src/kolibri_gnome/kolibri_window.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/kolibri_gnome/kolibri_window.py b/src/kolibri_gnome/kolibri_window.py index b98070b..225ad8d 100644 --- a/src/kolibri_gnome/kolibri_window.py +++ b/src/kolibri_gnome/kolibri_window.py @@ -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())