summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-list-view.c
AgeCommit message (Collapse)AuthorFilesLines
2022-06-08Document and fix default-sort-order preferenceGordon Norman Squash1-1/+3
This patch resolves three related issues: The first issue was that the GSettings schema for Caja did not include an entry to sort by the "btime", or creation date, of files. If the user chose such an option in the Caja Preferences, GSettings would produce a warning (often out-of-sight, as it was usually redirected into the user's .xsession-errors file), and Caja would not actually change the default sort-order of files. This patch adds the btime as a valid setting in the schema. The second issue was that. because of the above (an entry in the settings schema was missing), some of the alternative sort orders listed in the schema (everything after and including "atime") were not assigned the same numbers as the sort orders listed elsewhere in the Caja source code. Specifically, in icon- and compact-views, if the default sort-order was "emblems", the observed / actual sort-order would be the entry before "emblems", namely "atime" -- so instead of sorting by the names of associated emblems, Caja would sort by each file's access time. An array in the code for the list-view also was missing many values and included some values out of order, so the default sort-order setting affected directories viewed in list-view mode seemingly randomly. The former is taken care of using the fix described in the above paragraph; the latter is fixed in this patch by adding / reorganizing the array for the list-view sort-orders appropriately. The third issue (admittedly, a lesser issue) was that the documentation for the default-sort-order setting was lacking -- it at least did not list all the possible values that the setting could accept. In this patch, I resolve this issue by listing all values in the setting's description, and also go into more detail about what each value does. (However, perhaps I included a little too much detail. It'll only benefit [supposed power users who may already know this stuff] who use GSettings or DConf directly, and it'll certainly be a headache for translators. I'll admit that.)
2022-02-09Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj1-2/+2
2021-11-20Use a blank line at mostrbuj1-13/+0
2021-02-07build: allow users to disable gettext support (--disable-nls)rbuj1-0/+2
2020-11-11Remove unused macrosPablo Barciela1-7/+0
2019-08-26Set FmWidgetView is single view.Wu Xiaotian1-8/+8
2019-08-19Remove comments that are not written to translators from pot filerbuj1-2/+2
2019-07-23fm-list-view: replace deprecated gtk_drag_beginraveit651-6/+7
use gtk_drag_begin_with_coordinates instead
2019-07-17src / file-manager: reduce the scope of some variablesPablo Barciela1-23/+45
2019-06-29fm-list-view: suppress GtkAction warningsraveit651-0/+2
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-26/+26
2019-04-10local #include files inside "" instead <>Pablo Barciela1-29/+32
2018-05-05avoid deprecated 'gtk_style_context_get_background_color'Pablo Barciela1-1/+8
2018-04-04list-view: use the cairo surface as a drag iconCosimo Cecchi1-11/+8
As we now store surfaces in the GtkListStore, we have to change the drag method to use it instead of a pixbuf. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/18a380af
2018-04-04Support HiDpi iconsCosimo Cecchi1-2/+12
Port the rendering of icons to cairo surfaces, so that we can apply the GDK scale factor when rendering icons. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/0d4555d7
2018-03-17avoid gtk_dialog_new_with_buttons with stock idsPablo Barciela1-5/+11
2018-02-09avoid deprecated GtkStockPablo Barciela1-1/+1
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-4/+0
2017-11-12Fix: wrong behavior with key "enter" while renaming files in list viewPablo Barciela1-10/+21
Fixes https://github.com/mate-desktop/caja/issues/698
2017-10-10View -> Visible Columns: fix vertical expand of dialog contentmonsta1-1/+1
this menu item is only visible when list view is selected, so I'm not surprised we missed it
2017-08-29list view: fix large icon margins on zooming outmonsta1-0/+3
ported from: https://git.gnome.org/browse/nautilus/commit/?id=4f17fb7db7b8736ebb4fe82ddb1c279777847730 https://git.gnome.org/browse/nautilus/commit/?id=41de4e52b43c8ed5c9118860dac7caa303ebbc5b
2017-08-29Revert "Adds columns autosizing"monsta1-2/+0
This reverts commit 2a424fca8bd928223e92570fa692266c471a52b3.
2017-08-28remove weird +x attribute from a source filemonsta1-0/+0
2017-08-25Adds columns autosizingJury Verrigni1-0/+2
2017-08-25Refresh all rows on zoom changeJury Verrigni1-1/+1
2017-08-25Forces widget redraw on zoomJury Verrigni1-0/+2
2017-05-25added feature: present the size on disk of files as we present the size of ↵Felipe Barriga Richards1-0/+1
the file.
2017-03-23Fix 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-13Revert "GTK3.21:fix desktop redraw"Alexei Sorokin1-6/+0
2017-01-06show/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
2016-12-29check for stable version of GTK+3, not for development onemonsta1-3/+3
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-74/+5
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-10-16support back and forward mouse buttons to navigateMartin Matuska1-0/+30
Fixes https://github.com/mate-desktop/caja/issues/78 Co-Authored-By: Oliver Joos <[email protected]> Co-Authored-By: Nelson Benitez Leon <[email protected]>
2016-08-04GTK3.21:fix desktop redraw (fm-list-view.c)lukefromdc1-0/+6
2016-07-06GTK+-3 fm-list-view: use widget properties instead of GtkAlignmentraveit651-0/+9
taken from: https://git.gnome.org/browse/nautilus/commit/?id=f81188e
2016-01-25GTK3: fix deprecated GtkMiscWolfgang Ulbrich1-3/+3
2016-01-19GTK3 fm-list-view: don't use deprecated gtk_tree_view_set_rules_hintWolfgang Ulbrich1-0/+2
2016-01-15don't use deprecated gdk_cursor_new for both toolkit versionsWolfgang Ulbrich1-2/+2
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-13GTK3 list-view: port to GtkStyleContextWolfgang Ulbrich1-0/+15
2015-10-19GTK3: do not use deprecated gtk_misc_set_alignmentraveit651-0/+5
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-08-24list view: jump to parent with left key on collapsed rowsMonsta1-1/+9
fixes https://github.com/mate-desktop/caja/issues/452 from https://github.com/GNOME/nautilus/commit/9eee9ff6ca3e93d5d363725282d8ba393a1e6d01
2015-07-09Use accessor functions instead of direct accessinfirit1-1/+1
2015-01-13drop support for GLib < 2.36Monsta1-2/+0
Closes https://github.com/mate-desktop/caja/pull/372
2013-07-25Fixes for GTK3 supportStefano Karapetsas1-0/+7
2012-12-22[all] silence warnings from GCC 4.6Jasmine Hassan1-7/+1
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-11-23[src] fix some incompatible pointer type warningsJasmine Hassan1-1/+1
including a silly mistake in caja-window where destroy function's return type was accidently ommitted during the addition of gtk version checks.
2012-11-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-6/+5
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0