summaryrefslogtreecommitdiff
path: root/plugins/xrandr
AgeCommit message (Collapse)AuthorFilesLines
2020-06-27add git.mk to generate .gitignoretamplan1-0/+2
2020-04-06use MATE_COMPILE_WARNINGS from mate-commonrbuj1-2/+3
2019-12-22avoid redundant redeclarationsPablo Barciela1-3/+1
2019-12-05xrandr: add bigger icon sizes for tray-appletraveit659-162/+195
2019-08-30switch to use gettextWu Xiaotian2-5/+6
2019-08-20msd-xrandr-plugin: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-20msd-xrandr-manager: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-07-25xrandr plugin: i18n dropdown menurbuj1-8/+8
2019-07-01Remove trailing whitespacesLaurent Napias1-6/+6
2018-08-28Xrandr:remove an unused functionlukefromdc1-10/+0
2018-08-23xrandr-manager: replace deprecated gdk_error_trap_push/popraveit651-10/+18
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-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-01-30require GTK+ 3.22 and GLib 2.50monsta1-4/+0
2017-05-01msd-xrandr-manager: avoid deprecated gtk_misc_set_paddingraveit651-3/+4
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-50/+1
and require libmatekbd and libmate-desktop >= 1.17
2016-10-11xrandr: use proper libmate-desktop function in GTK+3 buildmonsta1-4/+10
or it will break the plugin once libmate-desktop becomes GTK+3 only
2016-01-21[GTK+3] use x/y alignment functions for GtkLabelmonsta1-2/+3
2016-01-09remove unused #define'smonsta1-4/+0
2016-01-09xrandr: remove useless codemonsta1-65/+0
it either does nothing or only calls parent functions taken from https://git.gnome.org/browse/gnome-settings-daemon/commit?id=4fe4f495509988b518c2b14afc37536a72d8a7bc https://git.gnome.org/browse/gnome-settings-daemon/commit?id=eed796d5edce1a8713ae4025356cc4b1399307d6
2016-01-09xrandr: fix indent a bitmonsta1-42/+40
2015-12-02GTK3: use gdk_error_trap_pop_ignored() when appropriateWolfgang Ulbrich1-0/+16
taken from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
2015-12-02Gtk-+3.14: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+4
2015-11-19Install icon into hicolor directoryGyörgy Balló1-1/+1
msd-xrandr is a custom icon, and it needs to be installed into the standard location, otherwise it's missing from icon themes other than mate.
2015-11-19xrandr: Don't remove applet backgroundGyörgy Balló1-1/+0
This fixes the invisible text for GTK+ 3 themes which don't support mate-panel explicitly. Themes could still overwrite the background if they want in the usual way.
2015-10-15GTK3: xrandr tray applet support custom panel themeslukefromdc1-1/+15
xrandr tray applet (gtk3) support custom panel themes, with robust support for transparency in cases where gtk3 does not correctly detect a compositing window manager
2015-01-13xrandr: use mate_gdk_spawn_command_line_on_screen alwaysMonsta1-6/+1
Closes https://github.com/mate-desktop/mate-settings-daemon/pull/93
2014-12-13xrandr: Add icon to the "Keep settings" dialogueinfirit1-0/+1
Taken from GSD commit: 6cd5f46fcb6d0580e541f8d462a1a61e5f0150a3 From: Bastien Nocera <[email protected]>
2014-11-30Connect to the right signal nameinfirit1-1/+1
Based on gnome-settings-dameon commit: 107f7cdea4bcc508622e040d22e43a9e65574401 From: Emilio Pozuelo Monfort <[email protected]>
2014-11-30XRandR plugin: cope with rename of get_active and get_connectedinfirit1-13/+13
Now the methods are called is_active and is_connected Based on gnome-settings-daemon commit: 68ff8cf63cea899b45d0ffb6950fdcc28d71fffd (patch) From: Giovanni Campagna <[email protected]>
2014-11-30xrandr: Only connect to MateRRScreen's signal after checking it's not NULLinfirit1-1/+2
Taken from gnome-settings-deaemon commit:9b1fd55f4e65cad07a3f39de441aca53e34e7473 From: Rodrigo Moya <[email protected]>
2014-11-30Adapt to API changes in MateRRScreeninfirit1-3/+3
Based on gnome-settings-daemon commit: 3d4bb7d247ac1d70840cd7ea7247263d3f590d9f From: Giovanni Campagna <[email protected]> - mate_rr_screen_new has lost the callback parameter, replaced by "screen-changed" signal - mate_rr_screen_destroy is gone
2014-11-30Adapt to mate-desktop API changesinfirit1-148/+166
Based on gnome-settings-daemon commit 8fb7dd9c4dc6da34b4b2961c6212b91d6342152a From: Giovanni Campagna <[email protected]> MateRRScreen, MateRRConfig and MateRROutputInfo have been turned into GObjects. Adapt to that.
2014-11-28fix possible dereference of NULL pointermonsta1-1/+1
2014-07-14xrandr-manager: Fix memleakinfirit1-0/+3
2014-07-14Gtk+3: Fix label title label in msd-xrandr-managerinfirit1-0/+19