summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2018-04-06Fix warnings from HiDPI commitslukefromdc3-1/+8
*caja-pathbar: fix warning,and in the process maybe fix occasional segfaults on opening mounted volumes from the desktop *caja-icon-info: Stop gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed warning by handling NULL return from function finding the pixbuf caja-icon-canvas-item-c: do not use g_object_unref where it does not work Stop the g_object_unref: assertion 'G_IS_OBJECT (object)' failed warnings on closing icon views
2018-04-04sidebar: Respect sidebar dimensions on HiDPIVictor Kareh2-2/+10
2018-04-04HiDPI: Convert Pixbufs to Cairo SurfacesVictor Kareh21-276/+395
This allows icons in most places to scale up properly for HiDPI displays.
2018-04-04general: use gdk_monitor_get_scale_factorAlexandru Pandelea1-1/+1
As it is deprecated, instead of using gdk_screen_get_monitor_scale_factor use gdk_monitor_get_scale_factor(). https://bugzilla.gnome.org/show_bug.cgi?id=779774 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/273e6efc
2018-04-04list-view: use the cairo surface as a drag iconCosimo Cecchi1-11/+8
As we now store surfaces in the GtkListStore, we have to change the drag method to use it instead of a pixbuf. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/18a380af
2018-04-04Scale screen dimensionsVictor Kareh7-25/+60
2018-04-04icon-info: hash/store icons using scale factor as well as sizeLionel Landwerlin1-6/+18
Otherwise we might pick up an icon at an invalid size for a given scale. https://bugzilla.gnome.org/show_bug.cgi?id=776896 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/53cee1de
2018-04-04file: support HiDpi for thumbnails imagesCosimo Cecchi1-3/+3
This was missing from the last commit. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/b3b4bea5
2018-04-04properties-window: support HiDpi for the properties window iconCosimo Cecchi1-17/+10
This was missing from the last commit. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/3a6053f1
2018-04-04Support HiDpi iconsCosimo Cecchi32-185/+332
Port the rendering of icons to cairo surfaces, so that we can apply the GDK scale factor when rendering icons. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/0d4555d7
2018-04-04canvas-container: listen to scale factor to invalidate iconsLionel Landwerlin1-0/+12
This is one of the condition that needs to trigger an invalidation to recompute layout at the correct size. https://bugzilla.gnome.org/show_bug.cgi?id=776896 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/b257699e
2018-04-04canvas-item: use gtk_render_icon_surface for the DnD surfaceCosimo Cecchi1-3/+8
So to get HiDpi support. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/31059f33
2018-04-04desktop-canvas-view: scale desktop workareaAndrea Azzarone1-4/+8
The problem is that in the function canvas_container_set_workarea the screen width and height are in "application pixels" while the workarea ones are in "device pixels" so when the scaling is > 1, the margins are not properly setted. We need to scale-down the workarea geometries to "application pixels". https://bugzilla.gnome.org/show_bug.cgi?id=769302 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/315a55df
2018-04-03pre-bump versionraveit652-1/+3
2018-04-02caja-side-pane.c: avoid deprecated GtkImageMenuItemPablo Barciela1-4/+6
avoid deprecated: gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image
2018-03-31caja-navigation-window-pane.c: avoid deprecated GtkImageMenuItemPablo Barciela1-7/+9
avoid deprecated: gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_set_image
2018-03-31caja-navigation-window-menus.c: drop unused variablePablo Barciela1-8/+0
Fixes https://github.com/mate-desktop/caja/pull/965#issuecomment-377716724
2018-03-31caja-navigation-window-menus.c: avoid deprecated GtkImageMenuItemPablo Barciela1-3/+0
avoid deprecated 'gtk_image_menu_item_set_always_show_image'
2018-03-31caja-bookmark: avoid deprecated GtkImageMenuItemPablo Barciela2-13/+40
avoid deprecated: gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image
2018-03-31caja-places-sidebar.c: avoid deprecated GtkImageMenuItemPablo Barciela1-17/+19
avoid deprecated: gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image
2018-03-30caja-emblem-sidebar.c: avoid deprecated GtkImageMenuItemPablo Barciela1-9/+7
avoid deprecated: gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image gtk_image_menu_item_new_from_stock
2018-03-30fm-tree-view.c: drop unused variablePablo Barciela1-1/+1
Fixes https://github.com/mate-desktop/caja/pull/956#issuecomment-377222055
2018-03-29modify code error: end the statement with a semicolon张雯1-2/+2
2018-03-27fm-tree-view.c: avoid deprecated GtkImageMenuItemPablo Barciela1-32/+14
avoid deprecated: gtk_image_menu_item_new_from_stock gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_set_image
2018-03-27rename 'mate_image_menu_item...' to 'eel_image_menu_item_new_from_icon'Pablo Barciela3-31/+36
2018-03-26eel-editable-label.c: avoid 'append_action_signal' with stock idsPablo Barciela1-3/+3
2018-03-23release 1.21.0v1.21.0raveit651-10/+36
2018-03-23tx: update translationsraveit65120-147858/+214425
2018-03-23caja-query-editor.c: add #include <eel/eel-stock-dialogs.h>Pablo Barciela1-0/+1
Fixes https://github.com/mate-desktop/caja/pull/950#issuecomment-375567705
2018-03-23tx: set minimum_perc = 2raveit651-1/+1
2018-03-23tx: update config with branch specific resouresraveit651-1/+1