[gnome-games/wip/exalm/ds: 18/21] plugin: Add get_shortcuts_group()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/ds: 18/21] plugin: Add get_shortcuts_group()
- Date: Sat, 19 Jan 2019 14:06:24 +0000 (UTC)
commit c76f79f9c87425270021182422d9be6d6f182d2e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Jan 19 03:00:07 2019 +0500
plugin: Add get_shortcuts_group()
Since plugins can now define custom shortcuts, allow them to integrate
into the shortcuts window.
src/core/plugin.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/core/plugin.vala b/src/core/plugin.vala
index 74d8a3eb..0b8f8ce5 100644
--- a/src/core/plugin.vala
+++ b/src/core/plugin.vala
@@ -12,4 +12,8 @@ public interface Games.Plugin : Object {
public virtual UriGameFactory[] get_uri_game_factories () {
return {};
}
+
+ public virtual Gtk.ShortcutsGroup? get_shortcuts_group () {
+ return null;
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]