summaryrefslogtreecommitdiff
path: root/src/file-manager
AgeCommit message (Collapse)AuthorFilesLines
2024-01-17Manage desktop backgrounds when running in waylandlukefromdc4-6/+470
*Draw the background on the desktop window, using the same code as on navigation windows to bypass the no-root-window issue. *Works from caja's "Change Desktop Background" menu item, from caja-extensions "set as wallpaper" and with changing the background in dconf-editor. *All background options available in x11 supported in wayland, UI is new for wayland *Apply changes immediately, keep the dialog open until closed by user *Let users see changes in realtime while keeping the dialog open *Preview both colors and pictures *Add ability to apply changes from either combobox including using any image saved from when dialog was opened *Add tooltips to the buttons, filepicker, and comboboxes
2023-12-01Do not show "Organize Desktop by Name" when desktop icons are lockedlukefromdc1-0/+6
*When icon positions are locked, do not show "Organize Desktop by Name" in the desktop context menu
2023-07-08wayland: initial support for showing the desktopLuke from DC1-21/+67
* Wayland: Support rendering the desktop *Wayland support is optional via the --enable-wayland option * eel-editable-label-c: remove unused variable This was leftover from earlier code compatable only with x11 * Fix gtk-layer-shell-0 version check, improve error message when Wayland requested but not found
2022-12-23Remove unused members and structuresColomban Wendling3-42/+9
Based on a cppcheck report: https://caja.mate-desktop.dev/2022-11-23-174623-5790-cppcheck@ae663c369cf2_desktop-no-overflow/
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