[gnome-games/wip/exalm/ds-popover: 14/16] plugin: Add get_shortcuts_group()



commit 32fdf36f1de159c95ab00f4c55baa0ae6aa4f417
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]