summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
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"raveit653-70/+68
This reverts commit 424cf4485515a51074c0811880560de360dad784.
2018-09-16Fix indents, update docs to reflect ability to open URIs in tabslukefromdc3-68/+70
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 Barciela2-0/+51
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-15caja-desktop-directory: stop segfaults in directory_ready_callbacklukefromdc1-0/+4
Prevent segfault on g_list_find in directory_ready_callback by catching the NULL case
2018-07-12caja-directory.c: fix build warninglukefromdc1-31/+0
Remove two functions now unused after github.com/mate-desktop/caja/commit/191aa3992171c84134f0359a960e5bebc7bfeca4 "libcaja-private: remove redundant prefs application to hash table "
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-11libcaja-private: remove redundant prefs application to hash tablelukefromdc1-47/+0
These preferences are all applied elsewhere and all work without this. Removing it stops the g_hash_table_foreach warnings with GTK 3.23.0
2018-07-11[desktop-bg] Fix memory leak during background change eventsLars R. Damerow1-2/+5
The string returned by eel_bg_get_desktop_color() needs to be freed by the caller, which wasn't happening before. Commit b9cf3667 fixed the case where this function was being called repeatedly, triggering this leak and causing it to rapidly fill system memory.
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-07-03release 1.21.2v1.21.2raveit652-1/+33
2018-07-03sync with transifexraveit65119-27198/+28659
2018-06-21eel-gtk-extensions: show icons in right-click menus only if ↵lukefromdc1-2/+9
"menus-have-icons" set
2018-06-20tx: update source fileraveit651-121/+129
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-progress-info.c: show notifications in begin/end of progressPablo Barciela1-4/+18
2018-06-07caja-progress-info.c: avoid deprecated 'gtk_status_icon_get_visible'Pablo Barciela1-2/+5
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 Barciela2-2/+12
2018-06-04avoid deprecated 'gtk_window_set_wmclass'Pablo Barciela6-10/+3
2018-06-02caja-bookmark.c: drop unused variablePablo Barciela1-1/+0
Fixes https://github.com/mate-desktop/caja/pull/1001#issuecomment-394072477
2018-05-23caja-bookmark.c: Fix icons in bookmarksPablo Barciela1-16/+10
Fixes https://github.com/mate-desktop/caja/pull/962#issuecomment-389114129
2018-05-20icon-container: avoid deprecated 'gtk_style_context_get_border_color'Pablo Barciela1-2/+7
2018-05-18avoid deprecated 'gtk_dialog_get_action_area'Pablo Barciela2-10/+12
2018-05-18update potfilemonsta1-124/+120
2018-05-16Pathbar button: fix poor response to right-clicklukefromdc1-1/+1
Fix https://github.com/mate-desktop/caja/issues/996
2018-05-16editable-label: avoid deprecated 'gtk_im_multicontext_append_menuitems'Pablo Barciela1-15/+1
drop "Input Methods"
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-16use NULL instead of uninitialized variablemonsta1-4/+2
follow-up to ddf6f38db4e842abecd4f2ee77012050822b3775
2018-05-14eel-editable-label.c: avoid deprecated 'gdk_keymap_get_default'Pablo Barciela1-5/+5
2018-05-13eel-editable-label: avoid deprecated gtk_style_context_set_backgroundPablo Barciela1-15/+0
2018-05-10eel-gtk-extensions: replace deprecated gtk_menu_popup functionraveit655-54/+8
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_popupraveit657-140/+29
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-07libcaja-private: replace deprecated gdk_error_trap functionsraveit651-4/+6
replace gdk_error_trap_push gdk_error_trap_pop_ignored