diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-05-04 16:29:15 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-05-04 16:29:15 +0200 |
commit | 858346b784ee986ef536b68827959105fea84460 (patch) | |
tree | fd73bb67d1ae98b1920b2539be4c545da9c468c6 | |
parent | 8826ff4b04a5e824f76086e166b1a3ecc4130a9e (diff) | |
download | gnome-settings-daemon-858346b784ee986ef536b68827959105fea84460.tar.gz |
media-keys: Disable rfkill keys handling
If we handle rfkill input keys without telling rfkill, we end up
handling those keys in gnome-settings-daemon, as well as in the kernel's
rfkill-input driver. As handling all the different keys would require
more work than possible in a stable release, we'll let rfkill-input
handle this, and lose the OSD for now.
https://bugzilla.gnome.org/show_bug.cgi?id=760517
-rw-r--r-- | plugins/media-keys/shortcuts-list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/media-keys/shortcuts-list.h b/plugins/media-keys/shortcuts-list.h index 498c581f..bcfb2e11 100644 --- a/plugins/media-keys/shortcuts-list.h +++ b/plugins/media-keys/shortcuts-list.h @@ -108,9 +108,12 @@ static struct { { KEYBOARD_BRIGHTNESS_DOWN_KEY, NULL, N_("Keyboard Brightness Down"), "XF86KbdBrightnessDown", SHELL_ACTION_MODE_ALL }, { KEYBOARD_BRIGHTNESS_TOGGLE_KEY, NULL, N_("Keyboard Brightness Toggle"), "XF86KbdLightOnOff", SHELL_ACTION_MODE_ALL }, { BATTERY_KEY, NULL, N_("Battery Status"), "XF86Battery", GSD_ACTION_MODE_LAUNCHER }, + /* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=760517 */ +#if 0 { RFKILL_KEY, NULL, N_("Toggle Airplane Mode"), "XF86WLAN", GSD_ACTION_MODE_LAUNCHER }, { RFKILL_KEY, NULL, N_("Toggle Airplane Mode"), "XF86UWB", GSD_ACTION_MODE_LAUNCHER }, { BLUETOOTH_RFKILL_KEY, NULL, N_("Toggle Bluetooth"), "XF86Bluetooth", GSD_ACTION_MODE_LAUNCHER } +#endif }; #undef SCREENSAVER_MODE |