summaryrefslogtreecommitdiff
path: root/shell/cc-panel-loader.c
diff options
context:
space:
mode:
authorChristian Kellner <christian@kellner.me>2018-03-26 16:18:30 +0200
committerChristian Kellner <christian@kellner.me>2018-04-13 15:08:16 +0200
commit47f241b10ccfc59cb879b15e09f7c9759131a096 (patch)
tree1bbbc0a94e7ed6b8211de9ae35d5142a1751bb1e /shell/cc-panel-loader.c
parentef9d460e72b6c67786bbb3f7ec9c6ee7e960d954 (diff)
downloadgnome-control-center-47f241b10ccfc59cb879b15e09f7c9759131a096.tar.gz
thunderbolt: new panel for device management
Thunderbolt devices need to be approved before they can be used. This is done via the boltd system daemon and gnome-shell. The new panel enables the user to manage thunderbolt devices, i.e.: - forget devices that have previously been authorized - authorize currently unauthorize devices Additionally authorization of devices an be temporarily disabled to ensure no evil device will gain access to the computers resources. File starting with "bolt-" are copied from bolt's source tree and currently correspond to the bolt upstream commit with the id f22b1cd6104bdc2b33a95d9896b50f29a141b8d8 They can be updated from bolt via the update-from-bolt.sh script.
Diffstat (limited to 'shell/cc-panel-loader.c')
-rw-r--r--shell/cc-panel-loader.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
index df3a8020c..55492ef98 100644
--- a/shell/cc-panel-loader.c
+++ b/shell/cc-panel-loader.c
@@ -54,6 +54,9 @@ extern GType cc_region_panel_get_type (void);
extern GType cc_search_panel_get_type (void);
extern GType cc_sharing_panel_get_type (void);
extern GType cc_sound_panel_get_type (void);
+#ifdef BUILD_THUNDERBOLT
+extern GType cc_bolt_panel_get_type (void);
+#endif /* BUILD_THUNDERBOLT */
extern GType cc_ua_panel_get_type (void);
extern GType cc_user_panel_get_type (void);
#ifdef BUILD_WACOM
@@ -99,6 +102,9 @@ static struct {
PANEL_TYPE("search", cc_search_panel_get_type ),
PANEL_TYPE("sharing", cc_sharing_panel_get_type ),
PANEL_TYPE("sound", cc_sound_panel_get_type ),
+#ifdef BUILD_THUNDERBOLT
+ PANEL_TYPE("thunderbolt", cc_bolt_panel_get_type ),
+#endif
PANEL_TYPE("universal-access", cc_ua_panel_get_type ),
PANEL_TYPE("user-accounts", cc_user_panel_get_type ),
#ifdef BUILD_WACOM