summaryrefslogtreecommitdiff
path: root/src/Application.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:10:33 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:10:33 +0100
commit4a3f1fdfe1eb3743564adcee35d5513224339260 (patch)
tree1bcc97c9bd5abcf181b9f19294a0f187ff8af103 /src/Application.vala
parent7152401783578b56343f578b4ec920998660de33 (diff)
New upstream version 0.25.1upstream/0.25.1
Diffstat (limited to 'src/Application.vala')
-rw-r--r--src/Application.vala12
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.
*