summaryrefslogtreecommitdiff
path: root/libcaja-private
AgeCommit message (Collapse)AuthorFilesLines
2017-04-14Add size_request to IconContainer to work around uncecessary relayoutingraveit651-0/+64
The GtkScrolledWindow uses the widget prefered size as a guess as to whether scrollbars are needed or not in the automatic scrollbars case. If we don't report anything for them we typically get it wrong and cause two size allocate calls on the child each time, with different sizes. This (the two sizes speicifically) will cause unnecessary relayouts of the window. So, we just report the current size of the layed out icons as the prefered size. This is somewhat wrong as its depending on previous size_allocation calls rather than the "ideal" size of the widget, but since the ideal size is ignored anyway and just used for this it works well. taken from: https://git.gnome.org/browse/nautilus/commit/?id=fa6e447
2017-04-14IconCanvasItem: fix overlapping filenames on hoverraveit651-1/+0
taken from: https://git.gnome.org/browse/nautilus/commit/?id=308f4ce
2017-03-27[GTK+2] eel: Revert to set_back_pixmap for directories tooAlexei Sorokin1-24/+2
Fixes #752
2017-03-12eel: Avoid deprecated gdk_window_set_background functionsAlexei Sorokin2-16/+43
2017-02-25Revert "GTK3.21:fix desktop redraw"Alexei Sorokin1-7/+0
2017-02-16replace atk_focus_tracker_notify with atk_object_notify_state_changeLuke Yelavich1-5/+5
squashed b2c2794dc0fbefc1a2dd902a0266afe68db7f79a + cea24ed35ad7f5a22298fe6d921e30a34476ad11
2017-02-16Use ATK_STATE_SELECTED and ATK_STATE_FOCUSED appropriately for highlight ↵Luke Yelavich1-9/+7
property changes
2017-01-22Fix keyboard-down wraparound on compact viewlukefromdc1-26/+22
Fix https://github.com/mate-desktop/caja/issues/671 Apply https://git.gnome.org/browse/nautilus/commit/?id=40be4b85f51fc7b192ef7421b2ede27954997cc8
2017-01-22Fix cursor on single-click navigation mode.Franco Tortoriello1-2/+14
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
2017-01-22Add 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.
2017-01-22Fix hashtable warnings on closelukefromdc2-7/+3
As in Nautilus, use g_hash_table_new rather than eel_g_hash_table_new_free_at_exit
2017-01-22Stop warnings on window-close and 3 warnings on exitlukefromdc2-3/+7
Fix the gsignal warnings on window-close based on https://github.com/mate-desktop/atril/commit/fda33fbeedc0aab64d9479850047d0817d0b38be "Check if handler_id is connected before disconnect" from Atril Also Fix "Source ID XXX was not found..." warnings on closing Caja These three gsources are already gone when Caja exits, their ID's still exist but they cannot be found to remove. The warnings indicate double removal so this code block is just a source of errors. Leave it in place but commented out for now.
2017-01-22a11y: fix accessibility implementation for CajaIconCanvasItemAccessible (#712)Colomban Wendling1-3/+3
Fix CajaIconCanvasItemAccessible inheritance to properly inherit from EelCanvasItemAccessible. This fixes the ATK state machinery in CajaIconCanvasItemAccessible, and adds AtkComponent support which provides several useful features. See also https://bugzilla.gnome.org/show_bug.cgi?id=677509 and https://github.com/mate-desktop/caja/issues/706. Partly based off https://git.gnome.org/browse/nautilus/commit/?id=6c5baeb7626eda6629fc6642c9eb513ef8bc5c8e
2016-12-29file: don't consider all desktop files caja linkslukefromdc1-3/+6
Only those which match application/x-desktop directly. Apply Nautilus commit https://github.com/GNOME/nautilus/commit/b241fd28913e87fe01419e4922259949a11c973f
2016-12-29Show "open with" menu for desktop and theme fileslukefromdc1-4/+2
Apply https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=b9c51fd4eb84a9f52ee4be1bf183fc516984130b via https://gist.github.com/raveit65/19cfc5fe706ac6a2ea5d663a94fb02af
2016-10-18Fix accessible object inherritance when used with GTK 3Luke Yelavich1-0/+57
Also disable eel accessibility code that is not needed. Fixes https://github.com/mate-desktop/caja/issues/590
2016-10-17GTK+2: use eel helper again to set adjustment valuesraveit651-0/+36
This reverts https://github.com/mate-desktop/caja/commit/1f7ab5d for gtk2 Fixes https://github.com/mate-desktop/caja/issues/659
2016-08-31GTK3: stop warning spew from sidebar, pathbarlukefromdc1-1/+1
The button underallocation warnings came from pathbar sliders picking up padding from themes, then being forced to render to a smaller size in the code. The GTK_ICON_LOOKUP_GENERIC_FALLBACK warnings came from the sidebar icons, this flag is now a source of errors. Unfortunately NULL does not work, so set GTK_ICON_LOOKUP_FORCE_SIZE, which does not create errors and ensures the icon size we actually want in the sidebar is used anyway. Stops all but two of the warnings listed in https://github.com/mate-desktop/caja/issues/561
2016-08-22thumbnails: port from raw pthread API to GTask and GMutexmonsta1-27/+25
taken from: https://git.gnome.org/browse/nautilus/commit/?id=050d031250970b55bbb0e4a58dfaded84c89b354 https://git.gnome.org/browse/nautilus/commit/?id=b2ee410dc353a871992eebcbdbb4399daa59d57b
2016-08-22drop a large amount of completely unused codemonsta14-369/+0
2016-08-04GTK3.21:fix desktop redraw (caja-icon-container.c)lukefromdc1-3/+7
2016-07-13drop unneeded includesmonsta1-2/+0
2016-07-12libcaja-private: drop unused CajaIdleQueue codemonsta4-208/+0
2016-07-12libcaja-private: drop some more unused codemonsta8-190/+0
2016-07-12libcaja-private: remove unused CajaMergedDirectory codemonsta3-802/+0
2016-07-11all: don't use deprecated GMutex/GThread APIraveit654-75/+21
Also, threads area always enabled, so we can remove the G_THREADS_ENABLED conditionals. Require GLib 2.31 for this. taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=0594aa1 Note, this fixes a Wimplicit-function-declaration warning in caja-search-engine-simple
2016-07-06GTK+-3 open-with-dialog: use widget properties instead of GtkAlignmentraveit651-0/+8
2016-07-06GTK+-3 file-conflict-dialog: use widget properties instead of GtkAlignmentraveit651-0/+16
GtkAlignment has been deprecated since GTK+ 3.14 and the use of halign, valign and margin properties is encouraged. This commit aligns widgets by use of said properties instead of the GtkAlignment widget. taken from: https://git.gnome.org/browse/nautilus/commit/?id=470235f
2016-07-06icon-container: don't use eel helper to set adjustment valuesraveit651-15/+10
taken from: https://git.gnome.org/browse/nautilus/commit/?id=3a9c6cd
2016-07-04GTK+-3 caja-icon-dnd: avoid deprecated gtk_drag_beginraveit651-0/+10
use gtk_drag_begin_with_coordinates instead
2016-07-04Gtk+-3.20 eel-canvas: use GdkSeat operationsraveit651-0/+39
Some GdkDisplay operations have been deprecated in GDK 3.20. This commit replaces the deprecated code in eel_canvas_item_grab() and eel_canvas_item_ungrab() functions with new GdkSeat operations. https://bugzilla.gnome.org/show_bug.cgi?id=762235 taken from: https://git.gnome.org/browse/nautilus/commit/?id=225f2cf
2016-07-04GTK+-3.20 caja-tree-view-drag-dest: use GdkSeat operationsraveit651-2/+14
Some GdkDisplay operations have been deprecated in GDK 3.20. This commit replaces the deprecated code with new GdkSeat operations. https://bugzilla.gnome.org/show_bug.cgi?id=762235 taken from: https://git.gnome.org/browse/nautilus/commit/?id=38a811c
2016-07-04GTK+-3.20 caja-dnd: use GdkSeat operationsraveit651-2/+12
Some GdkDisplay operations have been deprecated in GDK 3.20. This commit replaces the deprecated code with new GdkSeat operations. https://bugzilla.gnome.org/show_bug.cgi?id=762235 taken from: https://git.gnome.org/browse/nautilus/commit/?id=98dce7d
2016-07-04GTK+-3.20 caja-icon-container: use GdkSeat operationsraveit651-1/+11
Some GdkDisplay operations have been deprecated in GDK 3.20. This commit replaces the deprecated code with new GdkSeat operations. https://bugzilla.gnome.org/show_bug.cgi?id=762235 taken from: https://git.gnome.org/browse/nautilus/commit/?id=202a66f
2016-03-29add default name/description for python extensionsAlexander van der Meij1-7/+18
2016-03-29use exposed python filenames to list python extensions separatelyAlexander van der Meij1-0/+18
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-02-29fix loading multiple python extensions (regression since 1.9.3)Alexander van der Meij1-2/+3
2016-02-08use g_hash_table_remove_all and get rid of some callbacksmonsta2-9/+3
taken from https://git.gnome.org/browse/nautilus/commit/?id=564264cc6cc6fa44390791248019547a7133d70d and applied in some other places as well
2016-02-07fix crash when restoring file with special characters from trashmonsta1-6/+2
for example, a file named simply "%s" taken from: https://git.gnome.org/browse/nautilus/commit/?id=d69885bd67edc1fae76c790f6162807817d63b2f
2016-02-05fix random crash on startup when python-caja extension is enabledmonsta1-3/+3
I hate Schroedinger's bugs...
2016-02-01fix several build warningsmonsta4-2/+4
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-26fix a few build warningsmonsta1-1/+1
2016-01-26use g_strcmp0 instead of strcmpmonsta1-4/+3
2016-01-25GTK3: fix deprecated GtkMiscWolfgang Ulbrich5-13/+27
2016-01-25GTK3 general: don't use deprecated gdk_app_launch_context_new()Wolfgang Ulbrich1-2/+28
partially taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-2&id=bd151c8
2016-01-23information-panel: one more GtkWidget* usagemonsta2-16/+3
also use GtkBox type in both GTK+ builds
2016-01-22GTK3: fix deprecated GtkStock in libcaja-privateWolfgang Ulbrich4-6/+6