summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-28Fixed the value of 6 month and 1 year.Wu Xiaotian4-30/+67
2019-01-28Support querying files by modification time and sizeWu Xiaotian4-20/+344
Thanks for Leslie Zhai's patch.
2019-01-28Avoid deprecated g_type_class_add_privateWu Xiaotian21-118/+81
- caja-connect-server-dialog - caja-navigation-window - caja-property-browser - caja-sidebar-title - caja-trash-bar - caja-window - caja-zoom-action - caja-zoom-control - fm-desktop-icon-view - fm-properties-window
2019-01-24Update copyright to 2019Wu Xiaotian1-1/+1
2019-01-22CajaApplication: avoid deprecated 'g_type_class_add_private'Wu Xiaotian2-8/+6
2019-01-22caja-menu: avoid deprecated 'g_type_class_add_private'Wu Xiaotian1-5/+3
2019-01-22[eel][libegg] Use G_DEFINE_TYPE_WITH_PRIVATE macroWu Xiaotian5-12/+5
Replace G_DEFINE_TYPE_WITH_CODE with G_DEFINE_TYPE_WITH_PRIVATE macro
2019-01-21tx: update resource for transifexraveit651-889/+927
2019-01-21configure.ac: Add check for PKG_CONFIG being set.Pablo Barciela1-1/+5
based in debian patch by Mike Gabriel <[email protected]>
2019-01-21fix distcheckraveit651-0/+1
2019-01-19caja-application: Check for smclient before trying to load sessionlukefromdc1-3/+3
Fix crash on starting with env DESKTOP_AUTOSTART_ID=ANY_CHARS caja
2019-01-12[eel] Avoid deprecated g_type_class_add_privateWu Xiaotian8-35/+25
With minimal changes to avoid deprecated g_type_class_add_private
2019-01-12[libegg] Avoid deprecated g_type_class_add_privateWu Xiaotian1-4/+3
With minimal changes to avoid deprecated g_type_class_add_private
2019-01-03[libcaja-private] Re-check file MIME type before picking an application.Max Eliaser4-0/+37
An example of when the MIME type might change: a file is initially created with 0 bytes of content, but more data is added later. Empty files are always detected as plain text, but the file might not be empty anymore when the user opens it. This commit affects the behavior when double-clicking a file and when right- clicking on it too.
2019-01-03[file-manager] Fix apparent bug in context menu updating code.Max Eliaser1-1/+1
The code looked like it was supposed to check whether each file in the selection could be opened in an external app, but was only checking the first item in the selection repeatedly. This bug may have been mostly benign since the subsequent call to caja_mime_get_default_application_for_files will return NULL anyway if the files don't all match each other.
2018-12-30Revert "fm-directory-view.c: Decrease minimum update interval."Pablo Barciela1-2/+2
This reverts commit 021ff2ac062f1cfd52726c78e9a3956405001c6e. Fixes https://github.com/mate-desktop/caja/issues/1101
2018-12-27Fix: weird item in bookmarks if the folder was removedPablo Barciela2-11/+40
Fixes https://github.com/mate-desktop/caja/issues/1099
2018-12-27Minor code-quality enhancementsSargastic2-6/+7
2018-12-27Forgot to initialize is_backup fieldSargastic1-0/+1
2018-12-27Change show/hide backup files shortcutSargastic1-1/+1
2018-12-27Remove useless comments, correct description stringSargastic3-8/+1
2018-12-27Skip hidden files only, not backupsSargastic1-3/+1
2018-12-27Add independent show/hide backup filesSargastic20-21/+256
2018-12-27deleting unused nautilus iconpirate4867431869-1182/+0
2018-12-27caja-progress-info: new behavior with notifications:Pablo Barciela1-10/+3
- remove the "Working..." notification - show the "Process completed" notification only if the progress window is inactive
2018-12-27caja-progress-info: show notifications with the gsettings key:Pablo Barciela2-8/+22
org.mate.caja.preferences.show-notifications Closes https://github.com/mate-desktop/caja/issues/1093
2018-12-20move appdata to metainfo directorymonsta1-1/+1
fixes https://github.com/mate-desktop/caja/issues/921
2018-12-11disable deprecation warnings for distcheckraveit651-1/+5
2018-12-02caja-places-sidebar: replace two other uses of g_drive_poll_for_media_finishlukefromdc1-2/+2
Both of these uses are incorrect and if this code is ever run would likely segfault. Adapted from https://github.com/linuxmint/nemo/commit/4ffea61b26033da1305ab8287058044065a1c101
2018-12-02Fix segfault on stopping USB hard driveslukefromdc1-1/+1
Fix https://github.com/mate-desktop/caja/issues/1046 drive_stop_cb should never have used g_drive_poll_for_media_finish which is for ejectable media in a fixed drive (e.g CD drive) and not for stopping a removable drive
2018-12-01caja-bookmark: Fix memory leakPablo Barciela1-1/+4
'g_strconcat' needs to be freed
2018-12-01fm-properties-window: Fix memory leaksPablo Barciela1-6/+13
'g_strconcat' needs to be freed
2018-12-01caja-desktop-link-monitor: Fix memory leakPablo Barciela1-4/+5
'g_strconcat' needs to be freed
2018-12-01eel-gtk-extensions: Fix memory leaksPablo Barciela1-2/+9
'g_strconcat' needs to be freed
2018-11-17release 1.21.3v1.21.3raveit652-30/+59
2018-11-17GSettings should init beforce use it.yetist1-0/+1
Fixed running caja_self_check_directory failed.
2018-11-16sync with transifexraveit65121-1349/+10048
2018-11-07Fix case-insensitive comparison in running_in_mateZhang Xianwei3-6/+6
The environment variable XDG_SESSION_DESKTOP and DESKTOP_SESSION in running_in_mate are compared using "MATE". Actually the environment variable in MATE DE is "mate"(lower case). Using "mate" instead of "MATE" to fix it. Signed-off-by: Zhang Xianwei <[email protected]>
2018-11-02monitor: fix crash on unmounting remote filesystemslukefromdc1-2/+2
Don't treat remote filesystems differently when unmounting
2018-11-02CajaFile: fix crash in modify_link_hash_tableMichael Catanzaro1-1/+1
We crash in g_hash_table_lookup_extended if the file's symlink_name is set but the file is not a symlink, since the hash function (g_str_hash) does not allow NULL values but target_uri is NULL. https://bugzilla.gnome.org/show_bug.cgi?id=711583 Adapted from https://gitlab.gnome.org/GNOME/nautilus/commit/c2a5e052
2018-11-02connect-server-dialog: Respect password save settingTomas Bzatek1-0/+6
The "Remember this password" checkbox was not respected when password was specified and connection succeeded for the first time. https://bugzilla.gnome.org/show_bug.cgi?id=641376 Adapted from https://gitlab.gnome.org/GNOME/nautilus/commit/571a6ef7
2018-11-02properties-window: fix checking inconsistent stateAlexandru Pandelea1-1/+1
In the function initial_permission_state_consistent, when the check was made to see if the files have the same permissions, the check was not correct. To fix this, also do & between the first_permissions and the mask. https://bugzilla.gnome.org/show_bug.cgi?id=698955 Adapted from https://gitlab.gnome.org/GNOME/nautilus/commit/37595852
2018-10-20monitor: watch for removal of non-native mounts on GVolumeMonitorlukefromdc3-10/+96
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
2018-10-19Add 'Configurable' interface and add support to caja-file-management-properties20kdc4-3/+218
2018-10-19caja-application.c: Remove redundant empty linesZhang Xianwei1-3/+0
There are some redundant empty lines in caja-application.c. Remove it. Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-18Update caja manpage with info about "--force-desktop" optionZhang Xianwei1-0/+3
The commit https://github.com/mate-desktop/caja/commit/9e5ea15d104720cfee752c193b77f8b03558c6b9 added a --force-desktop option, but not updated the manpage. Fix it. Signed-off-by: Zhang Xianwei <[email protected]>
2018-10-03Caja-icon-info: Optimize icon lookups by GIcon.lukefromdc2-149/+74
The caja_icon_info_lookup method was potentially doing multiple icon lookups for a single icon, as well as triggering an additional fallback lookup when returning an empty (no pixbuf) CajaIconInfo to CajaFile. This streamlines and simplifies the lookup process. The hash table lookup always occurs first, before any Gtk icon cache lookup is made (these are expensive, according to perf analysis,) and a returned icon info will *always* be added to a hash table, potentially already containing a fallback icon. GIcons stringify well enough to use the strings exclusively for hash keys. This eliminates the extra cost of looking up filenames from the Gtk icon cache. Ported from github.com/linuxmint/nemo/commit/98843e26b48cd3526cacfe90cfa4ba201d1f3aee where this benchmark resulted for Nemo: .# sync; echo 3 > /proc/sys/vm/drop_caches mtwebster:~/bin/nemo[master]> NEMO_BENCHMARK_LOADING=1 nemo /usr/bin with: Nemo startup time: 2.011817 seconds Folder load time: 1.158854 seconds Idle...Folder load time: 1.226699 seconds without: Nemo startup time: 2.464361 seconds Folder load time: 1.591494 seconds Idle...Folder load time: 1.692273 seconds
2018-10-02fm-directory-view.c: Decrease minimum update interval.lukefromdc1-2/+2
With a lower starting interval, the UI responds more quickly, and loading tends to complete faster. Ported from github.com/linuxmint/nemo/commit/61368e3fc33c0d662f45731d6bbb2a28fc5023ca Where these benchmarks resulted for Nemo: NEMO_BENCHMARK_LOADING=1 nemo /usr/bin with: Nemo startup time: 1.797009 seconds Folder load time: 0.937992 seconds Idle...Folder load time: 0.973764 seconds without: Nemo startup time: 2.054006 seconds Folder load time: 1.187159 seconds Idle...Folder load time: 1.219712 seconds Speedup on opening a Caja folder with many files was immediate and obvious
2018-09-19Remove dead code, fix a memory leaklukefromdc1-11/+3
2018-09-17add option to open multiple uri in tabs at startupClément Masci6-74/+146