summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
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
2018-05-18xrandr applet popup: add monitor icons to monitor label menuitemslukefromdc1-1/+7
2018-05-16xrandr-applet: add a style class for menuitemsraveit651-2/+5
2018-05-07xrandr-applet: drop non-working bg from menuraveit651-81/+0
2018-05-07xrandr-applet: don't hard code label colors in menuraveit651-7/+0
Using black color makes the label unreadable with dark themes
2018-04-25Support background fallback on HiDPIVictor Kareh1-7/+9
This change is a super hacky way of supporting the fallback desktop background (without caja) on HiDPI displays. It does this by doing two things: using a new function that scales up the background surface; and by loading settings using an updated function that triggers a redraw.
2018-03-10Prevent media-keys bindings from swallowing modifier keysVictor Kareh2-23/+49
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-02-12Scale OSD size correctly on HiDPI displays (#212)Victor Kareh2-7/+12
Also fix build warnings on xsettings
2018-02-06Load xsettings during initialization phaseVictor Kareh4-5/+247
Also set QT_* env variables during init, and restart marco, mate-panel, toggle desktop icons when changing scales
2018-02-06Add HiDPI configuration in XSettingsVictor Kareh1-19/+116
This change allows for Xft/Gdk settings to be changed dynamically for the scaling factor and font DPI. It also has an optional auto-detection algorithm for the most appropriate settings to use for different screen sizes and resolutions. The auto-detect is re-triggered whenever the screen size changes.
2018-01-30require GTK+ 3.22 and GLib 2.50monsta8-86/+1
2018-01-26Add support for HiDPI displays (#208)Victor Kareh2-1/+16
* Support font size and mouse cursor auto-scaling for HiDPI displays * Fix where DPI is getting scaled * Remove ceil for scaled DPI
2018-01-09plugins: G_GNUC_UNUSED in unused but needed variablesPablo Barciela2-4/+4
Fixes build warnings
2018-01-08xsettings: drop CanChangeAccels which won't work with GTK+3monsta1-1/+0
this requires https://github.com/mate-desktop/mate-desktop/commit/b133f518f6f2310093fd3b5248049c7048cfb8d4 closes https://github.com/mate-desktop/mate-desktop/issues/296
2018-01-08msd-datetime-mechanism.c: Fix build warnings:Pablo Barciela1-3/+3
format ‘%lld’ expects argument of type ‘long long int’, but argument has type ‘long int’
2018-01-06msd-mpris-manager.c: Fix build warning:Pablo Barciela1-1/+1
passing argument 3 of ‘g_queue_find_custom’ from incompatible pointer type
2017-12-18WidthOfScreen and HeightOfScreen implementationPablo Barciela2-18/+7
The work began with: https://github.com/mate-desktop/mate-settings-daemon/commit/788babedafaf59d8b7a36cb0ef3b0b1f0e5f732c This commit reverts: https://github.com/mate-desktop/mate-settings-daemon/commit/7f887e614812ccb86f5d784e2db58bede8daa712 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height