summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-dnd.c
AgeCommit message (Collapse)AuthorFilesLines
2022-12-23Remove dead assignmentColomban Wendling1-2/+0
Found by cppcheck: https://caja.mate-desktop.dev/2022-11-23-174623-5790-cppcheck@ae663c369cf2_desktop-no-overflow/18.html#line-630
2021-11-20Use a blank line at mostrbuj1-7/+0
2019-05-06libcaja-private: reduce the scope of some variablesPablo Barciela1-15/+24
2019-05-04eel: remove date & time functionsrbuj1-1/+1
Do not need to extend glib library, since it now incorporates these functions. Extended date format modifiers are available on glib v2.56. eel-glib-extensions.h/c: GDate * eel_g_date_new_tm (struct tm *time_pieces); char * eel_strdup_strftime (const char *format, struct tm *time_pieces); gint64 eel_get_system_time (void); Do not need to test the extensions in eel_self_check_glib_extensions (void). eel-glib-extensions.c: static void check_tm_to_g_date (time_t time) static char * test_strftime (...) Do not need to check if strftime implements extended date format modifiers on the system (available on glibc v2.27). configure.ac
2019-04-12local #include files who are libraries inside <> instead ""Pablo Barciela1-11/+11
2019-04-10local #include files inside "" instead <>Pablo Barciela1-20/+22
2017-09-02icon-dnd: remove hardcoded highlight frameCosimo Cecchi1-6/+1
The call to gtk_render_frame() should be enough; Now the .dnd style class setting from themes are used. Fixes https://github.com/mate-desktop/mate-themes/issues/194 origin commit: https://git.gnome.org/browse/nautilus/commit/?id=8d8979f
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker1-3/+3
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-102/+1
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-07-04GTK+-3 caja-icon-dnd: avoid deprecated gtk_drag_beginraveit651-0/+10
use gtk_drag_begin_with_coordinates instead
2016-01-13GTK3 icon-dnd: set the right style class, and use GdkRGBAWolfgang Ulbrich1-3/+20
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=5d811bb
2016-01-13GTK3 icon-container: port to GtkStyleContextWolfgang Ulbrich1-3/+1
taken from: https://git.gnome.org/browse/nautilus/commit/?id=4f23a0a
2016-01-13GTK3 icon-dnd: fix DnD highlighting regressionWolfgang Ulbrich1-1/+11
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=7bd06fa
2012-12-22[all] silence warnings from GCC 4.6Jasmine Hassan1-6/+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[lc-p] remove unnecessary GDK_DRAWABLE castJasmine Hassan1-1/+1
http://git.gnome.org/browse/nautilus/commit/?id=c2c4076ceb2216ff5e696b4e78aeb63e0f86c437
2012-12-03[eel-background] refactor to untangle directory & desktop bg-setting codeJasmine Hassan1-14/+8
2012-11-20[lc-p] revise rendering-cleanup commit 2a4433a562Jasmine Hassan1-20/+7
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[general] use new GtkScrollable interfaceJasmine Hassan1-14/+28
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-dnd] cleanup useless commentJasmine Hassan1-4/+0
removing old comment, keeping old pixmap/mask code around for GTK2 was: icon-dnd: cleanup useless code http://git.gnome.org/browse/nautilus/commit/?id=098057414b38aeeddd3fcd81942324336628d341
2012-11-16[icon-dnd] use negative device offsets to set the drag surfaceJasmine Hassan1-1/+1
http://git.gnome.org/browse/nautilus/commit/?id=f38bad2536faf497fe56c9a491ab852cb00514c0
2012-11-16[libcaja-private] Port to rendering-cleanup-nextJasmine Hassan1-9/+47
http://git.gnome.org/browse/nautilus/commit/?id=910191ea13e5647e1b8c793e7585530c6ae4c9b1
2012-11-16[icon-dnd] remove commented out obsolete codeJasmine Hassan1-62/+1
http://git.gnome.org/browse/nautilus/commit/?id=c5eba3314c99059aa1fff13aedcb1004966fdd55
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-14[lc-p] use the 'outline-stippling' property on DnDJasmine Hassan1-0/+1
http://git.gnome.org/browse/nautilus/commit/?id=aa43821e73d60804a3f0f2ebafb66aab53b440e1
2012-11-14[lc-p] port caja-icon-dnd to cairo drawingJasmine Hassan1-38/+8
http://git.gnome.org/browse/nautilus/commit/?id=34a376c97717cb05187b3d880e991c2d23511109
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+2123