summaryrefslogtreecommitdiff
path: root/plugins/media-keys/msd-media-keys-manager.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-10media-keys: Remove unuseful show_level argument in ↵Zhang Xianwei1-10/+5
msd_media_keys_window_set_action_custom Since brightness OSD has been moved to m-p-m, there is no any situation to use show_level in msd_media_keys_window_set_action_custom, should remove this argument. Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-24media-keys: Add support for Killswitch media keysZhang Xianwei1-0/+180
Add support for the XF86Bluetooth and XF86WLAN media keys. The first one will toggle Bluetooth on/off, as the Bluetooth panel does, the latter one will toggle the global software killswitch. The reasoning XF86WLAN media key toggling the global software killswitch is that: - we don't have a killswitch for only WiFi - there are very very few laptops with a UWB killswitch button, if anyone actually remembers what UWB actually is - there are no XF86 keys for the global killswitch, so they usually get mislabeled as the WLAN killswitch from https://github.com/GNOME/gnome-settings-daemon/commit/3fa0f7260a6864dfe67bdbd82b22b168e1e66457 Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-17Add shortcut to start mate-control-centerZhang Xianwei1-0/+6
Some laptops have a setting hotkey. This is bound by default to XF86Tools. Add shortcut to start mate-control-center to support it. Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-08media-keys: Remove touchpad OSD icons and use theme's insteadZhang Xianwei1-1/+1
To be controllable by theme, use the touchpad enabled/disabled icons in mate-icon-theme. Refer to mate-icon-theme commit "add icons for touchpad": 932961db50aaea23b953a79e0967385bf66a12ea Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-05media-keys: Simplify touchpad OSDZhang Xianwei1-8/+2
Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-01media-keys: Add support for XF86TouchpadOn/OffZhang Xianwei1-0/+15
Using hard-coded keys. This requires new keycodes added to X.org in: https://bugs.freedesktop.org/show_bug.cgi?id=31300 Signed-off-by: Zhang Xianwei <[email protected]>
2018-08-22media-keys-manager: replace deprecated GdkDeviceManagerraveit651-5/+5
2018-03-10Prevent media-keys bindings from swallowing modifier keysVictor Kareh1-15/+37
This changes how the media-keys manager determines successful key-bindings from KeyRelease to KeyPress so that it does not conflict with third-party applications that want to use modifier keys as global key-bindings. We've already done this change for general keybindings and marco. It also cleans up a bunch of deprectation warnings.
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-20/+0
2017-08-17gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+16
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-09avoid deprecated gdk_display_get_screen and gdk_display_get_n_screensZenWalker1-7/+5
2017-07-27avoid deprecated gdk_screen_get_numberZenWalker1-1/+1
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-18/+2
and require libmatekbd and libmate-desktop >= 1.17
2016-07-08media-keys: bring back support for mate-calcraveit651-0/+2
2016-07-08media-keys: support gnome-calculator, drop support for mate-calcmonsta1-3/+1
- gcalctool is known as gnome-calculator these days - mate-calc is obsolete since 1.10
2016-01-10Add setting to enable/disable the osdFriedrich Herbst1-0/+4
2015-12-02GTK3 media-keys: don't use deprecated gdk_display_get_pointerWolfgang Ulbrich1-0/+16
2015-12-02GTK3: use gdk_error_trap_pop_ignored() when appropriateWolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
2015-12-02GTK3: don't use deprecated gtk_widget_size_requestWolfgang Ulbrich1-0/+4
2015-09-28clarify "power" key bindings logicDenis Gorodnichev1-2/+11
historically "power" key bindings calls shutdown dialog but described as logout. this is confuses users. updated "power" key bindings description provided additional "logout" key bindings
2014-12-13Sync with GSD: Use MIME types for schemes, not GConfinfirit1-28/+8
Take the improvement from GSD Commit: 3e4dbcd54412a58d7e6ebde58f191d2a001518b8 From: Rodrigo Moya <[email protected]>
2014-12-13media-keys: Add support for more multimedia keysinfirit1-5/+8
Add support for FastForward, Rewind, Repeat and Shuffle multimedia keys. Taken from GSD commits: 338a2db55d96304ebeedcb3e6f87b88ffa3b7828 b4cb0dc3c936336ffba65c50f737cffe9bf79cbe From: Bastien Nocera <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=539915
2014-12-13media-keys: Add ability to hard-code keysinfirit1-2/+8
This would be used for keys that we don't want to export to the user-interface, such as some display or touchpad keys. Taken from GSD commit: 37806fbb00087e44dd66a19efacd5eba4441bfc9 From: Bastien Nocera <[email protected]>
2014-12-13media-keys: Show a touchpad-disabled if no touchpadinfirit1-0/+8
hen pressing the touchpad button on the keyboard, and there's no touchpad present, don't show a wrong state for the touchpad status, but always show a "touch disabled" popup. Taken from GSD commit: ab4ac947c66c232afcb874ac36bece6e652ed3cc From: Bastien Nocera <[email protected]> Gnome bug: https://bugzilla.redhat.com/show_bug.cgi?id=614213
2014-11-03a11y: Use gnome a11y schema to enable applicationsinfirit1-1/+1
For example when we toggle screen-reader-enable in the gnome schema orca will turn on and off even under MATE.
2014-11-02a11y-keybindings: Move to media-keys plugininfirit1-0/+39
2014-10-09Unmute when lowering volume and the target volume is higher than minimalMichal Ratajsky1-7/+7
2014-10-09Remove debugging messageMichal Ratajsky1-2/+0
2014-10-09Update to libmatemixer changesMichal Ratajsky1-34/+46
2014-10-09Clean things up a bit, update copyright, remove unused code, fix NEWS and ↵Michal Ratajsky1-109/+14
compiler warnings
2014-10-09Remove GStreamer parts and use libmatemixerMichal Ratajsky1-221/+149
2014-10-08media-keys: Use galculator firstStefano Karapetsas1-1/+3
2013-07-11media-keys: Fix terminal GSettings key nameStefano Karapetsas1-2/+2
2012-12-16Restore preference for volume step instead of hardcoding itBrent Hull1-1/+4
2012-12-15[plugins] various small fixes/improvementsJasmine Hassan1-25/+17
In plugins/housekeeping/gsd-ldsm-dialog.c - Initialize GSList ignore_paths before use - Use g_slist_prepend instead of _append in loop (more efficient), reverse after In plugins/media-keys/msd-media-keys-manager.c - Default to mate-terminal if terminal "exec" key is empty In plugins/xrandr/msd-xrandr-manager.c - Only start_or_stop_icon when the show icon key actually changes Also, adapt this for media-keys plugin: Don't use org.gnome.settings-daemon for volume_step setting http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=1a9eea8224d41643a8a7a05d799198058e36e1a8
2012-10-12fix incorrect FSF addressraveit651-1/+1
2012-10-01migrate to gsettingsmate-settings-daemon-1.5.0Stefano Karapetsas1-134/+72
2012-08-04Revert "Micro-optimization." Wrong branch.Steve Zesch1-5/+12
This reverts commit 91f651c6f6f0ee7fdff1d49e36161d4e76e16e02.
2012-08-04Micro-optimization.Steve Zesch1-12/+5
do_multimedia_player_action did nothing more than call msd_media_player_key_pressed, which was pointless overhead.
2012-06-22fix missing gsd=>msd rename due to pull requestStefano Karapetsas1-1/+1
2012-05-03media-keys: fix the "calculator key"Stefan Tauner1-1/+7
try to find mate-calc, fall back to gcalctool if it is not found. Signed-off-by: Stefan Tauner <[email protected]>
2012-03-16media-keys: React to stream-removed signal from GvcMixerControlRodrigo Moya1-0/+17
2012-02-21gsd to msd complete rename patch by NiceandGently; file rename commithaxar1-0/+1447