summaryrefslogtreecommitdiff
path: root/src/gpm-tray-icon.c
diff options
context:
space:
mode:
authorDamien Thébault <[email protected]>2022-02-16 22:31:52 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2022-03-21 12:41:09 +0100
commit13b04d59d0ca6bedc3b33369d8788d44b6152843 (patch)
tree2cc52f855e4a3386daaeacd2922fe528203e3c9f /src/gpm-tray-icon.c
parent67d510c50442471d10d090af04987f7771c1719b (diff)
downloadmate-power-manager-13b04d59d0ca6bedc3b33369d8788d44b6152843.tar.bz2
mate-power-manager-13b04d59d0ca6bedc3b33369d8788d44b6152843.tar.xz
Add support for gaming inputs
Diffstat (limited to 'src/gpm-tray-icon.c')
-rw-r--r--src/gpm-tray-icon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index 258c242..6ace66c 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -354,6 +354,7 @@ gpm_tray_icon_create_menu (GpmTrayIcon *icon)
dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_MEDIA_PLAYER);
dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_TABLET);
dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_COMPUTER);
+ dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_GAMING_INPUT);
g_ptr_array_unref (array);
/* skip for things like live-cd's and GDM */