summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
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-07libcaja-private: fix -Wlogical-not-parentheses build warningraveit651-1/+1
fixes this warning: caja-undostack-manager.c: In function 'retrieve_files_to_restore': caja-undostack-manager.c:1967:38: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!(g_hash_table_size (trashed)) > 0) { ^ caja-undostack-manager.c:1967:7: note: add parentheses around left hand side expression to silence this warning if (!(g_hash_table_size (trashed)) > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( )
2018-05-05avoid deprecated 'gtk_style_context_get_background_color'Pablo Barciela8-16/+87
2018-05-05release 1.21.1v1.21.1raveit651-2/+41
2018-05-05sync with transifexraveit65119-117386/+125049
2018-05-03caja-spatial-window.c: avoid deprecated 'gtk_vbox_new'Pablo Barciela1-4/+2
2018-05-03Eliminate accessible children-changed event flood on container repopulationJoanmarie Diggs2-2/+5
When the icon container is repopulated (e.g. when using back/forward) finish_adding_new_icons is called leading to an accessible children- changed event flood. We can distinguish these unwanted notifications from desired notifications by comparing the number of new icons to add with the size of the container's icon set.
2018-04-24Eliminate accessible children-changed event flood during update allJoanmarie Diggs1-0/+6
Accessible children-changed events should only be emitted when a user- triggered action (creation of file, copying an item) causes an item to be added. Set container->details->is_loading (which does not seem to be used anywhere) in caja_icon_container_request_update_all because if the entire container is being updated, children-changed events should not be emitted for each updated icon.
2018-04-24Emit accessible-name-change signal for icons only when icons are renamedJoanmarie Diggs2-1/+4
caja_icon_canvas_item_set_property was emitting accessible-name-change signals whenever the PROP_EDITABLE_TEXT was being set for an icon. This method is called by caja_icon_container_request_update_all when the icon view is first loaded. Thus irrelevant events are being emitted (the name of each icon didn't change, as far as the user is concerned). Furthermore, this floods assistive technologies any time the user opens a folder with a large number of files. Moving the notification out of caja_icon_canvas_item_set_property and into end_renaming_mode (where ICON_TEXT_CHANGED is also emitted) solves the problem of floods of irrelevant notifications while still emitting the signal when the name actually changes.
2018-04-23libcaja-private/caja-recent.c: gvfs-open is a deprecated tool, switch to ↵Mike Gabriel1-1/+1
"gio open" from libglib2.0-bin.
2018-04-18sidebar popup menu: show "media-eject" icon in the "unmount" itemsPablo Barciela2-2/+2
2018-04-13update potfilemonsta1-29/+34
2018-04-12pathbar: fix random segfaults on opening mounts from Desktoplukefromdc3-121/+84
Adapt and apply these four relevent Nautilus commits, which remove the code responsible for the segfaults: *https://github.com/GNOME/nautilus/commit/e1ad3c05a6cd08c8cbf18ae53701dd742249d5fd#diff-f896071d07d34e87af94a18de95e4ea2 "pathbar: add a path-event signal" *https://github.com/GNOME/nautilus/commit/875efc324f8e91f2d157c7532fe5570c1de421c7#diff-f896071d07d34e87af94a18de95e4ea2 "pathbar: remove unused code" *https://github.com/GNOME/nautilus/commit/cfa51e6702ade6a8ca9045791773e6e10560262f "window-pane: use the path-event signal from NautilusPathBar" (now CajaPathBar) *https://github.com/GNOME/nautilus/commit/2759def4968f89c1a2370ca5b2b91af84dc4afd3 "pathbar: add a return value from path-event signal"
2018-04-11fm-icon-view: Show size on disk as sort criterionMoritz Bruder2-1/+9
This was introduced in commit b28445b3d2c42a7d2dbac97983d007e4ab58684d but has never been added to some parts of the UI.
2018-04-10sidebar popup menu: show "media-eject" iconPablo Barciela2-2/+2
2018-04-10update potfilemonsta1-975/+1034
2018-04-08Add sort criterion by reversed extension segmentsMoritz Bruder8-1/+238
The basenames of files are split by dots and then starting from the end each segment is compared to find a sort order. Example: bar.tar.bz2 foo.tar.bz2 a.bar.gz x.tar.gz z.tar.gz test.tex A heuristic determines what extension segments are part of the extension. There is probably no perfect solution but there are much less false positives. As a result the sorting is more intuitive and the displayed column in the list view is better readable and displays extensions more accurately. In addition a bug related to the default sort criteria in the preferences has been fixed.
2018-04-08set icon names instead stock ids in some placesPablo Barciela4-8/+8
2018-04-07caja-spatial-window.c: avoid deprecated GtkImageMenuItemPablo Barciela3-54/+73
avoid deprecated: gtk_image_menu_item_set_always_show_image gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image