summaryrefslogtreecommitdiff
path: root/libmate-desktop
AgeCommit message (Collapse)AuthorFilesLines
2014-02-27gtk3: GdkRGBA supportDenis Gorodnichev8-20/+499
2014-02-17libmate-desktop: Use same if in mate-desktop-utilsStefano Karapetsas1-3/+1
2014-02-17Fix mate_gdk_spawn_command_line_on_screenDenis Gorodnichev1-6/+4
2014-02-04Fix mate_gdk_spawn_command_line_on_screenStefano Karapetsas1-2/+2
2013-12-12Use GTK_API_VERSION in mate-desktop-2.0-uninstall.pc.ininfirit1-1/+1
2013-10-31Add MATE_DESKTOP_CHECK_VERSION functionStefano Karapetsas3-1/+87
2013-08-05Fix mate_gdk_spawn_command_line_on_screenStefano Karapetsas1-2/+2
2013-08-02Add replacement for gdk_spawn_command_line_on_screenStefano Karapetsas2-0/+52
gdk_spawn_command_line_on_screen is removed in GTK3, and require some code to be replaced, so we are going to use a common function to replace it in MATE source code to have GTK3 support
2013-07-31Fix includesStefano Karapetsas2-2/+2
2013-07-24Fix includesStefano Karapetsas1-2/+2
2013-07-24libmate-desktop: Fix include pathStefano Karapetsas1-1/+1
2013-07-24Add utilities for GSettingsStefano Karapetsas3-0/+95
2013-07-24Fix typo in previous commitStefano Karapetsas1-1/+1
2013-07-24Add utilities for dconfStefano Karapetsas4-2/+215
2013-07-24Move include files and remove old libmate and libmateui foldersStefano Karapetsas21-34/+27
2013-07-23Fix pkgconfig file for GTK3 supportStefano Karapetsas1-1/+1
2013-07-16Fix gtk3 deprecationStefano Karapetsas1-0/+4
2013-06-28GTK3 compatibility.Laszlo Boros2-0/+8
2013-02-21Add check if default MATE background exists before to use itStefano Karapetsas1-2/+13
Closes https://github.com/mate-desktop/mate-settings-daemon/issues/39
2013-02-20Don't thumbnail thumbnails in .cache/thumbnailsStefano Karapetsas1-1/+2
2012-12-18[mate-bg] change cache dir from "wallpaper" to "mate/background"Jasmine Hassan1-1/+3
2012-12-17[mate-bg] small cleanupJasmine Hassan1-8/+9
2012-12-17[mate-bg] Do not add timeout for one-slide slideshowsJasmine Hassan1-4/+16
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
2012-12-17[mate-bg] Cache resized wallpaper to help CPU at startupJasmine Hassan1-68/+250
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
2012-12-17[mate-bg] minor cleanup/fixJasmine Hassan1-24/+22
unref pixbuf cache when *either* width *or* height change
2012-12-13[mate-bg] cleanup, refactor, plug possible X client leak(s)Jasmine Hassan2-155/+137
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
2012-12-03[mate-bg|schema] add "background-fade" setting, and define the key in headerJasmine Hassan1-0/+3
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
2012-12-03[mate-bg] prefix defines BG_KEY's w/ MATE & move from .c to .hJasmine Hassan2-22/+27
and define "show-desktop-icons" here too, to be used by Caja & m-s-d
2012-12-02[mate-bg] add 2 new gsettings functionsJasmine Hassan2-10/+44
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 Hassan2-70/+108
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 Zesch11-22/+22
2012-11-13[rr-labeler] honor workarea so labels don't appear over/under panelsJasmine Hassan1-3/+132
http://git.gnome.org/browse/gnome-desktop/commit/?id=053a932b09487c4fa3e6331ef7fb65d24667263d
2012-11-11[rr-labeler] use the new GTK3 draw event instead of expose-eventJasmine Hassan1-2/+14
http://git.gnome.org/browse/gnome-desktop/commit/?id=2168b182343c89e01030af9c19475a3cf5a24f5e
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 Hassan2-1/+13
http://git.gnome.org/browse/gnome-desktop/commit/?id=da4d293870762064285231fba3a2a7c3c0d25838
2012-11-11[mate-bg] Proper update for GTK3 changes, simplify GTK2 compatabilityJasmine Hassan4-288/+364
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-11[misc] rename --enable-deprecations to --enable-deprecation-flagsJasmine Hassan1-1/+1
This is a better name for this configure option, since it's really about enabling the use of the deprecation flags, not allowing the use of deprecated API. http://git.gnome.org/browse/gnome-desktop/commit/?id=7fcbb6d90d2c6251434dfac19364b39af21dceed
2012-11-11[build] Update all Makefile.am to more recent standardsJasmine Hassan2-14/+16
http://git.gnome.org/browse/gnome-desktop/commit/?id=4c3d78c930ecb833a677f534ef6cd697d3d92169
2012-11-03fix FSF address in mate-bg-crossfade.hNelson Marques1-2/+2
2012-11-03add function to load system settings instead of the user settingsStefano Karapetsas2-6/+38
this is needed in mate-screensaver
2012-11-02fix thumbnails path for glib >= 2.34Stefano Karapetsas1-14/+28
2012-10-16fix g_free callStefano Karapetsas1-3/+4
2012-10-15add retro-compatibility for glib < 2.31Stefano Karapetsas1-1/+65
2012-09-28Fix possible double-free when destroying private windowsStefano Karapetsas1-0/+6
This could cause free'ing random data when the members of ->windows were destroyed, but ->windows itself wasn't. As it was != NULL, we'd be free memory that wouldn't belong to us anymore. https://bugzilla.gnome.org/show_bug.cgi?id=634534 (patch suggested in MATE by NiceAndGently on https://github.com/mate-desktop/mate-desktop/issues/23)
2012-09-28Update libmate-desktop/display-name.cStefano Karapetsas1-1/+1
patch reported by NiceandGently taken from fedora downstream gnome-desktop
2012-09-12remove unused includeStefano Karapetsas1-1/+0
2012-09-07fix thumbnails factoryStefano Karapetsas1-47/+50
on nautilus, thumbnail path is set by g_file_info_get_attribute_byte_string (info, G_FILE_ATTRIBUTE_THUMBNAIL_PATH); but this gives path in ~/.thumbnails, not ~/.cache/thumbnails, so revert to the old location
2012-09-07avoid format=NULL assertion warningStefano Karapetsas1-1/+2
2012-09-06fix gsettings schema nameStefano Karapetsas1-1/+1