summaryrefslogtreecommitdiff
path: root/eel/eel-background.c
AgeCommit message (Collapse)AuthorFilesLines
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela1-27/+3
This commit reverts: https://github.com/mate-desktop/caja/commit/4c130e22b98bbc1a85747adac3b582e45d34514e https://github.com/mate-desktop/caja/commit/ac12e6d16f4a51b3327d013781e72cfec17f3624 https://github.com/mate-desktop/caja/commit/17b3c0ca924ffcd4bd06fded98227eba626d4f0b https://github.com/mate-desktop/caja/commit/42c8d2c3373c25d6e321be6950997c0d7ce44279 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height gdk_screen_width gdk_screen_height
2017-09-01Fix: high cpu while loading background imageZenWalker1-0/+8
Fixes #606
2017-08-28make sure scaling the desktop wallpaper works in all monitorsZenWalker1-4/+20
Fixes #836
2017-08-25gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+5
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-08-21Fix: Scaling the desktop wallpaper doesn't workZenWalker1-6/+10
Fixes https://github.com/mate-desktop/caja/pull/824#issuecomment-323568583
2017-08-12avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+6
2017-03-13eel: Avoid deprecated gdk_window_set_background functionsAlexei Sorokin1-45/+117
Fixes partially #506, fixes compiz-reloaded/compiz#40.
2017-02-02eel: GdkRGBA related fixesAlexei Sorokin1-10/+11
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-155/+7
option *Remove GTK_VERSION_CHECK (3, 0, 0) and libunique selectors *Remove GTK2 and libunique specific code. *Leaves selector for specific GTK3 versions. *Remove #DEFINES for vbox/hbox previously required for GTK2 compatability *Keep vbox in caja-spatial-window.c, it is necessary for the desktop to work *spatial-window vbox issue at https://github.com/mate-desktop/caja/issues/591
2016-08-22drop a large amount of completely unused codemonsta1-1/+0
2016-07-13drop unneeded includesmonsta1-2/+0
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