summaryrefslogtreecommitdiff
path: root/eel
AgeCommit message (Collapse)AuthorFilesLines
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.
2016-02-15eel: fix some forgotten memory leaksmonsta3-0/+12
taken from: https://git.gnome.org/browse/nautilus/commit/?id=8f15b28dd7afdd1a5c5b9c0d54c05d978a10461a https://git.gnome.org/browse/nautilus/commit/?id=60217c642cb4b12297b2d8ddd2a2eae45671a5a7 https://git.gnome.org/browse/nautilus/commit/?id=5f5bea72af6e23986b7367a2a2157fb15481f367
2015-12-23Typo fix in code and g_param_spec: homogenous -> homogeneous.Mike Gabriel2-4/+4
2015-10-19GTK3: do not use deprecated gtk_misc_set_alignmentraveit652-0/+14
2015-10-19GTK3: Replace gtk_{v,h}box new with gtk_box_newraveit651-0/+4
- gtk_{v,h}box usage is deprecated since gtk+-3.2.0
2015-07-09Use accessor functions instead of direct accessinfirit1-5/+0
2015-06-19[GTK+3] eel: fix bad positioning of rename window in certain casesMonsta1-4/+15
adapted from https://github.com/linuxmint/nemo/commit/d5377cfd53034b6ab5588376322126f48782ec59 (thanks to @mtwebster and nautilus developer who did the original commit) fixes https://github.com/mate-desktop/caja/issues/376
2015-06-18editable-label GTk3: only clear the selection if we change to insensitiveraveit651-1/+3
this fixes non selected text if renaming a file taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=d2c3410
2015-01-13drop support for GLib < 2.36Monsta2-6/+0
Closes https://github.com/mate-desktop/caja/pull/372
2015-01-12use mate_gdk_spawn_command_line_on_screen like other MATE apps doMonsta1-18/+2
Closes https://github.com/mate-desktop/caja/pull/370
2014-12-10zero-init all signals arraysMonsta2-3/+3
2014-12-10NULL-init a pointer for g_assert to work correctlymonsta1-1/+1
2014-12-10eel: fix logic a bitMonsta1-4/+6
2014-03-22fix missing guchar argument in eel-gdk-pixbuf-extensions.craveit651-2/+2
2014-03-22fix g_atomic_int_exchange_and_add deprecationsraveit651-0/+4
2014-03-22fix a wrong guint argumentraveit651-1/+1
2014-01-14Use memmove with latest glib (>= 2.39)Stefano Karapetsas1-0/+5
g_memmove is removed in https://git.gnome.org/browse/glib/commit/?id=6e4a7fca431f53fdfd89afbe956212229cf52200
2013-11-30Fix assertion failture on max_child_sizeBalló György1-0/+3
This fixes the crasher when opening properties.
2013-10-06Properly free GHashTable in properties windowStefano Karapetsas2-0/+34
Closes #178 https://github.com/mate-desktop/mate-file-manager/issues/178 I had to recover two functions previously removed in eel-glib-extensions.
2013-07-25eel: Add GDK3 supportStefano Karapetsas1-0/+17
2013-07-24eel: Add GTK3 supportStefano Karapetsas8-7/+185
2013-07-24eel: Disable unused function in GTK3Stefano Karapetsas2-0/+5
2013-07-24Update for mate-desktop changesStefano Karapetsas3-3/+3
2013-07-23eel: depth argument is removed from gdk_window_get_geometry in GTK3Stefano Karapetsas1-0/+4
2013-07-23Fix typoStefano Karapetsas1-1/+1
2013-07-18INCLUDES to AM_CPPFLAGSWolfgang Ulbrich1-1/+1
2013-06-29Fixes for make distStefano Karapetsas1-0/+1
2013-04-05Fix vpath buildYaakov Selkowitz1-0/+1
2013-02-24Dont corrupt the default background colorStefano Karapetsas1-30/+31
2012-12-22[general] Don't use deprecated gdk_drawable_get_size at allJasmine Hassan1-13/+0
Since we now require GTK 2.24, we can directly use gdk_window_get_width(), gdk_window_get_height()
2012-12-22[all] silence warnings from GCC 4.6Jasmine Hassan2-25/+0
GCC 4.6 introduced a new warning about variables declared and initialized, but not really used in the function body. Remove all of these occurrences to build cleanly. http://git.gnome.org/browse/nautilus/commit/?id=d4230de8667764e02dbb966b5d806ff78ced2fd5
2012-12-22[eel] Use future-safe GDK_WINDOW_XDISPLAY macro to query X displayJasmine Hassan1-1/+1
http://git.gnome.org/browse/nautilus/commit/?id=8cb07ccf2ddcf0cb8557c763f8905558d67736de
2012-12-22[eel] remove commented out canvas codeJasmine Hassan1-5/+0
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 Hassan3-805/+721
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-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-10/+7
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
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-21[background-box] use expose-event for GTK2, draw for GTK3Jasmine Hassan1-12/+22
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 Hassan2-198/+162
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] remove eel_gdk_pixbuf_list_ref()Jasmine Hassan2-16/+0
But unlike upstream commit below, not removing include eel-art-extensions.h from eel-gdk-pixbuf-extensions.h, as we still have functions in the latter using eel_irect_* (from eel-art-extensions), which are still used by the eel-debug-drawing we kept around. http://git.gnome.org/browse/nautilus/commit/?id=7dee3226ad6b3aa1c782cc3d2969e32c5eeae3f3
2012-11-16[eel] remove unused eel_get_filename_charset()Jasmine Hassan2-101/+0
http://git.gnome.org/browse/nautilus/commit/?id=00c0b9daa2053a110e17c64fb79ce4884290dc76
2012-11-16[eel] remove eel_gtk_widget_set_shown()Jasmine Hassan2-25/+0
http://git.gnome.org/browse/nautilus/commit/?id=31dfbdc19075ddf92b4f04a2f84e3111c3fb429b
2012-11-16[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan4-115/+10
Was: general: use g_list_free_full() instead of eel functions http://git.gnome.org/browse/nautilus/commit/?id=5e669515fd7f760382e6b7aa1449734a35a2d7f4 . Instead of g_list_free_full(), we use g_list_foreach and g_list_free() to avoid unnecessary glib dependency bump to 2.28
2012-11-16[editable-label] don't use deprecated size_request vfuncJasmine Hassan1-1/+41
http://git.gnome.org/browse/nautilus/commit/?id=12c7a03bfe3c49078cb5b44ff2651eb9ce1edce4
2012-11-16[general] use new GtkScrollable interfaceJasmine Hassan1-23/+31
http://git.gnome.org/browse/nautilus/commit/?id=d811553a4e74106efdf8bf6c91c6d29944ed6df7 canvas: use GTK_LAYOUT casts instead of going through the parent struct http://git.gnome.org/browse/nautilus/commit/?id=2260005986d8c620669e56c4b9f2fba12e8e0625
2012-11-16[editable-label] fix cairo drawing regressionsJasmine Hassan1-14/+21
http://git.gnome.org/browse/nautilus/commit/?id=407666719856127547f5c2f3f03f6a050858239a