fix app menu translation for Windows

This commit is contained in:
DYefremov
2021-10-29 10:45:13 +03:00
parent 791c073d1a
commit 79a2a034eb

View File

@@ -429,7 +429,7 @@ class Application(Gtk.Application):
def do_startup(self):
Gtk.Application.do_startup(self)
# App menu.
builder = get_builder(UI_RESOURCES_PATH + "app_menu.ui")
builder = get_builder(UI_RESOURCES_PATH + "app_menu.ui", tag="attribute")
if not IS_GNOME_SESSION:
if IS_DARWIN:
self.set_app_menu(builder.get_object("mac_app_menu"))