Age | Commit message (Collapse) | Author | Files | Lines |
|
<Alt>+volume control keys will change the sound, without
playing a notification sound, which can be useful when things
need to be quiet. This uses the settings stored in GSettings
for those audio keys.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
This ensures the pixbuf is always rendered as crisp as possible.
See https://github.com/GNOME/gnome-settings-daemon/commit/a03c072a8241d4d481ee94e5e1ffd829e85271f5
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Move it down a little.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Make the icon take up less space inside.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Some laptops have a display switch mode hotkey. This is bound by
default to XF86Display. Add OSD to give people a visual feed back.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
As discussed in:
https://bugzilla.gnome.org/show_bug.cgi?id=644537#c4
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Which should hopefully make the touchpad icon a bit clearer.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Which should hopefully make the icons a bit clearer.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
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]>
|
|
Screen brightness OSD has been moved from m-s-d to m-p-m, see:
https://github.com/mate-desktop/mate-power-manager/commit/4fd2ae34e50e63ef562356f804dbdea81341f4e2
So remove test for brightness OSD icons in m-s-d.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
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]>
|
|
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]>
|
|
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
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]>
|
|
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
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]>
|
|
|
|
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.
|
|
|
|
avoid deprecated:
gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_point
|
|
|
|
|
|
and require libmatekbd and libmate-desktop >= 1.17
|
|
|
|
- gcalctool is known as gnome-calculator these days
- mate-calc is obsolete since 1.10
|
|
|
|
- Port OSD to GtkStyleContext
- Port style_set to style_updated
- fixes also a -Wincompatible-pointer-types warning
- Use correct argument to GtkStyle functions
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?h=gnome-3-0&id=f6e55cb
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=45a88f2
GTK+3 media-keys: fix deprecated gtk_style_context_get_background_color
taken from mate-notification-daemon
GTK+3 media-keys: do not use hardcoded colors for osd progressbar
- If we use the OSD style class let the themes handle that.
- drop useless color functions
inspired from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=a0cefe6
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
|
|
|
|
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
|
|
Take the improvement from GSD
Commit: 3e4dbcd54412a58d7e6ebde58f191d2a001518b8
From: Rodrigo Moya <[email protected]>
|
|
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
|
|
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]>
|
|
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
|
|
For example when we toggle screen-reader-enable in the gnome schema
orca will turn on and off even under MATE.
|
|
|
|
|
|
|
|
|
|
|
|
compiler warnings
|
|
|
|
|
|
|
|
|