summaryrefslogtreecommitdiff
path: root/src/Application.vala
diff options
context:
space:
mode:
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.
*