summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-01-19Wl bgleaks fixes (#1763)Luke from DC1-13/+30
* Wayland-background-dialog: fix memory leaks * Wayland-background-dialog: check that the image is valid before using it
2024-01-17wayland-background-dialog: fix two issues found by cppchecklukefromdc1-3/+2
*Reduce the scope of the preview box *Do not read the same value from gsettings before reading it from the color style combobox
2024-01-17wayland-background-dialog: ensure style provider is added only oncelukefromdc1-3/+3
2024-01-17wayland-background-dialog: Preview images at original aspect ratiolukefromdc1-1/+1
2024-01-17wayland-background-dialog: fix memory leakslukefromdc2-87/+128
2024-01-17wayland background dialog: fix build warninglukefromdc1-4/+0
2024-01-17Make wayland background dialog more intuitivelukefromdc1-6/+6
Move image and colors labels, filebutton to left side of dialog
2024-01-17Manage desktop backgrounds when running in waylandlukefromdc5-6/+475
*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
2024-01-01wayland desktop: suppress spatial window warninglukefromdc1-1/+12
*When under wayland, silence "caja_spatial_window_show: assertion 'location != NULL' failed" *as the startup sequence is not the same with wlroots and the location isn't ready yet *Using gtk_widget_show instead of gtk_widget_realize in caja-desktop-window.c generates this warning
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-11-25fix building with libxml 2.12.0raveit651-0/+1
2023-07-08wayland: initial support for showing the desktopLuke from DC4-65/+203
* 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
2023-06-29Replace deprecated code from xrandr fixlukefromdc1-2/+3
*In x11 we can anchor the desktop size to the root window instead of the screen or (possibly multiple)monitors
2023-06-29caja-desktop-window: Fix the xrandr erroryangxiaojuan1-5/+2
fix https://github.com/mate-desktop/caja/issues/1069
2023-05-25Initial wayland supportlukefromdc3-27/+29
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-08-19image properties: Look for supported mime types at runtimerbuj1-20/+38
See https://gitlab.gnome.org/GNOME/nautilus/-/commit/7aef6be
2022-08-04caja-bookmark: 'caja_bookmark_get_uri (CajaBookmark *)' may return NULLrbuj1-4/+1
2022-08-04image properties: Improve the layoutrbuj1-42/+59
2022-07-22Fix build warning -Wmissing-field-initializersrbuj1-2/+1
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-03-23caja-application: Variable is assigned a value that is never usedrbuj1-2/+1
2022-02-09Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj3-4/+4
2022-02-09Fix some -Wsign-compare warningsrbuj10-30/+41
2022-01-28caja-property-browser: 'gdk_color_parse' is deprecatedrbuj1-13/+13
2022-01-28caja-property-browser: Fix build warning -Wconstant-conversionrbuj1-9/+11
2021-12-31caja-sidebar-title: fix memory leakrbuj1-1/+5
2021-12-31fm-directory-view: fix memory leakrbuj1-1/+5
2021-12-21caja-application: avoid SEGV when profiling/debugging coderbuj1-2/+1
2021-12-19Use gresources for ui filesrbuj6-2918/+15
2021-11-20Use a blank line at mostrbuj59-238/+0
2021-11-08caja-places-sidebar: fix right-click menu heightBenjamin Heiniger1-7/+18
* caja-places-sidebar: fix right-click menu height - prevent error and right-click menu from appearing when clicking empty area
2021-06-18Update copyright to 2021raveit654-0/+4
2021-05-08caja-bookmarks-window.ui: expand child widgets, sane default sizembkma1-7/+18
use attribute "bold" instead of markup
2021-05-05caja-bookmarks-window.ui: remove deprecated GtkAlignment, remove empty labelsmbkma1-172/+82
2021-05-05caja-file-management-properties.ui: remove deprecated GtkAlignment (usembkma1-1219/+1157
margin-property instead), reduce default size
2021-04-20Add creation time supportrbuj4-0/+21
2021-04-20caja-window: remove -Wcast-function-type warningrbuj1-5/+13
2021-04-20caja-window-menus: remove -Wcast-function-type warningrbuj1-3/+1
2021-04-20caja-window-manage-views: remove -Wcast-function-type warningrbuj1-2/+10
2021-04-20caja-property-browser: remove -Wcast-function-type warningrbuj1-4/+11
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-02No longer need to check the locale.h header as it's part of C90rbuj1-2/+0
2021-04-01warning: missing initializer for a field of ‘GtkActionEntry’rbuj5-34/+47
2021-03-11caja-places-sidebar: gnome-disk-utility ignores the --xid optionrbuj1-7/+0
2021-03-11caja-pathbar: Fix cppcheck warning nullPointerRedundantCheckrbuj1-25/+19
2021-03-10caja-application: Use PACKAGE in notify_init instead of GETTEXT_PACKAGErbuj1-1/+1
2021-03-10cppcheck warning: Local variable 'combo_box' shadows outer argumentrbuj1-13/+6