summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-utilities.c
AgeCommit message (Collapse)AuthorFilesLines
2019-05-06libcaja-private: reduce the scope of some variablesPablo Barciela1-19/+33
2019-04-14caja-file-utilities: Fix cast from non-struct type to struct typePablo Barciela1-1/+1
Fixes Clang static analyzer warning: caja-file-utilities.c:283:12: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption return (XdgDirEntry *)g_array_free (array, FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-04-12local #include files who are libraries inside <> instead ""Pablo Barciela1-4/+4
2019-04-10local #include files inside "" instead <>Pablo Barciela1-10/+11
2018-10-20monitor: watch for removal of non-native mounts on GVolumeMonitorlukefromdc1-0/+42
Fix https://github.com/mate-desktop/caja/issues/1066 "Caja caches folders from usb drives/disk" Nowadays, we rely on G_FILE_MONITOR_EVENT_UNMOUNTED to be emitted when a mount disappears, since we already monitor the directory, in order to switch the view to a different location. Since non-native mounts very likely won't have file monitoring though, we're not going to receive such events in that case, and fail to redirect the view as a consequence. This patch fixes it by listening to the mount-removed signal on GVolumeMonitor when a monitor is requested for a non-native mount, and emulating a file removal in that case. Backport Nautilus commit gitlab.gnome.org/GNOME/nautilus/commit/3891241ba760c59d284b7579dbd340651c8d4d29 note that caja_get_mounted_mount_for_root had to be added, while the equivalent Nautilus function was from a prior commit
2017-04-18don't check nonexistent MATE22_USER_DIR env varmonsta1-13/+2
another case of excessive gnome -> mate renaming back in 2011
2017-04-18don't check nonexistent ~/.mate2 directorymonsta1-16/+3
it's probably some leftover from excessive gnome -> mate renaming back in 2011. even if it ever existed, we can drop it now, like upstream did for ~/.gnome2: https://git.gnome.org/browse/nautilus/commit/?id=5c17044597c980bdbe77a4894d92150fbe69909c
2016-08-22drop a large amount of completely unused codemonsta1-193/+0
2015-10-07fixed wrong link to gnome website in the commentsmonsta1-1/+1
2015-09-04Switch to org.gnome.SessionManagerClement Lefebvre1-4/+4
2015-01-13drop support for GLib < 2.36Monsta1-2/+0
Closes https://github.com/mate-desktop/caja/pull/372
2014-12-10libcaja-private: don't leak memoryMonsta1-9/+4
2014-10-05Use g_get_user_config_dir instead of harcoding to $HOME/.configinfirit1-1/+1
2014-10-05Move accel file to the proper place. Fixes #276infirit1-1/+1
2012-11-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-2/+3
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
2012-11-16[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan1-1/+2
Was: general: use g_list_free_full() instead of eel functions http://git.gnome.org/browse/nautilus/commit/?id=5e669515fd7f760382e6b7aa1449734a35a2d7f4 . Instead of g_list_free_full(), we use g_list_foreach and g_list_free() to avoid unnecessary glib dependency bump to 2.28
2012-09-05fix desktop-is-home-dir gsettings conversionStefano Karapetsas1-3/+3
2012-09-05start migration to gsettingsStefano Karapetsas1-5/+5
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-2/+2
2012-06-16use engrampa instead of file-rollerStefano Karapetsas1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+1449