summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-icon-view.c
AgeCommit message (Collapse)AuthorFilesLines
2019-06-11Change URL prefixes from http to httpsrbuj1-1/+1
2019-04-12local #include files who are libraries inside <> instead ""Pablo Barciela1-22/+22
2019-04-10local #include files inside "" instead <>Pablo Barciela1-31/+33
2019-04-08Pass "NULL" for keyboard eventlukefromdc1-1/+5
Fix #1198 "Context menu with menu key broken" Pass "NULL" for event which is passed ultimately to gtk_menu_popup_at_pointer as an invalid event was being passed when the menu key was used to open the icon views context menu
2019-03-07avoid variables set but not usedPablo Barciela1-4/+0
2018-04-11fm-icon-view: Show size on disk as sort criterionMoritz Bruder1-1/+7
This was introduced in commit b28445b3d2c42a7d2dbac97983d007e4ab58684d but has never been added to some parts of the UI.
2018-04-08Add sort criterion by reversed extension segmentsMoritz Bruder1-0/+13
The basenames of files are split by dots and then starting from the end each segment is compared to find a sort order. Example: bar.tar.bz2 foo.tar.bz2 a.bar.gz x.tar.gz z.tar.gz test.tex A heuristic determines what extension segments are part of the extension. There is probably no perfect solution but there are much less false positives. As a result the sorting is more intuitive and the displayed column in the list view is better readable and displays extensions more accurately. In addition a bug related to the default sort criteria in the preferences has been fixed.
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-4/+4
2017-07-03fix vertical Compact View scrolling in fm_icon_view_scroll_event()Galik1-34/+15
Was always scrolling to right when using sideways scrolling devices. Now scrolls left or right with sideways scrolling devices and adjusts vertical scrolling devices to scroll sideways.
2017-05-25added feature: present the size on disk of files as we present the size of ↵Felipe Barriga Richards1-0/+7
the file.
2017-03-13Revert "GTK3.21:fix desktop redraw"Alexei Sorokin1-10/+0
2016-12-29check for stable version of GTK+3, not for development onemonsta1-8/+8
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-28/+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-11-04Fix GTK2 buildlukefromdc1-1/+18
2016-11-04Compact view: ensure horizontal mouse wheel works both directionslukefromdc1-10/+9
Apply patch by ZenWalker for horizontal scrollwheel mice, without it scrolling left or right scrolls right only
2016-11-04Fix mousewheel scrolling in compact viewlukefromdc1-3/+13
Apply Nautilus commit https://github.com/GNOME/nautilus/commit/0832acdb4371fc7de957303e220e899c8fdcdf5c
2016-08-04GTK3.21:fix desktop redraw (fm-icon-view.c)lukefromdc1-2/+10
2016-05-31GTK+-3 fm-icon-view: fix a Wincompatible-pointer-types build warningraveit651-2/+2
2016-02-09 .view style class on icon view scrolled windowlukefromdc1-1/+6
GTK 3.19/3.20 builds only: Applying the .view class to the icon container no longer works in gtk3.19, so apply it to the scrolled window instead. Apply it in both icon view and compact view, as both need it. Doing it from this file prevents it from being applied to the scrolled window under a treeview, thus preventing the exposed corner above the scrollbar in a treeview from showing the view background color. Tested this build in gtk3.19.8 with good results. Tested in my own theme (UbuntuStudio_Legacy),Adwaita, BlackMATE, Green-Submarine, and BlueMenta, all still work right. Adwaita now shows the proper white view color, and my own theme gives a white icon view without also showing white squares over the treeview scrollbars. That was an unwanted side effect of applying the view color in the gtk theme to all the scrolled windows containing list, icon, or compact views as there is no way to tell them apart from the theme only. This approach keeps the scrolled window under the treeview transparent but themes them under icon or compact views. Using .view rather than a custom class enables themes not written for MATE to set the Caja background to match expected view colors, just as it did on the icon container in gtk3.18 and earlier. Leave it on the icon container too, as it may be needed in some themes to theme elements within the icon view. Also, I found no ill effects from the added style class on gtk3.18. In that case, the .view style class on the icon container should cover over anything in the scrolled window. Since the style class is not applied to the scrolled window used by a list view, no ill effect there in gtk 3.19 or gtk3.18. Applying to gtk3.19 only builds for now just in case
2015-12-19use g_strcmp0 instead of unsafe strcmpMonsta1-1/+1
2015-09-04Switch to org.gnome.SessionManagerClement Lefebvre1-19/+0
2015-01-10audio-preview: Add support for GStreamer 1.0Balló György1-2/+8
2013-09-19Possible fix for crash during file rename in external devicesStefano Karapetsas1-2/+1
Bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1005660 Solution from: https://git.gnome.org/browse/nautilus/commit/src/nautilus-icon-view.c?h=gnome-3-2&id=a67212a
2013-09-18Possible fix for crash during audio previewStefano Karapetsas1-0/+2
See https://bugzilla.redhat.com/show_bug.cgi?id=959444
2013-09-01Fix spatial mode crash and shift+double clickinfirit1-1/+1
Fixes issues: https://github.com/mate-desktop/mate-file-manager/issues/120 https://github.com/mate-desktop/mate-file-manager/issues/161
2012-12-22[all] silence warnings from GCC 4.6Jasmine Hassan1-2/+0
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-03[directory-bg] rewrite/refactor, untangle directory & desktop bg-setting codeJasmine Hassan1-5/+2
- Fixes crashes when resizing a VM window in VirtualBox. - Adds a method to allow handling desktop reset.
2012-11-16[icon-view] if possible, use the local path for the previewJasmine Hassan1-1/+17
This solves issues where the audio previewer is not capable of understanding some GVfs URIs. (#624841) http://git.gnome.org/browse/nautilus/commit/?id=ebcbb167876f8b4491af0bc86bc29015c211b3af
2012-11-16[src] don't use GtkObject (GTK3)Jasmine Hassan1-5/+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 it working with GTK2. A tad similar: http://git.gnome.org/browse/nautilus/commit/?id=cc6cb51e827c0b15d4ef09f12d37b9f331ddcef8
2012-09-05convert list-view preferences to gsettingsStefano Karapetsas1-70/+12
also move the sort order prefs from view-specific to common prefs we already only have one UI setting that controls both, so it makes no sense to have two settings. (from nautilus 3.0)
2012-09-05convert compact view prefs to gsettingsStefano Karapetsas1-10/+19
2012-09-05convert icon-view preferences to gsettingsStefano Karapetsas1-30/+65
2012-09-05convert preview settings to gsettingsStefano Karapetsas1-2/+3
2012-09-05convert click-policy to gsettingsStefano Karapetsas1-1/+1
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+3439