summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-canvas-item.c
AgeCommit message (Collapse)AuthorFilesLines
2016-12-31Fix cursor on single-click navigation mode.Franco Tortoriello1-2/+15
On this mode, after opening a folder, the hand cursor was used until the user moved the cursor over a file or folder. Based on Nautilus commit https://git.gnome.org/browse/nautilus/commit/?id=2644c6ef4e7839e976d4861d6c86e16e34d46a13
2016-12-14Add a separator when concatenating strings in icon text accessibleColomban Wendling1-0/+2
This makes the string exposed to ATK more sensible, instead of having unrelated words coupled together.
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-561/+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-01-15GTK3 general: don't use gdk_cursor_unref()Wolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/nautilus/commit/?id=74a8f78
2016-01-15GTK3 icon-canvas-item: add a missing gtk_style_context_restore()Wolfgang Ulbrich1-0/+2
taken from: https://git.gnome.org/browse/nautilus/commit/?id=8296f8c
2016-01-13GTK3 icon-canvas-item: don't override parent container style flagsWolfgang Ulbrich1-17/+10
When drawing the canvas item elements, don't override the parent container style flags, so we don't lose e.g. backdrop information. taken from: https://git.gnome.org/browse/nautilus/commit/?id=31dad6f
2016-01-13GTK3 icon-canvas-item: don't draw pango layouts when renamingWolfgang Ulbrich1-2/+4
Fixes a regression introduced in commit 3a858857fff5e1d7e0bffcec63fea6d2a933ce27 that causes unwanted text to be drawn while renaming a file in icon view. taken from: https://git.gnome.org/browse/nautilus/commit/?id=f07aa75
2016-01-13GTK3 icon-canvas-item: render the additional text with gtk_render_layout()Wolfgang Ulbrich1-4/+31
And add a style class for it. taken from: https://git.gnome.org/browse/nautilus/commit/?id=7732a6b https://git.gnome.org/browse/nautilus/commit/?id=2cb91c0
2016-01-13GTK3 icon-canvas-item: use gtk_render_* methods instead of direct cairoWolfgang Ulbrich1-142/+243
Instead of hardcoding colors and using direct cairo calls to draw the canvas items frame/background/labels, use gtk_render_* methods directly. This has the advantage of making them more friendly with GTK+ themes (by adding a caja-canvas-item style class to the canvas context when drawing) and removes a ton of convolut taken from: https://git.gnome.org/browse/nautilus/commit/?id=95910c9
2016-01-13GTK3 icon-canvas-item: make the icon frame transparent when not prelitWolfgang Ulbrich1-10/+5
This fixes icons on the desktop appearing weird taken from: https://git.gnome.org/browse/nautilus/commit/?id=6a11ecd
2016-01-13GTK3 icon-canvas-item: remove an useless snippet of drawing codeWolfgang Ulbrich1-11/+1
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=09f0b79
2016-01-13GTK3 icon-canvas-item: use eel_create_spotlight_pixbuf()Wolfgang Ulbrich1-6/+7
Instead of passing eel_pixbuf_render() always the same values taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=a1fa4ea
2016-01-13GTK3 icon-container: remove useless theming propertiesWolfgang Ulbrich1-4/+12
taken from: https://git.gnome.org/browse/nautilus/commit/?id=e2ca42cac78cb0287a1bbb73030e7bba8b171970
2016-01-13GTK3 icon-canvas-item: set the right style classWolfgang Ulbrich1-1/+15
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=0668960
2016-01-13GTK3 icon-container: fix rendering of text on the desktopWolfgang Ulbrich1-1/+1
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=2e5f7a23350016c67bb9e9cca86a9fb2360d79e2
2016-01-13GTK3 icon-canvas-item: port to GtkStyleContextWolfgang Ulbrich1-16/+74
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=fc74332
2015-01-13drop support for GLib < 2.36Monsta1-2/+0
Closes https://github.com/mate-desktop/caja/pull/372
2014-03-09icon-canvas-item: attempt to fix up a11y for CajaIconCanvasItemStefano Karapetsas1-333/+273
https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=184096f912b119edde1f538e8cdd5ea593d753ca
2012-12-22[all] silence warnings from GCC 4.6Jasmine Hassan1-14/+1
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-11-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-4/+4
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
2012-11-20[lc-p] revise rendering-cleanup commit 2a4433a562Jasmine Hassan1-7/+9
mainly, in icon-dnd, in drag_begin_callback, CajaIconContainer was only declared for GTK2. Also, replace some deprecated gdk_drawable_get(size|screen) calls, and remove some unnecessary GDK_DRAWABLE casts. Also, in icon-canvas-item, in draw_label_text, missed ommitting a NULL parameter to gtk_paint_focus, for GTK3.
2012-11-16[eel] remove eel_gdk_pixbuf_list_ref()Jasmine Hassan1-2/+1
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[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan1-4/+6
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[icon-canvas-item] use cairo directly instead of gdk_pixbuf_composite()Jasmine Hassan1-18/+27
http://git.gnome.org/browse/nautilus/commit/?id=a136af0a01c160cdfb513c531b910b49a4a62973
2012-11-16[icon-canvas-item] set transparent background for highlightJasmine Hassan1-2/+1
http://git.gnome.org/browse/nautilus/commit/?id=c6860491c432e311d585a6d92443ef821afd46d2
2012-11-16[libcaja-private] Port to rendering-cleanup-nextJasmine Hassan1-50/+232
http://git.gnome.org/browse/nautilus/commit/?id=910191ea13e5647e1b8c793e7585530c6ae4c9b1
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[lc-p] properly dash the icon when resizing itJasmine Hassan1-11/+3
http://git.gnome.org/browse/nautilus/commit/?id=b10d8c00395026719dc0840e9d82e682c7c4e436
2012-11-14[lc-p] make drawing of resize knobs work againJasmine Hassan1-8/+7
http://git.gnome.org/browse/nautilus/commit/?id=29d7b86087f6ab86f6abd6c3c08c4e1d94b92b36
2012-11-14[lc-p] port CajaIconCanvasItem to cairo drawingJasmine Hassan1-104/+77
http://git.gnome.org/browse/nautilus/commit/?id=89bd44de6bb11450b88d9d160593b65d62467579
2012-09-05convert click-policy to gsettingsStefano Karapetsas1-3/+4
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+3874