summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-02[mate-bg] add 2 new gsettings functionsJasmine Hassan1-9/+37
Because of the need to use now in Caja: Add mate_bg_load_from_system_gsettings() and mate_bg_save_to_gsettings(), making mate_bg_load_from_system_preferences() and mate_bg_save_to_preferences() wrappers around them, respectively. Both new funcs take GSettings argument, and the latter takes a boolean argument, to optionally apply the reset-to-schema-defaults settings. This will be used for desktop background reset-drop.
2012-12-01[mate-bg] Review GSettings port, add _(set|get)_draw_background()Jasmine Hassan1-69/+104
1. Fix fallback if the user's picture-filename setting is set to a non-existent file (ex: it got deleted). Currently, we fallback to the picture-filename of the default schema. Later, we could use a more robust solution like g_settings_get_mapped(). But first, we ought to use a URI instead of a filename string, because a URI is always UTF8-encoded. 2. Add mate_bg_(set|get)_draw_background() functions. Need 'em in Caja, now!
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-11-11[mate-bg] don't try to use a null formatJasmine Hassan1-3/+6
upstream commit: http://git.gnome.org/browse/gnome-desktop/commit/?id=9a2c931869214d5113e3c9246cc36c094bd211fe "introduced a bug that would cause a warning to spew in gnome-screensaver" http://git.gnome.org/browse/gnome-desktop/commit/?id=f2a6d5ea97b98ea3b1d36bb1de83f3bfc92c5c73
2012-11-11[mate-bg] don't keep duplicates of cache width and heightJasmine Hassan1-11/+5
http://git.gnome.org/browse/gnome-desktop/commit/?id=c5e5db705ee982e3cc0761a7c83235798d8428bd
2012-11-11[libmate-desktop] make error traps use the new GTK APIsJasmine Hassan1-1/+5
http://git.gnome.org/browse/gnome-desktop/commit/?id=da4d293870762064285231fba3a2a7c3c0d25838
2012-11-11[mate-bg] Proper update for GTK3 changes, simplify GTK2 compatabilityJasmine Hassan1-173/+212
Reverts: bc53751054ab "some ugly gtk3 porting", then: 1. use upstream commit below as a reference (GTK3) 2. simplify our GTK_VERSION_CHECK's, hopefully to make the code more readable, and the GTK2 backwards-compatibility snippets easier to cleanup later. -- Includes a renaming of all "pixmap" names in APIs to "surface": http://git.gnome.org/browse/gnome-desktop/commit/?id=28f2b06f50e3f1adf19389c2c3a1f63872539fa9 https://bugzilla.gnome.org/show_bug.cgi?id=630724 Remove unnecessary, deprecated, GDK_DRAWABLE cast: http://git.gnome.org/browse/gnome-desktop/commit/?id=260f6d2431088c5cd0ad1eb8d57f0ec994240f08
2012-11-03add function to load system settings instead of the user settingsStefano Karapetsas1-5/+34
this is needed in mate-screensaver
2012-10-16fix g_free callStefano Karapetsas1-3/+4
2012-09-07avoid format=NULL assertion warningStefano Karapetsas1-1/+2
2012-09-03migrate to gsettingsStefano Karapetsas1-103/+46
2012-02-22some ugly gtk3 portingPerberos1-58/+141
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+2930