summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-05-05CSS: Load a different caja-desktop.css with GTK 3.14Clement Lefebvre3-2/+36
In caja-desktop.css this line isn't compatible with GTK 3.14: ".caja-desktop:not(:selected):not(:active):not(.rubberband){" It is needed for GTK 3.20/3.22 tough. This PR checks the GTK version and loads the appropriate CSS. This fixes desktop icons showing black text. That issue was reproduced with Adwaita under LMDE with GTK 3.14.
2017-04-23file: make caja_file_get_gicon return custom icons too (#765)monsta1-0/+5
fixes https://github.com/mate-desktop/caja/issues/410 taken from: https://git.gnome.org/browse/nautilus/commit/?id=f1c782c13dd675bafffb2a4d85900da52be88f3f
2017-04-23Open With dialog: force icon sizemonsta1-1/+1
fixes https://github.com/mate-desktop/caja/issues/735
2017-04-19show correct right-click menu after making selectionmonsta1-0/+1
taken from: https://git.gnome.org/browse/nautilus/commit/?id=fabea8532911c2e38d91aa6230136cff5e52f095 upstream bug with detailed description: https://bugzilla.gnome.org/704289
2017-04-15release 1.16.5v1.16.5raveit652-1/+5
2017-04-15eel: Queue resizes on the canvas as elements change visibilityraveit651-0/+26
Not queueing resizes may play oddly with the size request caches in GTK+, resulting in gtk_widget_get_preferred_width/height returning 0 even after the canvas was populated. https://bugzilla.gnome.org/show_bug.cgi?id=667831 Taken from: https://git.gnome.org/browse/nautilus/commit/?id=8c77821
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-27release 1.16.4v1.16.4raveit651-1/+1
2017-03-27add NEWS entry for 1.16.4monsta1-0/+3
2017-03-27[GTK+2] eel: Revert to set_back_pixmap for directories tooAlexei Sorokin2-36/+18
Fixes #752
2017-03-26release 1.16.3v1.16.3monsta2-1/+13
2017-03-26build: require libmate-desktop >= 1.16.2monsta1-1/+1
needed after dc510d875ae166dd814cebc060186b4042b0ef30
2017-03-26Fix broken rename in list view by selectin file name cell.Martin Pieuchot1-1/+2
This is a backport from nautilus 5b09cedf434b53a975074b346d511335fc735cba list-view: explicitly set cursor on file name cell renderer on rename The file name column has two cell renderers, one for the icon and another for the name string. Thus, gtk_tree_view_set_cursor() isn't enough to reliably start editing the file name cell since it will try to edit whatever is the currently focused cell in the column. https://bugzilla.gnome.org/show_bug.cgi?id=656128 Fixes https://github.com/mate-desktop/caja/issues/741
2017-03-26[GTK+3] property-browser: add style class frame to scrolledwindowsraveit651-0/+5
port of 52a3d30957889eb37e65e9c4416dbe0ea79a109c + 45f862c6178358e73470296e5793b10c486926c1 to mixed GTK+2/3 code
2017-03-12eel: Avoid deprecated gdk_window_set_background functionsAlexei Sorokin6-113/+214
2017-02-25Revert "GTK3.21:fix desktop redraw"Alexei Sorokin6-183/+6
2017-02-17restore "open with other application" menu entry for directorieslukefromdc1-7/+0
2017-02-17[GTK+3] eel: GdkRGBA related fixesAlexei Sorokin2-3/+29
port of 9b62a56cbed4ffc7a1a014cf15f1e0ed767cd928 to mixed GTK+2/3 code
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-22release 1.16.2v1.16.2monsta2-1/+17
2017-01-22show/hide columns instead of appending/removing themmonsta1-13/+7
fixes https://github.com/mate-desktop/caja/issues/649 adapted from: https://git.gnome.org/browse/nautilus/commit/?id=e19f7cb3fec1e6c884d1741c3c00916c65ab035f
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-22Single click navigation: keep hand cursor when opening folder...lukefromdc1-1/+3
and it comes to rest on a new folder displayed in the same icon position. Note that this is only in single click navigation, as double clicking always reverts the cursor to the arrow Same as GNOME/nautilus commit https://git.gnome.org/browse/nautilus/commit/?id=d486af277f491ff5cfcfa254ebce618cd41a3edb
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-22GTK+3: fix build warning about wrong variable typemonsta1-1/+1
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-22prefs dialog: fix vertical expand of content with window resizemonsta1-1/+1
2017-01-22caja.css: fix missing commalukefromdc1-1/+1
2017-01-22GTK+3: fix mousewheel scrolling in compact viewlukefromdc1-0/+25
with patch by ZenWalker to fix horizontal wheel scrolling cherry-picked and squashed from: https://github.com/mate-desktop/caja/commit/f34590dd7a71251515b90cd9812878b7d26d30b6 https://github.com/mate-desktop/caja/commit/ae053dbf2cc26ae74df5e782261c3a3bc7126763 https://github.com/mate-desktop/caja/commit/3e93f938000cdb24a6137daecd77fe010ae93f36
2017-01-22Fix hashtable warnings on closelukefromdc3-9/+4
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 exitlukefromdc4-5/+15
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 Wendling3-73/+18
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
2017-01-08use GTK_CHECK_VERSION for gdk_set_allowed_backendsraveit651-0/+2
2017-01-08Force X11 backendraveit651-0/+2
inspired from: https://github.com/linuxmint/nemo/commit/8242e27
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" tab in properties window when "open with" menu availablelukefromdc1-2/+1
2016-12-29Show "open with" menu for desktop and theme fileslukefromdc2-7/+3
Apply https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=b9c51fd4eb84a9f52ee4be1bf183fc516984130b via https://gist.github.com/raveit65/19cfc5fe706ac6a2ea5d663a94fb02af
2016-12-07Rename labels: follow theme if available, sane defaultlukefromdc4-34/+57
Fixes https://github.com/mate-desktop/caja/issues/688 *Split caja.css. Much of it can load with GTK_STYLE_PROVIDER_PRIORITY_THEME to allow themes that support Caja to set their own style. CSS required for the desktop background to show and to keep the white text suitable for most backgrounds needs GTK_STYLE_PROVIDER_PRIORITY_APPLICATION so it is loaded separately from new file caja-desktop.css *Move all css items that must not be overridden by themes (most of them are for the desktop) to caja-desktop.css and keep those that are only needed when themes do not set them at all in caja.css
2016-10-18release 1.16.1v1.16.1monsta2-1/+9
2016-10-18EelLabeledImageButton classes do not need a custom accessible object under GKT 3Luke Yelavich1-29/+3
2016-10-18Fix accessible object inherritance when used with GTK 3Luke Yelavich8-5/+343
Also disable eel accessibility code that is not needed. Fixes https://github.com/mate-desktop/caja/issues/590
2016-10-18sync with Transifexmonsta8-111/+115
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-10-17Gtk+-2: add eel_gtk_adjustment* functions againraveit652-1/+40
This reverts https://github.com/mate-desktop/caja/commit/f02d495 for gtk2 fixes https://github.com/mate-desktop/caja/issues/659
2016-10-15Gtk+-3 css: Consider GtkGrid changesraveit651-3/+4
2016-10-04GTK3: fix warnings cause by GtkGridlukefromdc1-52/+3
Apply https://github.com/itzexor/nemo/commit/2c60a3edaef10e9ef331740d55d3c45dd366c5db window: remove custom get_preferred_width/height implementation We already take care of the default size when we create the window, and these only break assumptions of the default GtkWindow's handlers. in turn from https://github.com/GNOME/nautilus/commit/da06dfc438e578405d616c48e8e3809d37c908bb Nautilus commit is from Feb 17, 2014 prior to release of GTK 3.14. Could not build against GTK 3.14 over GTK 3.22 system due to mate-desktop errors but should work as Nautilus used it with 3.14. Test builds with GTK 3.16 and 3.22 worked fine, no issues with saved or command line geometry
2016-09-19release 1.16.0v1.16.0raveit651-1/+1
2016-09-19update NEWS for 1.16monsta1-96/+14