summaryrefslogtreecommitdiff
path: root/plugins/background
AgeCommit message (Collapse)AuthorFilesLines
2017-08-14avoid deprecated gdk_screen_get_width/heightZenWalker1-4/+12
2017-08-09avoid deprecated gdk_display_get_screen and gdk_display_get_n_screensZenWalker1-25/+11
2017-07-27avoid deprecated gdk_screen_get_numberZenWalker1-1/+1
2017-02-02Revert "GTK 3.21: Fix caja startup background"Alexei Sorokin1-35/+7
and revert "GTK 3.21: Fix background changing, startup delay". These are no longer of need as Caja reclaimed its ability to draw backgrounds.
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-8/+1
and require libmatekbd and libmate-desktop >= 1.17
2016-11-20background: add missing GTK+ version check to avoid build warningmonsta1-0/+2
that function is only called with GTK+ < 3.22
2016-11-20background: check for stable release of GTK+3, not for development onemonsta1-10/+10
2016-07-23GTK 3.21: Fix background changing, startup delaylukefromdc1-6/+28
Fix background changing with or without caja running. Remove all references to Caja from GTK 3.21 or later builds, remove resulting unused variable.
2016-07-23GTK 3.21: Fix caja startup backgroundlukefromdc1-3/+6
Make sure m-s-d knows to draw the background unconditionally when used with transparent version of Caja for GTK 3.21.3 or later
2016-01-10background: remove unused variablesmonsta1-1/+0
2015-09-04Switch to org.gnome.SessionManagerClement Lefebvre1-2/+2
2015-01-13background plugin: safer access to list element's dataMonsta1-1/+1
g_list_nth_data just returns NULL if either list or element is NULL Closes https://github.com/mate-desktop/mate-settings-daemon/pull/91
2013-07-31Update libmate-desktop headers to new locationStefano Karapetsas1-1/+1
2013-02-09background: Fix missing void keyword in real_draw_bg functionStefano Karapetsas1-1/+1
2013-02-09Fix segmentation fault on resolution changeStefano Karapetsas1-0/+5
2012-12-15[plugins] only link background/xrandr to mate-desktop, not main processJasmine Hassan1-3/+7
Most of the plugins do not need gnome-desktop's functionality, so there is no point in the main process linking against it. http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=ed54ceee46b6a56613c8aeb3d594f6a485400ef9
2012-12-13[background] cleanup and refactor, fix several issuesJasmine Hassan1-329/+314
Namely: 1. In caja_is_drawing..(), only get atom for WM_CLASS property if it exists. 2. Cache gsettings draw-background & show-desktop-icons key-values, and only update when either actually changes, to avoid unnecessary queries to the dconf-service. 3. Avoid conflicts between settings_change_event_cb() & on_bg_handling_changed(). 4. Keep track of screen sizes, to ensure size actually changed when signalled, to avoid double-redraw on an extraneous signal, which can lockup the daemon, because we draw immediately (w/out g_idle_add). Though we don't fade in re-draws triggered by size/monitors-changed signals, making all re-draws queued causes issues with fading, when we do fade (on bg change), and queueing is unnecessary here anyway. 5. Track a redraw in progress, to avoid any possible (and unforseeable) clashes.
2012-12-10[background] free priv->fade on stopJasmine Hassan1-14/+17
2012-12-10[background] remove useless _(set|get)_property & _dispose methodsJasmine Hassan1-37/+0
2012-12-06[plugins] cleanup macro magic in plugin.hJasmine Hassan1-59/+62
And instead, use glib macros (since 2.14) http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=0dda56c4462e070dabdab68092b6574b5e894181
2012-12-03[background] Use new MATE_BG_KEY's defines from mate-bg.h, and fade optionJasmine Hassan1-13/+17
Observe new mate-bg (global) fade option, via do_crossfade_background() Change dont_draw_background() to a do_, to avoid double-negative like !dont.
2012-12-03[background] fix XGetWindowProperty long_length & nitems_return paramsJasmine Hassan1-2/+2
from 24 -> 20, to account for 'nautilus' -> 'caja' change (4 bytes less).
2012-12-03[background] Also check if caja is drawing bg when detecting settings changesJasmine Hassan1-2/+5
hopefully to avoid taking over background-drawing when Caja is doing it.
2012-12-01[background] listen for draw-background/show-desktop-icons changed signalsJasmine Hassan1-1/+15
Because we should handle the background drawing when either: - "draw-background" is re-enabled, or - "show-desktop-icons" is disabled. N.B. We may still need to consider this issue, which was never resolved in gnome, because they stopped auto-launching nautilus & removed it from 3.0 sessions: Nautilus registers with the session before it's ready. https://bugzilla.gnome.org/show_bug.cgi?id=568588 Would also be wise to import the (recent) changes made in the bug below: Provide a singleton SessionManager proxy object https://bugzilla.gnome.org/show_bug.cgi?id=686556
2012-12-01[background] Don't draw the background if "draw-background" is falseJasmine Hassan1-1/+10
https://bugzilla.gnome.org/show_bug.cgi?id=564909
2012-12-01[background] GCC 4.6 warning fixesJasmine Hassan1-40/+24
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=da9bd9769caa0f776edf5636c6ae09ba425d6f6e
2012-12-01[background] stop pending fades if new ones initiatedJasmine Hassan1-16/+22
prevents some strange flicker when quickly selecting multiple backgrounds http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5cb80995b6899c6ed185797333b709ea9342de42
2012-12-01[background] convert to GDBus (and fix delayed background drawing)Jasmine Hassan1-41/+64
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=34d6831d7bf5fdf869f1b4802d8920c4a90825db
2012-12-01[background] review GSettings, don't rely on Caja as a key componentJasmine Hassan1-86/+85
and use new mate-bg API ("show-desktop-icons") For reference, see: Port backround module to GSettings http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=23b50dfc7078b78a513598060ee22ae46c262534 http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=c9d62bab8acb166aa720fa5d0356657177be6be5 background: always check if Nautilus is running http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d22b75db508a792e3786a2011b707e930a0f0355 background: reintroduce GnomeBg "changed" signal http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d7a6f707c9e6f924fea7565967d9c5c1ad8b1533 background: Listen to screen changes only after GnomeBg is constructed http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d6d12b643aeec91fa3d1ed19104f1c0d1ded7870
2012-11-29[background] Adapt to MateBG API changes, and GTK3 rendering-cleanupJasmine Hassan1-12/+20
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d38bb683005b71f3bf483aafee2f7c36d800a0c7
2012-11-29[background] fix indentationJasmine Hassan1-444/+441
2012-10-12fix incorrect FSF addressraveit655-5/+5
2012-10-01migrate to gsettingsmate-settings-daemon-1.5.0Stefano Karapetsas1-40/+25
2012-06-05commenting "changed" callback, related with issue #16 on mate-desktop ↵Perberos2-6/+7
(https://github.com/mate-desktop/mate-desktop/issues/16)
2012-06-05changing code format ↵Perberos5-645/+711
(http://imageshack.us/photo/my-images/9/254223656580e542a60a.jpg/)
2012-02-21gsd to msd complete rename patch by NiceandGently; file rename commithaxar4-0/+0
2012-02-21gsd to msd complete rename patch by NiceandGently; code changes commithaxar6-121/+121
2011-12-08GDK_DISPLAY() is deprecatedPerberos1-4/+4
2011-12-03removing autogenerated filesPerberos1-758/+0
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos8-0/+1707