Age | Commit message (Collapse) | Author | Files | Lines |
|
Part of the original code (from gnome-desktop) for setting root pixmap seems very
similar to, and may have been adapted from common source:
http://people.debian.org/~lunar/xwpset.c
The original concept all dates back to an Eterm/Esetroot technique that became
commonly used (ex. xchat) for window transparency over desktop:
http://www.eterm.org/docs/view.php?doc=ref#trans
Wisdom can be gained from studying various similar implementations. Examples:
https://github.com/derf/feh/blob/master/src/wallpaper.c
http://ag.cs.uvic.ca/static/debian5/sources/blackbox_0.70.1/blackbox-0.70.1.orig/util/bsetroot.cc
http://files.minuslab.net/SetBG.cc
The changes should hopefully help avoid this: https://bugzilla.gnome.org/show_bug.cgi?id=681928
and consequences as these: https://bugzilla.gnome.org/show_bug.cgi?id=680356
https://bugzilla.gnome.org/show_bug.cgi?id=680354
|
|
to make the fading effect optional, either when caja or m-s-d is drawing the bg.
This is hopefully useful for those running on older hardware, as the fading
effect could delay login/startup a bit.
For reference, see:
https://bugzilla.gnome.org/show_bug.cgi?id=623174
|
|
and define "show-desktop-icons" here too, to be used by Caja & m-s-d
|
|
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.
|
|
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!
|
|
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
|
|
http://git.gnome.org/browse/gnome-desktop/commit/?id=4c3d78c930ecb833a677f534ef6cd697d3d92169
|
|
|
|
this is needed in mate-screensaver
|
|
|
|
|
|
|
|
|
|
|