summaryrefslogtreecommitdiff
path: root/plugins/xrandr/msd-xrandr-manager.c
AgeCommit message (Collapse)AuthorFilesLines
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-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
2014-01-23xrandr: Fix gdk_spawn_command_line_on_screen usage with GTK3Stefano Karapetsas1-0/+5
2013-07-31Update libmate-desktop headers to new locationStefano Karapetsas1-3/+3
2013-02-26two more fixes for libnotifyElan Ruusamäe1-4/+3
** (mate-settings-daemon:27918): WARNING **: /usr/lib64/mate-settings-daemon/liba11y-keyboard.so: undefined symbol: notify_notification_attach_to_status_icon ** (mate-settings-daemon:27225): WARNING **: /usr/lib64/mate-settings-daemon/libxrandr.so: undefined symbol: notify_notification_new_with_status_icon liba11-keyboard change done similarily to GNOME, just removing it: https://github.com/GNOME/gnome-settings-daemon/commit/e1ab570b0dce479ba235e5542ea07d1b5bafc4c9
2013-02-18use libnotify 0.7, not libmatenotifyElan Ruusamäe1-6/+5
2012-12-22[general] replace deprecations, use GDK X11 API, bump GTK+ to 2.24Jasmine Hassan1-1/+1
for: gdk_x11_window_lookup_for_display() gdk_x11_window_foreign_new_for_display()
2012-12-15[plugins] various small fixes/improvementsJasmine Hassan1-1/+2
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-42/+24
2012-03-16RANDR - Add mateconf key for disabling boot time configurationMartin Pitt1-1/+3
In a lot of situations it is undesirable to have g-s-d change the XRandR settings, because it overrides X.org customizations, leads to unnecessary mode switches, or increases boot time. Add a mateconf key "use_xorg_monitor_settings" to disable apply_default_boot_configuration(), in which case the XRandR configuration will not be touched unless there is a global or per-user configuration file. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=631388 Bug-Ubuntu: https://launchpad.net/bugs/640807
2012-03-16(randr) bnc#647304 - If the stored configuration fails at startup, use the ↵Gary Lin1-2/+3
fallback configurations Previously, if a stored configuration existed but it could not be applied due to nonmatching monitors, we would do nothing else - potentially leaving the user in whatever startup state was used by the X server. Now, in that condition we simply fall back to trying the system-global configuration or the boot-time configuration. Signed-off-by: Federico Mena Quintero <[email protected]>
2012-03-16Revert "Fix launching the display configuration tool"Vincent Untz1-1/+1
In 2.32, we still want to use mate-display-properties. This reverts commit 03112091d18ad0f9cc66b5f8835aadb1c47bc9ee.
2012-02-21gsd to msd complete rename patch by NiceandGently; file rename commithaxar1-0/+2584