diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:11:58 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:11:58 +0100 |
commit | ccff5442184e84d511c2bd25ed3da53e4336a272 (patch) | |
tree | 8402a0ba68852e0aec5841ed4519ccfe88352223 /src/Application.vala | |
parent | a1e1833f48ed618273dab9198b547148a89832a7 (diff) | |
parent | 4a3f1fdfe1eb3743564adcee35d5513224339260 (diff) |
Merge tag 'upstream/0.25.1'
Upstream version 0.25.1
Diffstat (limited to 'src/Application.vala')
-rw-r--r-- | src/Application.vala | 12 |
1 files changed, 12 insertions, 0 deletions
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. * |