summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-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-03[libcaja-private] Re-check file MIME type before picking an application.Max Eliaser1-0/+7
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 Barciela1-9/+33
Fixes https://github.com/mate-desktop/caja/issues/1099
2018-12-27Change show/hide backup files shortcutSargastic1-1/+1
2018-12-27Remove useless comments, correct description stringSargastic2-7/+0
2018-12-27Add independent show/hide backup filesSargastic9-7/+173
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-01fm-properties-window: Fix memory leaksPablo Barciela1-6/+13
'g_strconcat' needs to be freed
2018-11-07Fix case-insensitive comparison in running_in_mateZhang Xianwei2-4/+4
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-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-19Add 'Configurable' interface and add support to caja-file-management-properties20kdc1-3/+60
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-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 Masci5-74/+143
2018-09-17Revert "add option to open multiple uri in tabs at startup"raveit655-123/+55
This reverts commit fd1f45f308e418d1c1b44b968ce83f77e4f8a689.
2018-09-17Revert "Memory leak fix"raveit651-1/+0
This reverts commit 04f7e80725c61ab511e2a4ead45eb31acc026e1a.
2018-09-17Revert "Fix indents, update docs to reflect ability to open URIs in tabs"raveit652-67/+68
This reverts commit 424cf4485515a51074c0811880560de360dad784.
2018-09-16Fix indents, update docs to reflect ability to open URIs in tabslukefromdc2-68/+67
2018-09-15Memory leak fixClément Masci1-0/+1
2018-09-14add option to open multiple uri in tabs at startupClément Masci5-55/+123
2018-08-24pathbar: Activate pane when changing locationVictor Kareh1-0/+3
2018-08-01add the ability to switch tabs using [ctrl+tab] and [ctrl+shift+tab]Pablo Barciela1-0/+46
If true the gsettings key "ctrl-tab-switch-tabs" into "org.mate.caja.preferences" Closes https://github.com/mate-desktop/caja/issues/768
2018-07-31caja-window: Fix: mouse doesn't work with [ctrl] + [.] or [ctrl] + [;]Pablo Barciela1-0/+5
Fixes https://github.com/mate-desktop/caja/issues/1024
2018-07-11pathbar: increase reference count of path in update_button_typeslukefromdc1-1/+6
Stop crash and g_object_ref: assertion 'G_IS_OBJECT (object)' failed warnings on toggling desktop_is_home_dir and on some window opening events
2018-07-11Fix some issues found by static analysislukefromdc1-2/+0
Apply one part of https://github.com/GNOME/nautilus/commit/c039b03590c86f5142c78d616700ef7af7c8a5a8#diff-f896071d07d34e87af94a18de95e4ea2
2018-07-11pathbar: Fix crash when accessing drive rootlukefromdc1-3/+4
Apply github.com/GNOME/nautilus/commit/e759e82386f80fb214a420b789b07a194480462c pathbar: Fix crash when accessing drive root The path bar button data is not properly set up when type button type is “root”.
2018-07-12caja-location-bar: Fix: change background color based on activity statePablo Barciela1-15/+48
and avoid deprecated 'gtk_widget_override_background_color'
2018-06-18caja-sidebar-title: Fix: images broken in sidebarPablo Barciela1-5/+30
Fixes https://github.com/mate-desktop/caja/pull/1004#issuecomment-398140812
2018-06-07caja-sidebar-title: fix [-Wmaybe-uninitialized] warningraveit651-0/+1
2018-06-06desktop window: Add is-desktop AtkObject attributeSamuel Thibault2-0/+51
Screen readers need to distinguish between the desktop window and normal windows, to be able to provide nicer speech synthesis. This can be done by simply adding an "is-desktop" attribute to the underlying AtkObject. This is here done by introducing a thin caja_desktop_window_accessible_class class which is based on GtkWindowAccessible and just appends the attribute. Closes: #999
2018-06-05caja-desktop-window.c: Fix: caja crashes unexpectedlyPablo Barciela1-0/+13
Fixes https://github.com/mate-desktop/caja/pull/1005#issuecomment-394805519
2018-06-05avoid deprecated 'gtk_widget_override_font'Pablo Barciela1-1/+7
2018-06-04avoid deprecated 'gtk_window_set_wmclass'Pablo Barciela4-6/+1
2018-05-18avoid deprecated 'gtk_dialog_get_action_area'Pablo Barciela1-5/+6
2018-05-16zoom-control: use NULL instead of uninitialized variablemonsta1-2/+1
2018-05-16remove unused functionmonsta1-25/+0
not needed after ddf6f38db4e842abecd4f2ee77012050822b3775
2018-05-10eel-gtk-extensions: replace deprecated gtk_menu_popup functionraveit653-17/+6
2018-05-10zoom-control: don't use eel_pop_up_context_menu functionraveit651-6/+10
in favor of constant using of gtk_menu_popup_at_widget for mouse and keyboard events.
2018-05-07Replace deprecated gtk_menu_popupraveit655-99/+23
Replace deprecated gtk_menu_popup in eel-editable-label,caja-dnd, emblem-sidebar,caja-side-pane, fm-tree-view, caja-navigation-window-pane, and caja-zoom-control
2018-05-07fm-desktop-icon-view: replace deprecated gdk_error_trap_push/pop functionsraveit651-4/+6
2018-05-07replace deprecated gdk_flushraveit652-3/+5
2018-05-05avoid deprecated 'gtk_style_context_get_background_color'Pablo Barciela3-5/+33
2018-05-03caja-spatial-window.c: avoid deprecated 'gtk_vbox_new'Pablo Barciela1-4/+2