summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2018-12-04msd-xrdb-manager: realize the widgetPablo Barciela1-0/+1
Fixes https://github.com/mate-desktop/mate-settings-daemon/pull/248#issuecomment-443527197
2018-12-03media-keys: Make sound changes quiet with AltZhang Xianwei2-5/+32
<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]>
2018-11-28msd-xrdb-manager.c: avoid deprecated 'gtk_widget_ensure_style'Pablo Barciela1-1/+0
2018-11-26media-keys: always round the render coordinates for media iconsZhang Xianwei1-4/+4
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]>
2018-11-26media-keys: Tweak the OSD's volume bar positionZhang Xianwei1-2/+2
Move it down a little. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-26osd-window: make the window smallerZhang Xianwei1-2/+2
Matches the gnome's mockups better. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-26media-keys: Make icon smaller in OSDZhang Xianwei1-1/+1
Make the icon take up less space inside. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-26media-keys: Use constant for icon size in OSDZhang Xianwei1-4/+6
Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-25media-keys: Add test for display switch OSD iconsZhang Xianwei1-0/+14
Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-25media-keys: Add support for display switch OSDZhang Xianwei2-1/+27
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]>
2018-11-20media-keys: Don't show a level when mutedZhang Xianwei1-0/+3
As discussed in: https://bugzilla.gnome.org/show_bug.cgi?id=644537#c4 Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-18fix running distcheckraveit651-1/+2
2018-11-14media-keys: Add test for rfkill OSD iconsZhang Xianwei1-0/+28
Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-14media-keys: Add label for the touchpad OSDZhang Xianwei2-3/+3
Which should hopefully make the touchpad icon a bit clearer. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-14media-keys: Add labels for the rfkill OSDZhang Xianwei5-18/+98
Which should hopefully make the icons a bit clearer. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-10media-keys: Remove unuseful show_level argument in ↵Zhang Xianwei4-50/+13
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-11-10media-keys: Remove test for screen brightness OSD iconsZhang Xianwei1-32/+2
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]>
2018-10-24media-keys: Add support for Killswitch media keysZhang Xianwei2-0/+184
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-24rfkill: Add RFKill support plugin on Linux systemsZhang Xianwei11-0/+1746
from https://github.com/GNOME/gnome-settings-daemon/commit/444af32e343a79ca3db0f957bf73687a0f0df9ec Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-17Add shortcut to start mate-control-centerZhang Xianwei2-0/+8
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-11media-keys: Add test for touchpad OSD iconsZhang Xianwei1-0/+14
Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-08media-keys: Remove touchpad OSD icons and use theme's insteadZhang Xianwei16-3571/+2
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 Xianwei2-0/+19
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-09-30Add support for org.mate.accessibility-keyboard.stickykeys-latch-to-lockColomban Wendling1-1/+6
2018-08-28Xrandr:remove an unused functionlukefromdc1-10/+0
2018-08-24xsettings: add setting to enable/disable primary paste from middlemouselukefromdc1-0/+2
2018-08-23xsettings: replace deprecated gdk_error_trap_push/popraveit651-9/+15
2018-08-23xrandr-manager: replace deprecated gdk_error_trap_push/popraveit651-10/+18
2018-08-22mouse-manager: replace deprecated gdk_error_trap_push/popraveit651-102/+152
2018-08-22media-keys-manager: replace deprecated GdkDeviceManagerraveit651-5/+5
2018-08-22keyboard-manager: replace deprecated gdk_error_trap_push/popraveit651-5/+7
2018-08-22clipboard-manager: replace deprecated gdk_error_trap_push/popraveit651-10/+20
2018-08-22background-manager: replace deprecated GDK functionsraveit651-2/+4
2018-08-22a11y-keyboard-manager: replace deprecated gdk_error_trap_push/popraveit651-15/+27
2018-08-22msd-input-helper: replace deprecated gdk_error_trap_push/popraveit651-10/+16
2018-07-13plugins: avoid deprecated 'gdk_keymap_get_default'Pablo Barciela2-4/+4
2018-05-31xrandr-applet-popup: add an icon for configuration itemlukefromdc1-2/+18
To distinguish it more quickly from mirror(clone) item and rotation items. Also show it only if icons in menus are turned on
2018-05-31xrandr-applet-popup: add item to mirror displayslukefromdc1-3/+103
Add menuitem for mirroring same output to all displays Toggle between mirrored mode and xinerama mode (displays all on, laid out left to right)
2018-05-31Make setting QT_SCALE_FACTOR optional.Victor Kareh1-8/+13
When enabling org.mate.interface window-scaling-factor-qt-sync (default), m-s-d will attempt to set QT_SCALE_FACTOR during the init phase. When disabled, the user can then choose to control this env var elsewhere.
2018-05-27xrandr-applet-popup: dim menuitems for disabled monitorlukefromdc1-8/+26
Rotations can't be appled to a turned-off monitor. Also follow the display capplet color theme for monitors that have been turned off in the default monitor label background color
2018-05-26xrandr-applet-popup: enable turning monitors on an offlukefromdc1-0/+83
Add menu item to allow turning a monitor on or off from the popup menu. Borrow code from m-s-d display capplet to set geometry when a monitor is turned on. Turning on a monitor now works the same was as when turning it on but not reconfiguring it in mate-control-center's display capplet
2018-05-23xrandr-applet-popup: show icon only if "menus-have-icons" is not turned offlukefromdc1-1/+6
2018-05-23xrandr-applet-popup: handle Greybird (etc) XFCE themeslukefromdc1-1/+6
Also ensure default bg images don't override label bg color, and don't use symbolic icon in GNOME HighContrast themes as it gets the disabled color
2018-05-23Xrandr-applet-popup: Special case the GNOME themes for black text on monitor ↵lukefromdc1-2/+30
labels
2018-05-22xrander-applet-popup: remove draw callbacklukefromdc1-71/+51
2018-05-20xrandr:fix indentlukefromdc1-1/+1
2018-05-20xrandr-applet-popup: allow themes to override monitor label colorslukefromdc1-9/+19
Use the monitor label colors in the monitor label menuitems by default, *Also move the border-width and style definitions to the second cssprovider, as otherwise they are set too late, and scrollbars result from attempted expansion of the popup
2018-05-20xrandr-applet-popup: add a border to colored monitor labelslukefromdc1-0/+4
2018-05-20xrandr-applet-popup: use colored bg again in monitor labelslukefromdc1-1/+62
*Build a cssprovider from strings, use a variable to apply the same colors as used on the rectangles shown on each monitor to the matching label backgrounds in the popup menu. Bring back the draw callback to handle it, so necessary data can be passed to mate_rr_labeler_get_rgba_for_output *Keep disabled item dimming effects off the monitor label icons *Tie the dynamic cssprovider to the label so it always gets the correct color