summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-17icon container: don't set label colors right after widget realizemonsta1-4/+0
the background might be not yet set at this point, and when it will be set, the label colors will be properly set on a signal anyway. so let's not do the same work twice.
2016-03-17icon container: restore original font color select logicmonsta1-1/+1
that is, before 057df2dc1d8ea67b477d696ac6feea8aaf392763 the logic itself is valid, but it was somewhat broken later in a few attempts to fix the annoying font color bugs. so let's restore it.
2016-01-31GTK3 desktop: add a caja-desktop style class to the desktop canvasWolfgang Ulbrich1-0/+9
So that themes can tweak the color/background of desktop canvas items separately. taken from: https://git.gnome.org/browse/nautilus/commit/?id=8b676a6
2016-01-25GTK3: fix deprecated GtkMiscWolfgang Ulbrich1-0/+7
2016-01-18fix fg-color of dark themesWolfgang Ulbrich1-3/+2
fixes https://github.com/mate-desktop/caja/issues/81
2016-01-15GTK3 all: don't use deprecated GDK pointer methodsWolfgang Ulbrich1-0/+8
Use the new GdkDevice methods instead. taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=a816e00 https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=cdf858f
2016-01-15don't use deprecated gdk_cursor_new for both toolkit versionsWolfgang Ulbrich1-4/+6
gdk_cursor_new i deprecated with gtk+-3.16 and gdk_cursor_new_for_display is available since 2.2
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: don't use deprecated gtk_widget_size_requestWolfgang Ulbrich1-4/+4
gtk_widget_size_request --> gtk_widget_get_preferred_size
2016-01-13GTK3 icon-container: invalidate the layout cache on style-updatedWolfgang Ulbrich1-1/+1
This way label sizes will be recomputed if e.g. DPI settings change. https://bugzilla.gnome.org/show_bug.cgi?id=578468 taken from: https://git.gnome.org/browse/nautilus/commit/?id=2f064e5
2016-01-13GTK3 icon-container: don't chain up style-updated for the desktop containerWolfgang Ulbrich1-3/+14
Chaining up resets the background to the default color, which is not what we want for the desktop container. Fixes https://github.com/mate-desktop/caja/issues/445 taken from: https://git.gnome.org/browse/nautilus/commit/?id=83a7d27
2016-01-13GTK3 icon-container: use the "rubberband" style class for the selection itemWolfgang Ulbrich1-43/+78
Instead of using a custom style property. Autor: lukefromdc same as: https://git.gnome.org/browse/nautilus/commit/?id=ca7f81e2
2016-01-13GTK3 icon-container: remove unused code caching canvas item colorsWolfgang Ulbrich1-118/+15
Caching colors in CajaIconContainer to use them in the canvas item is not needed anymore, as gtk_render_* fetches the right values directly from the style context. taken from: https://git.gnome.org/browse/nautilus/commit/?id=77eecef
2016-01-13GTK3 icon-container: remove unused style propertiesWolfgang Ulbrich1-44/+3
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=e652eb0
2016-01-13GTK3 icon-container: hook to style_updated instead of style_setWolfgang Ulbrich1-6/+13
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=a083fa0
2016-01-13GTK3 icon-container: fix setting the selection when renamingWolfgang Ulbrich1-1/+9
Closes: bgo #642766 taken from: https://git.gnome.org/browse/nautilus/commit/?id=a8a5b8d
2016-01-13GTK3 icon-container: fix a couple of ACTIVE -> NORMAL typosWolfgang Ulbrich1-3/+3
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=d0d9059
2016-01-13GTK3 icon-container: remove useless theming propertiesWolfgang Ulbrich1-28/+29
taken from: https://git.gnome.org/browse/nautilus/commit/?id=e2ca42cac78cb0287a1bbb73030e7bba8b171970
2016-01-13GTK3 icon-container: plug a memory leakWolfgang Ulbrich1-1/+6
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=f394ce8
2016-01-13GTK3 icon-container: fix rendering of text on the desktopWolfgang Ulbrich1-2/+5
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=2e5f7a2
2016-01-13GTK3 icon-container: don't malloc() GdkRGBA colors manuallyWolfgang Ulbrich1-7/+7
As GdkRGBA might or might not use internally a different allocator, like g_slice. This should fix some memory corruption issues, thanks to Alban Browaeys for tracking down the bug. taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=4c026bf
2016-01-13GTK3 icon-container: fix rendering of text on the desktopWolfgang Ulbrich1-7/+7
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=2e5f7a23350016c67bb9e9cca86a9fb2360d79e2
2016-01-13GTK3 icon-container: port to GtkStyleContextWolfgang Ulbrich1-4/+230
taken from: https://git.gnome.org/browse/nautilus/commit/?id=4f23a0a
2016-01-13GTK3 icon-container: remove spurious call to gtk_adjustment_changed()Wolfgang Ulbrich1-2/+0
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=42865d5
2016-01-06Fix fontcolor in icon view with some light themesbl0ckeduser1-1/+2
fixes #438
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-07Merge pull request #431 from NiceandGently/mastermonsta1-1/+6
icon-container: reset the double click counter after a double click
2015-06-24compact view: don't auto-scroll to the right on long filenamesMonsta1-4/+6
however, now it will auto-scroll to the left if you manually scroll to the right and then click on any filename. I presume this behavior is more desired than the previous one. if it's not so, let me know (in the comments). adapted from https://github.com/linuxmint/nemo/commit/72c2214c82637ab622438d46c28e67289a49d472 (thanks to @glebihan) fixes https://github.com/mate-desktop/caja/issues/406
2015-06-21icon-container: reset the double click counter after a double clickraveit651-1/+6
If we don't do this, we ignore any other double click event that happen during the next 'gtk-double-click-time' interval after the first double click. taken from: https://git.gnome.org/browse/nautilus/commit/?id=a8539a6
2015-01-13drop support for GLib < 2.36Monsta1-2/+0
Closes https://github.com/mate-desktop/caja/pull/372
2015-01-10some optimizations in the access to listsMonsta1-29/+10
2014-12-10zero-init all signals arraysMonsta1-1/+1
2014-12-10don't leak memorymonsta1-0/+1
2014-04-28Quick fix for #105bl0ckeduser1-1/+1
2014-03-09icon-canvas-item: attempt to fix up a11y for CajaIconCanvasItemStefano Karapetsas1-1/+1
https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=184096f912b119edde1f538e8cdd5ea593d753ca
2013-07-25libcaja-private: Add GDK3 supportStefano Karapetsas1-0/+4
2013-04-10Fix drag selection going out of bounds (partial revert of ↵Brent Hull1-9/+14
99f8b5f25192b8593ae337efe7f49c59ff13a3f4)
2012-12-22[all] silence warnings from GCC 4.6Jasmine Hassan1-24/+5
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[general] Use GSourceFunc instead of GtkFunctionJasmine Hassan1-1/+1
http://git.gnome.org/browse/nautilus/commit/?id=a5caa0e98c844a23656cafaa9b6f985dada7bc51
2012-12-22[icon-container] don't use eel helper to set adjustment valuesJasmine Hassan1-67/+33
http://git.gnome.org/browse/nautilus/commit/?id=3a9c6cd783507cc2fbd0a838cd6710f74e7f17dd
2012-11-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-2/+3
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
2012-11-20[lc-p] revise rendering-cleanup commit 2a4433a562Jasmine Hassan1-3/+1
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[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan1-3/+4
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-container] remove size_request vfunc implJasmine Hassan1-10/+0
It doesn't seem to do anything useful. http://git.gnome.org/browse/nautilus/commit/?id=1cdd0b41bf9de69a93cb166636d7eccff9f5355f
2012-11-16[general] use new GtkScrollable interfaceJasmine Hassan1-23/+29
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[icon-container] use gtk_widget_get_preferred_size()Jasmine Hassan1-1/+3
http://git.gnome.org/browse/nautilus/commit/?id=e56241830bfd2ca470ec2b1da53313c2230bc2b9
2012-11-16[libcaja-private] Port to rendering-cleanup-nextJasmine Hassan1-4/+12
http://git.gnome.org/browse/nautilus/commit/?id=910191ea13e5647e1b8c793e7585530c6ae4c9b1
2012-11-16[lc-p] use eel_canvas_item_destroy instead of gtk_object_destroy()Jasmine Hassan1-2/+2
http://git.gnome.org/browse/nautilus/commit/?id=f5192b6990cd9240d126974dd587b7b7525ae714
2012-11-16[lc-p] don't use GtkObject (GTK3)Jasmine Hassan1-3/+13
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 this case, to keep working with GTK2 Original commit: http://git.gnome.org/browse/nautilus/commit/?id=aef4cfcf93ef34a0b2d4c87b40fcec2b7a66dd06
2012-11-16[build] don't include marshals we don't ownJasmine Hassan1-1/+0
http://git.gnome.org/browse/nautilus/commit/?id=8d07a73b28767b7c866fe403e9ac706b8affb8a2