summaryrefslogtreecommitdiff
path: root/src/file-manager
AgeCommit message (Collapse)AuthorFilesLines
2022-12-23Remove unused memberColomban Wendling1-1/+0
`name_row` is not needed since GTK2 support was dropped with commit 276eb145ce96d5f75f8d3901daf6310f60ddbb81. Found by cppcheck: https://caja.mate-desktop.dev/2022-11-23-174623-5790-cppcheck@ae663c369cf2_desktop-no-overflow/73.html#line-101
2022-07-22Fix build warning -Wbad-function-castrbuj1-3/+6
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'rbuj2-3/+3
2022-02-09Fix some -Wsign-compare warningsrbuj2-3/+3
2021-12-31fm-directory-view: fix memory leakrbuj1-1/+5
2021-11-20Use a blank line at mostrbuj14-116/+0
2021-06-18Update copyright to 2021raveit652-0/+2
2021-04-20Add creation time supportrbuj2-0/+17
2021-04-13icon view: Add a directory setting to block moving iconsColomban Wendling3-0/+78
This is mostly useful on the desktop (which is the main user of the free-placement icon view) to be able to lock the layout and avoid unintentionally moving icons around. Especially useful for less computer-literate users.
2021-04-01warning: missing initializer for a field of ‘GtkActionEntry’rbuj2-26/+27
2021-02-07build: allow users to disable gettext support (--disable-nls)rbuj4-0/+8
2021-01-15Remove warning -Wtype-limitsrbuj1-1/+1
2020-11-15fm-properties-window: make the location of system folders portablerbuj2-2/+4
2020-11-11Remove unused macrosPablo Barciela3-13/+0
2020-09-05fm-directory-view: Error message when a link could not be createdrbuj1-8/+23
2020-08-04Remove trailing spaces/tabsrbuj1-2/+2
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \;
2020-07-21Guard block is missingrbuj1-0/+6
2020-07-13fm-icon-view: totem-audio-preview was removed in totem 2.25.90rbuj2-16/+3
2020-07-10Remove unused variable from eel_notebook_scroll_event_cbrbuj1-2/+2
2020-07-10fm-properties-window: Do not display Modified field for mounted pointsrbuj1-1/+10
2020-06-30caja properties-window: display dir last modifiedԜеѕ1-3/+20
closes #1406 based on https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/409/diffs
2020-06-15fm-properties: Don't show notebook arrowsraveit651-1/+0
fixes https://github.com/mate-desktop/caja/issues/1412
2020-05-15mate-submodules: use git submodule for libeggWu Xiaotian1-0/+1
2020-04-04use MATE_COMPILE_WARNINGS from mate-commonraveit651-1/+1
2020-02-08Drop GLIB version checkWu Xiaotian1-3/+0
2020-01-12fm-properties: Remove use of mate-desktop-thumbnail helperraveit651-5/+3
don't use mate_desktop_thumbnail_scale_down_pixbuf(). gdk-pixbuf doesn't have the same bugs when shrinking images by large factors.
2019-08-26Let some strings be translatableWu Xiaotian2-8/+9
2019-08-26add new interfaceWu Xiaotian2-65/+44
2019-08-26add CajaWidgetViewProvider docsWu Xiaotian1-12/+78
2019-08-26add new extension for widget viewWu Xiaotian1-4/+19
2019-08-26Set FmWidgetView is single view.Wu Xiaotian6-49/+50
2019-08-26add new FmWidgetView objectWu Xiaotian3-0/+441
2019-08-26fix build error about autoptr cleanWu Xiaotian1-0/+5
2019-08-19Remove comments that are not written to translators from pot filerbuj4-13/+13
2019-07-27use show icons option in views tabWu Xiaotian1-1/+1
2019-07-27Add preference option to hide icons in list view.Wu Xiaotian1-0/+14
2019-07-26fm-directory-view: add icon to "empty trash" into "File" menuPablo Barciela1-1/+1
2019-07-24add git.mk to generate .gitignoreWu Xiaotian1-0/+2
2019-07-23fm-list-view: replace deprecated gtk_drag_beginraveit651-6/+7
use gtk_drag_begin_with_coordinates instead
2019-07-23Show thumbnails in list viewWu Xiaotian1-1/+8
2019-07-21fix build error about fm-empty-viewWu Xiaotian1-1/+2
2019-07-17src / file-manager: reduce the scope of some variablesPablo Barciela10-229/+408
2019-07-10Replace gdkpixbuf with cairo_surfaces in a few more placesVictor Kareh1-3/+3
2019-07-02desktop icon view: disconnect callback from correct GSettings instancemonsta1-1/+1
taken from: https://github.com/linuxmint/nemo/commit/89090ac192638d75359876d917b6d3ce106196af
2019-07-02Add scroll tabs with mouse wheelLaurent Napias1-0/+8
File's properties and caja's preferences windows
2019-06-29fm-list-view: suppress GtkAction warningsraveit651-0/+2
2019-06-29fm-icon-view: suppress GtkAction warningsraveit651-0/+16
2019-06-29fm-directory-view: change G_GNUC_END_IGNORE_DEPRECATIONS placePablo Barciela1-2/+2
Fixes cppcheck warnings: [src/file-manager/fm-directory-view.c:1007]: (style) Statements following return, break, continue, goto or throw will never be executed. [src/file-manager/fm-directory-view.c:1080]: (style) Statements following return, break, continue, goto or throw will never be executed.
2019-06-28Fix cppcheck warningsPablo Barciela2-110/+110
appeared since the silence of deprecated gtkaction warnings