Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
origin commit:
https://gitlab.gnome.org/GNOME/gnome-desktop/commit/c587265
|
|
Fixes Clang static analyzer warning:
mate-bg.c:2764:2: warning: Potential leak of memory pointed to by 'size'
g_queue_push_tail (parser->stack, g_strdup (name));
^~~~~~~~~~~~~~~~~
|
|
|
|
There are some incorrect comments in mate_bg_create_surface_scale. Fix them.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
|
|
This change is a super hacky way of supporting the fallback desktop background (without caja) on HiDPI displays. It does this by doing two things: providing a function for scaled-up background surfaces using cairo_scale; and triggering a change signal when the entire background schema is re-loaded, and so triggering a redraw.
|
|
|
|
This commit reverts:
https://github.com/mate-desktop/mate-desktop/commit/6137212bce120c9eb5555ae777fc7fea2f71e43e
And it applies an alternative to fix the deprecated functions:
gdk_screen_get_width
gdk_screen_get_height
|
|
avoid deprecated:
gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_point
|
|
|
|
|
|
|
|
Allows to fix backgrounds in Caja and fixes fading.
These changes somewhat break API behavior.
|
|
|
|
|
|
|
|
Fixes https://github.com/mate-desktop/mate-desktop/issues/237
|
|
credits to Alexei Sorokin
|
|
It's not really necessary.
taken from:
https://git.gnome.org/browse/gnome-desktop/commit/?h=gnome-3-6&id=2738c5c
|
|
Now that we have a proper type for RGBA values,
we should use it (instead of packing the four components into a uint32).
https://bugzilla.gnome.org/show_bug.cgi?id=671750
taken from:
https://git.gnome.org/browse/gnome-desktop/commit/?h=gnome-3-4&id=0f60413
|
|
|
|
it's not used anymore since this Caja fix:
https://github.com/mate-desktop/caja/commit/c74212b4630767b3b11b41cb26a8df20090096f4
|
|
When loading a picture to render it as desktop background, consider the presence of a rotation tag to display the picture properly.
Ported from https://github.com/linuxmint/cinnamon-desktop/commit/0a5f072befd97b6282a8cff71f0e184becf538b8
|
|
|
|
The GdkScreen* was being passed into some functions that weren't using
it at all. Remove those extra arguments.
|
|
from https://github.com/GNOME/gnome-desktop/commit/e19df898281f83aa6db3d8fe57c720b29d98abee
|
|
from https://github.com/GNOME/gnome-desktop/commit/d7cc5dadc3831b149bab1cd3e4af50e441546c2e
|
|
|
|
This reverts commit 48df7a0c71a2df4050abae40ec9ca2b35dee7988.
The commit causes a regression with timing xml background.
see https://github.com/mate-desktop/mate-control-center/issues/159
|
|
|
|
Turned all GnomeRR structures into boxed types, then added the needed annotations and the Makefile.am bits.
Does not yet include API changes, but should bind (awfully) all of libgnome-desktop.
Based on gnome commit: cad94246fb5be76482212407a380cd75f9e7b932
url: https://git.gnome.org/browse/gnome-desktop/commit/?id=cad94246fb5be76482212407a380cd75f9e7b932
|
|
the code below clearly assumes that slide should never be NULL,
so the check is now done via g_return_if_fail
Closes https://github.com/mate-desktop/mate-desktop/pull/143
|
|
Closes https://github.com/mate-desktop/mate-desktop/pull/137
|
|
|
|
This reverts commit e95d24559060365eb4fee8154ad82434bf3c8a0a.
|
|
This reverts commit 0eef05307bd0c2acb5c780b8f85a239ca810625d.
|
|
this functions are used at mate-control-center
|
|
|
|
|
|
Closes https://github.com/mate-desktop/mate-settings-daemon/issues/39
|
|
|
|
|
|
If a slideshow is made of only one slide, then there's no animation. So
we just override the duration of the slide to G_MAXUINT, and we do not
add timeouts for such durations.
https://bugzilla.gnome.org/show_bug.cgi?id=630498
http://git.gnome.org/browse/gnome-desktop/commit/?id=adf18a2cf78c26a33c7a00210fc29020e935e0c1
|
|
Resized and transformed wallpapers are stored in ~/.cache/wallpaper/.
The cache is refreshed for each new current wallpaper depending on the
resolution or transformation, and each time the source image is
refreshed.
The source image format is preserved.
https://bugzilla.gnome.org/show_bug.cgi?id=608419
Adapted from:
http://git.gnome.org/browse/gnome-desktop/commit/?id=63c36f78980a4982d364e37e6c1e6219af2ecd32
http://git.gnome.org/browse/gnome-desktop/commit/?id=ae7a732da1bdced139b109a453fac78c2b9f2fc6
http://git.gnome.org/browse/gnome-desktop/commit/?id=43e13d709d8d35b3484e8b2aaf126f1d91fae7ad
|
|
unref pixbuf cache when *either* width *or* height change
|
|
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
|
|
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.
|