summaryrefslogtreecommitdiff
path: root/libcaja-private
AgeCommit message (Collapse)AuthorFilesLines
2022-07-03Fix Caja does not show icons of application launchersmouse1-1/+1
in /usr/share/applications and asks user for confirmation on launch of desktop-files here
2022-07-03caja-mime-actions: fix memory leakrbuj1-2/+9
2022-07-03caja-bookmark: fix memory leakrbuj1-0/+4
2022-07-03caja-bookmark: drop create_image_cairo_for_bookmarkrbuj1-24/+10
2022-06-19caja-file-conflict-dialog: Move to automatic signal disconnectionColomban Wendling1-20/+11
Instead of manually keeping tabs on the signals so we can disconnect them before the data parameter gets destroyed, let GObject automatically track lifetime of the data, which it can do as that data is a GObject itself. This does not change behavior in the normal case, but makes sure the callback simply cannot get called with invalid/freed parameters, even if we did screw anything up (which we used to). This actually would have solved #1630 as well with using the target widgets as data parameters as the signal would have been disconnected as soon as the widget got destroyed, no matter whether we got finalized ourselves or not. The signal IDs were also use as guards to whether the monitor was set up for the related files, but we can just as well use the state of the file list ready handle which should only be NULL when we actually have monitors set up. Even if it wasn't the case, worse case scenario would be removing a non-existent monitor, which is perfectly OK anyway.
2022-06-19caja-file-conflict-dialog: Properly release references on dispose()Colomban Wendling1-6/+19
Fixes #1630.
2022-06-19caja-file-conflict-dialog: update the icons oncerbuj1-16/+9
2021-12-31caja-module: fix memory leakrbuj1-1/+4
2021-06-18Update copyright to 2021raveit658-2/+8
2021-05-19caja-directory.c: Fix memory leak.Michael Webster1-1/+1
When creating a new file (using a template, for instance), file-> details->is_added could potentially be FALSE, and cause this file to not be finalized along with other files if the view directory is destroyed. This can cause issues when re-entering that directory, with the file being in an undefined state, and could prevent the view from fully loading the location (this is identical behavior to that described in https://github.com/mate-desktop/python-caja/pull/64. To reproduce: - Create an svg file and save in ~/Templates. - Right-click, Create document-> svg file, name it whatever. - Navigate out of the folder. - Modify the file in a visible manner. - Re-enter the folder, note that it never finishes loading. Ref: https://github.com/linuxmint/nemo/issues/2736
2021-04-20Add creation time supportrbuj6-3/+54
2021-04-13icon view: Add a directory setting to block moving iconsColomban Wendling5-1/+24
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-02Improved filesystem check on dndrobertxgray3-14/+66
2021-03-11keep one .desktop suffix on desktop file renamingKonstantin Unruh1-1/+4
2021-02-25Fix warnings about xmlChar castrbuj1-5/+10
2021-02-24caja-customization-data: keep the key of the hash table if existsrbuj1-1/+1
2021-02-24caja-customization-data: Do not build the path to the browser.xml filerbuj1-27/+18
2021-02-21caja-directory-async: drop istr_set_insert, use g_hash_table_add insteadrbuj1-19/+7
2021-02-07build: allow users to disable gettext support (--disable-nls)rbuj2-0/+4
2021-01-15Remove warning -Wtype-limitsrbuj1-1/+1
2020-12-11caja-file-operations: Let user mark trusted launcherrbuj1-0/+7
2020-12-11caja-directory-async: trust marked launchersrbuj3-0/+11
gio set PATH "metadata::caja-trusted-launcher" true
2020-12-11caja-directory-async: trust also launchers from user desktoprbuj3-8/+31
2020-12-11caja-directory-async: trust only system launchersrbuj1-6/+1
2020-11-29caja-icon-container: warning -Wold-style-declarationrbuj1-1/+1
2020-11-28file-operations: don't attempt to move into the source direricek1111-8/+8
2020-11-24Remove the use of the gettimeofday functionrbuj1-4/+23
2020-11-11Remove unused macrosPablo Barciela7-33/+0
2020-11-11Fix i18n in backgrounds and emblems dialogrbuj1-2/+2
2020-09-05fm-directory-view: Error message when a link could not be createdrbuj2-3/+5
2020-08-28eel-editable-label: Consecutive break/return statements are unnecessaryrbuj1-2/+2
2020-08-04Remove trailing spaces/tabsrbuj1-1/+1
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \;
2020-07-27caja-dnd: Create links by default on dnd from Web Browsersrbuj1-7/+15
2020-07-25Add a "Bookmarks" sidebar to CajaGordon N. Squash1-0/+2
Added a "Bookmarks" sidebar to Caja which displays a list of the user's own bookmarks. Single-clicking any bookmark in the list directs Caja to that bookmark; middle-clicking on the bookmark directs Caja to open the bookmark in a new tab.
2020-07-21Guard block is missingrbuj5-0/+30
2020-05-24caja-file: remove warning GTimeVal is deprecatedrbuj1-1/+13
2020-05-15mate-submodules: use git submodule for libeggWu Xiaotian1-1/+1
2020-04-13Fix -Wmissing-prototypes build warningsPablo Barciela1-1/+1
2020-04-12Remove warnings about function declaration isn’t a prototyperbuj2-7/+7
2020-04-04use MATE_COMPILE_WARNINGS from mate-commonraveit651-1/+1
2020-03-06fix runtime warning from newly unused codelukefromdc1-10/+1
Remove now unused confirm_delete property Fix warning "caja-undostack-manager.c:323: invalid property id 2 for "confirm-delete" of type 'GParamBoolean' in 'CajaUndoStackManager' " caused by newly unused property
2020-03-03Confirm before deleting during an undo operationlukefromdc1-24/+6
Unless user turns 'Ask before emptying trash or deleting files" off. Remove special case direct delete code that broke this behavior Also remove now unused priv->confirm_delete As we no longer use unique code directly deleting files that used it
2020-02-25Look for caja extensions at $CAJA_EXTENSION_DIRSJosé Romildo Malaquias1-0/+12
CAJA_EXTENSION_DIRS is a list of directories where caja extensions are looked for. It is needed for distributions like NixOS that do not install all extensions in the same directory. In NixOS each package is installed in a self contained directory.
2020-02-01Fix build using gcc 10 -fno-common flagrbuj2-12/+25
2020-01-10Make device ejection notifications translatableJonathan Michalon1-2/+2
2019-12-15libcaja-private/caja-file: redundant conditionrbuj1-4/+3
'!A || (A && B)' is equivalent to '!A || B'
2019-11-30avoid redundant redeclarationsPablo Barciela10-34/+9
2019-11-22canvas-item: Don't hyphenate filenamesraveit651-0/+22
fixes https://github.com/mate-desktop/caja/issues/1284 Pango 1.44 got the ability to automatically hyphenate on line breaks, which is on by default, but can be set off by a new attribute. As a result, we now hyphenate filenames, which is confusing, because a filename may already include hyphens. To restore the previous behavior, let's not insert hyphens when breaking filenames in multiple lines. Inspired by https://gitlab.gnome.org/GNOME/nautilus/commit/9738d85
2019-09-28caja-extensions: allows the translation of copyrightrbuj1-3/+10
2019-08-26Set FmWidgetView is single view.Wu Xiaotian2-2/+10