From 4a3f1fdfe1eb3743564adcee35d5513224339260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 25 Nov 2016 04:10:33 +0100 Subject: New upstream version 0.25.1 --- src/Application.vala | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/Application.vala') diff --git a/src/Application.vala b/src/Application.vala index fe3e3e9..4a24fd4 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -29,6 +29,10 @@ public class Application { return fixup_raw_thumbs; } + public Gtk.Application get_system_app () { + return system_app; + } + private bool running = false; private bool exiting_fired = false; @@ -91,6 +95,14 @@ public class Application { return get_instance().direct; } + public static void set_accels_for_action (string action, string[] accel) { + get_instance().system_app.set_accels_for_action (action, accel); + } + + public static void set_menubar (GLib.MenuModel? model) { + get_instance().system_app.set_menubar (model); + } + /** * @brief Signal handler for GApplication's 'command-line' signal. * -- cgit v1.2.3