summaryrefslogtreecommitdiff
path: root/eel
AgeCommit message (Collapse)AuthorFilesLines
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
2012-11-16[build] fix distcheckJasmine Hassan1-0/+1
http://git.gnome.org/browse/nautilus/commit/?id=74a0311e65f2c9fc2d03967b0607633dcb652f88
2012-11-16[eel] Port EelEditableLabel to rendering-cleanup-nextJasmine Hassan1-13/+69
http://git.gnome.org/browse/nautilus/commit/?id=2b7659ac4fcaa8b93ad8f409e1560aaa60dcdc12
2012-11-16[editable-label] use gtk_widget_get_preferred_size() for GTK3Jasmine Hassan1-1/+5
and gtk_widget_size_request() for GTK2 http://git.gnome.org/browse/nautilus/commit/?id=4963a3c9e5526ffd139b1b0b5bff18b6ea91a717
2012-11-16[eel-canvas] Port the eel canvas to rendering-cleanup-nextJasmine Hassan3-26/+193
http://git.gnome.org/browse/nautilus/commit/?id=58832e54b6a4e596693527d577e4f8fa2f3e4ccf
2012-11-16[eel-gdk-extensions] Add eel_cairo_draw_layout_with_drop_shadow for GTK3Jasmine Hassan2-6/+25
keeping eel_gdk_draw_layout_with_drop_shadow for GTK2 http://git.gnome.org/browse/nautilus/commit/?id=d2f141f4a5435b10b43abea0822e3d0569b67886
2012-11-16[eel-background-box] Don't use eel-gtk-macrosJasmine Hassan1-2/+1
2012-11-16[eel-debug-drawing] Don't use eel-gtk-macrosJasmine Hassan1-25/+13
2012-11-16[eel-(image|wrap)-table] Don't use GtkObject nor eel-gtk-macrosJasmine Hassan2-215/+175
the ::destroy signal of GtkObject has only been moved to GtkWidget in GTK3 (after GtkObject removal): http://developer.gnome.org/gtk3/3.0/ch25s02.html So, we use conditionals in eel-image-table's case, to keep working with GTK2
2012-11-16[eel-labeled-image] Don't use GtkObject nor eel-gtk-macrosJasmine Hassan1-200/+160
2012-11-16[eel-editable-label] don't use GtkObjectJasmine Hassan1-11/+10
http://git.gnome.org/browse/nautilus/commit/?id=b5f9acb9029c015558ab678e01fc2c8dcc8c6c82
2012-11-16[eel-canvas] don't use GtkObject (GTK3)Jasmine Hassan3-57/+63
the ::destroy signal of GtkObject has only been moved to GtkWidget in GTK3 (after GtkObject removal): http://developer.gnome.org/gtk3/3.0/ch25s02.html So, we conditionals in this case, to keep working with GTK2 Nautilus commit message: This implies adding a 'destroy' signal to EelCanvasItem, with similar semantics to gtk_object_destroy() http://git.gnome.org/browse/nautilus/commit/?id=1f615321613751a5dbc84d5ef7f20edd104b8dc4
2012-11-16[eel-stock-dialogs] don't use GtkObjectJasmine Hassan1-6/+6
http://git.gnome.org/browse/nautilus/commit/?id=5edcd42e503623c11bf55c6afba437b3013c7f45
2012-11-16[eel-background] Don't use GtkObject nor eel-gtk-macrosJasmine Hassan2-81/+72
http://git.gnome.org/browse/nautilus/commit/?id=60044f8ef457036560fb94ad6b20cdf7bedb4f77 http://git.gnome.org/browse/nautilus/commit/?id=2e59a60800a9bc837af9132b0ac234d9d14668c6
2012-11-16[eel-labeled-image] convert to new GDK_KEY prefixJasmine Hassan1-3/+3
2012-11-16[eel-editable-label] convert to new GDK_KEY prefixJasmine Hassan1-43/+43
http://git.gnome.org/browse/nautilus/commit/?id=499c54a20b64051e427ff5746fc7c8dd1a1885c2
2012-11-16[editable-label|entry] use GtkEditableClass on GTK2, GtkEditableInterface on ↵Jasmine Hassan1-2/+3
GTK3 editable-label: rename GtkEditableClass->GtkEditableInterface http://git.gnome.org/browse/nautilus/commit/?id=a58bbde4ca6b11eeb1bca5fa4e62e60c0b26271b entry: rename GtkEditableClass->GtkEditableInterface http://git.gnome.org/browse/nautilus/commit/?id=aeb53075ed55dc2a2ef3228917ded1b8029bfdff
2012-11-16[eel] reorganize Makefile.amJasmine Hassan1-37/+34
http://git.gnome.org/browse/nautilus/commit/?id=ad5e896e1ce04485a115ee684a695b42ea0378a5
2012-11-16[eel] remove eel_gdk_window_focusJasmine Hassan2-17/+0
http://git.gnome.org/browse/nautilus/commit/?id=7e8d1dfa6a17fe9189bf2489b735cd6462f03571\
2012-11-16[eel] remove EelAlertDialog. It is unused nowJasmine Hassan3-554/+0
http://git.gnome.org/browse/nautilus/commit/?id=fe94a33657d55a2463fa066e09a8ecbfc637c4bd
2012-11-16[all] use GtkMessageDialog instead of EelAlertDialog (going away)Jasmine Hassan1-25/+37
This covers 4 commits: file-operations: use GtkMessageDialog http://git.gnome.org/browse/nautilus/commit/?id=51ec5861ca0697e802e8c003053211ac12f2fd54 mime-actions: use GtkMessageDialog http://git.gnome.org/browse/nautilus/commit/?id=7a3dcdd4bf667aac271be74988770e18575a7df2 tree-view: don't include eel-alert-dialog.h http://git.gnome.org/browse/nautilus/commit/?id=930af7f3058eed256a42c0c1558c7307bb93f411 [eel] use GtkMessageDialog for stock dialogs http://git.gnome.org/browse/nautilus/commit/?id=82c5b6c0d82ebd8a705d542fcc9aa58e6e9b0da4
2012-11-16[eel] add a utility to pack details into a message dialogJasmine Hassan2-2/+29
So that we can remove EelAlertDialog. http://git.gnome.org/browse/nautilus/commit/?id=a2b4de80a94b4e049f1d2a7ef00a174865b5c9ec
2012-11-16[eel-gtk-extensions] remove eel_gtk_signal* utilitiesJasmine Hassan2-92/+0
They're now unused. http://git.gnome.org/browse/nautilus/commit/?id=394cb741c3e59df66f924771d4ef68866e602faa
2012-11-16[eel] remove functions to set widget backgroundsJasmine Hassan3-38/+0
Now that we've removed eel_gtk_widget_set_background_color calls in eel-debug-drawing.c and test-eel-image-table.c, both it and _set_foreground_color are unused. Original commit: http://git.gnome.org/browse/nautilus/commit/?id=57b66862a53298468755e12ca3712569274f0a32
2012-11-16[eel] remove functions to handle acceleratorsJasmine Hassan2-100/+0
These are unused now http://git.gnome.org/browse/nautilus/commit/?id=472f3e1433ecb3d5e1a7fc8707975f45dd8d0469
2012-11-16[eel] simplify build systemJasmine Hassan9-579/+30
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-14[eel] remove eel-pango-extensionsJasmine Hassan5-674/+0
http://git.gnome.org/browse/nautilus/commit/?id=e42ddad5109f193bf8a5b3c0c6cd7cf4b1408300
2012-11-14[lc-p|eel-gtk-extensions] Don't include eel-pango-extensions.hJasmine Hassan1-1/+0
http://git.gnome.org/browse/nautilus/commit/?id=f080b86daeb571def4c092e1524e9adfc7700699
2012-11-14[eel] cleanup eel-vfs-extensionsJasmine Hassan2-29/+0
http://git.gnome.org/browse/nautilus/commit/?id=2f202206fee4e1917494e3f4652e22648097c765
2012-11-14[eel] cleanup eel-glib-extensionsJasmine Hassan2-107/+0
http://git.gnome.org/browse/nautilus/commit/?id=230581b5d58650c1f50f7d9fda9ab3a1f211361a
2012-11-14[eel] cleanup eel-mate-extensionsJasmine Hassan2-21/+2
http://git.gnome.org/browse/nautilus/commit/?id=fbccd9bfaa9c983dccc60d040b63b86521306788