summaryrefslogtreecommitdiff
path: root/src/direct/DirectWindow.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-02 11:24:12 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-02 11:24:12 +0100
commit66f6a7bd3f7e00022191f16cb0e82a39e7333a76 (patch)
tree8b5b7c598d87518696e151621988eafee18ffa06 /src/direct/DirectWindow.vala
parent4a3f1fdfe1eb3743564adcee35d5513224339260 (diff)
New upstream version 0.25.2upstream/0.25.2
Diffstat (limited to 'src/direct/DirectWindow.vala')
-rw-r--r--src/direct/DirectWindow.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/direct/DirectWindow.vala b/src/direct/DirectWindow.vala
index e1cbf75..ee1995a 100644
--- a/src/direct/DirectWindow.vala
+++ b/src/direct/DirectWindow.vala
@@ -24,7 +24,9 @@ public class DirectWindow : AppWindow {
layout.pack_start(direct_photo_page, true, true, 0);
layout.pack_end(direct_photo_page.get_toolbar(), false, false, 0);
+ var builder = new Gtk.Builder.from_resource ("/org/gnome/Shotwell/appmenu.ui");
Application.set_menubar (direct_photo_page.get_menubar ());
+ Application.set_appmenu (builder.get_object ("direct-appmenu") as GLib.Menu);
add(layout);
}