summaryrefslogtreecommitdiff
path: root/eel/eel-background.c
AgeCommit message (Collapse)AuthorFilesLines
2016-07-02eel: make code better readableraveit651-14/+39
2016-07-02GTK+-3 eel: rename GdkRGBA functionsraveit651-0/+21
2016-07-02GTK+-3 eel-backgrounds: port to GtkStyleContext and GdkRGBAraveit651-3/+58
with help from Alexei Sorokin
2016-07-02GTK+-3 eel-background: prepare code for GtkStyleContext portraveit651-13/+28
2016-03-17eel: never try to block background change signalmonsta1-8/+0
that's what was causing random font color changes. the code in eel-background.c is a complete asynchronous mess, with queued callbacks sometimes being called in such order that it caused blocking the background change signal in the situations where it should never be blocked.
2014-12-10zero-init all signals arraysMonsta1-1/+1
2014-12-10eel: fix logic a bitMonsta1-4/+6
2013-07-24Update for mate-desktop changesStefano Karapetsas1-1/+1
2013-02-24Dont corrupt the default background colorStefano Karapetsas1-30/+31
2012-12-03[eel-background] remove debug messages prev added to screen_size_changedJasmine Hassan1-17/+0
The issue that was being debugged (crashes on VM window resize) is now fixed.
2012-12-03[eel-background] Make the desktop background fading effect optionalJasmine Hassan1-0/+8
By checking new mate-bg (global) "background-fade" setting key before initiating a fade. 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[eel-background] refactor to untangle directory & desktop bg-setting codeJasmine Hassan1-754/+668
2012-12-03[eel-background] make sure screen size actually changed before emmitting signalJasmine Hassan1-1/+26
that is, APPEARANCE_CHANGED signal. Also, add a verbose message to know when the signal is about to be emitted, hopefully to aid id debugging a 'BadPixmap (invalid Pixmap parameter)' error & crash when resizing VM window in VirtualBox (4.2.4-81684 as of date).
2012-11-22[eel-background] missed g_strdup in previous commit 3ba2c5e4Jasmine Hassan1-1/+1
2012-11-21[eel-background] use GtkStyle's bg color when no custom one is setJasmine Hassan1-5/+17
this fixes #49 "Gradients-support of color-drops broken since 1.2"
2012-11-20[eel-background] fix minor _expose regression from b5f9a6c8Jasmine Hassan1-1/+1
2012-11-19[eel-background] drawable deprecations (GTK2), rendering-cleanup (GTK3)Jasmine Hassan1-165/+124
1. Don't use gdk_drawable_get_display (deprecated in 2.24) 2. Use GDK_PIXMAP_XDISPLAY(pixmap) directly instead of GDK_DISPLAY_XDISPLAY(gdk_drawable_get_display(GDK_DRAWABLE (pixmap))) 3. Don't require GTK3 for stuff in GTK2.24, which we now require, and don't use gdk_drawable_get_size at all. So, use (i/o = instead of): gdk_window_get_width|height i/o gdk_drawable_get_size gdk_window_get_screen i/o gdk_drawable_get_screen gdk_window_get_visual i/o of gdk_drawable_get_visual 4. add eel_background_draw for GTK3, eel_background_expose for GTK2 This was removed in nautilus (after eel-background-box was removed): http://git.gnome.org/browse/nautilus/commit/?id=87eb53a0701252607b494f34c677b6506f82278c 5. background: port to rendering-cleanup & cope with renamings of gnome-bg APIs http://git.gnome.org/browse/nautilus/commit/?id=0b664aae4090704fa2e44d42f213da2cea8bd828 http://git.gnome.org/browse/nautilus/commit/?id=426079ef07d5f902911f30b0a9d7de95f3020374 6. Fix remaining issue #41: crashes w/ gdk_x_error BadPixmap when changing screen resolution Remove eel_background_get_pixmap_and_color(), and use the pixmap/surface & color properties in background->details directly, when needed. i.e. No more g_object/surface referencing. And call eel_background_ensure_realized() and make_color_inactive() where appropriate.
2012-11-16[eel-background] Don't use GtkObject nor eel-gtk-macrosJasmine Hassan1-79/+70
http://git.gnome.org/browse/nautilus/commit/?id=60044f8ef457036560fb94ad6b20cdf7bedb4f77 http://git.gnome.org/browse/nautilus/commit/?id=2e59a60800a9bc837af9132b0ac234d9d14668c6
2012-11-16[eel] simplify build systemJasmine Hassan1-4/+0
Note: remove eel-types.h include in eel-wrap-table.c (which was removed upstream prior, along with eel-image-table.[ch], after removal of emblems/background-setting stuff, which we're not doing, yet). So change EEL_TYPE_JUSTIFICATION to GTK_TYPE_JUSTIFICATION, and EEL_JUSTIFICATION_BEGINNING to GTK_JUSTIFY_LEFT. Upstream commit/message: We don't need the enumtypes anymore, and the marshallers can easily be autogenerated. http://git.gnome.org/browse/nautilus/commit/?id=75a03a440ebff23ccbf8674ca4a0e9f6475ebbb8
2012-11-13[eel] port EelBackground to cairo drawingJasmine Hassan1-25/+12
http://git.gnome.org/browse/nautilus/commit/?id=28b6813b77c4776b789231d3c64be3be01748608
2012-09-06remove latest mateconf usageStefano Karapetsas1-4/+2
metadata saved in files instead of migrate to gsettings (caja-desktop-metadata.c is from nautilus)
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+1273