Commit graph

25199 commits

Author SHA1 Message Date
Peter Eisenmann 00b46b00ea directory-async: remove unused uri vars
The code that used them was removed in [1].

[1] 5cf288a93e

(cherry picked from commit a852fa77bbfb4e42c039d32b38c02769b7f82be4)
2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib c05b82e0ae filename-validator: Prevent theoretical null dereference 2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib 7aa10af359 tests: Use g_assert_true instead of g_assert 2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib 4233ad2429 file-utilities: Use mime-info description
These types are part of xdg-mime specification and already have
translations that are identical to the ones that we have. Remove
them from here to reduce duplicate work for the translators.
2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib c5216c47da general: Use the defined constant for path separator 2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib b75bd46f49 window-slot: Remove unused property 2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib 2326d7780b properties-window: Remove mention of Computer://
This was removed in [1] and wasn't changed back then.

[1] c79aff62ab
2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib 3767bcee09 general: Remove unneeded comments
Advice about g_list_append is already documented.

Desktop link icons support was dropped in b1cb977812
2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib be9fc5678a general: Use g_set_* macros 2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib 45f58ae68d file-operation: Remove unapplicable comment
This comment was unapplicable in same commit that it was added
in. Perhaps it was a mistake.

See: 841af08641
2024-03-30 08:05:34 +00:00
Khalid Abu Shawarib 2643486b31 files-view: Handle initial dialog location for some odd places
This prevent passing an unsupported initial location for the file
dialog.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3264
2024-03-30 07:34:05 +00:00
Khalid Abu Shawarib 598f751232 star-cell: Only set tooltip on change
Setting tooltips seems expensive as it invokes system calls. Check
if the text is different before changing it to improve performance.
2024-03-30 07:27:08 +00:00
Jonathan Lin 67f0be4239 files_view: Disable paste in Trash, Recent, and Starred
Disables pasting in the context menu and shortcuts with specific error
dialogs.  Previously, pasting into these directories using 'ctrl-v'
triggered strange error dialogs. The Trash folder also had paste enabled
in the menu.

Fixes #3235
2024-03-30 07:16:41 +00:00
Khalid Abu Shawarib 855f45b10a location-banner: Update panel name
Usage page was embedded into privacy and we didn't update the
code to reflect that. Change the name in the dbus request to
launch the containing panel, and also specify the subpage name.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3348
2024-03-30 01:04:12 +00:00
Fina Wilke fd7ce3d1f7 file-operations: Preserve permissions copying from r/o non-isofs mounts
When copying files from readonly mounts we only reset the permissions of
the source if those are of filesystem type isofs. The original behaviour
was meant to be a workaround for isofs optical disks [1][2] for which the
kernel driver sets permissions of all inodes to r-x if the POSIX
permission extension (rock ridge) is not available [1].

As we can't detect the presence of such an extension from gio we can only
guess and reset the permissions for all isofs mounts. This is still
wrong [3], but reduces the scope of the bug to isofs.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=167102
[2] https://bugzilla.gnome.org/show_bug.cgi?id=550816
[3] https://gitlab.gnome.org/GNOME/nautilus/-/issues/2873
2024-03-30 01:00:26 +00:00
Khalid Abu Shawarib ba665f5371 files-view: Move focus function from list base
This was supposed to be done in ee6ee07543

The select action called by this focus function would set the
selection and notify the changes which updates the selection info
in the floating bar.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3354
2024-03-30 01:52:35 +01:00
Automeris naranja 01b28f337b operations-ui-manager: Add mnemonic to the "Merge" button
Add a mnemonic to the "Merge" button from the file conflict
dialog.
2024-03-29 21:08:34 -03:00
Athmane MOKRAOUI 51b9038b23 Update Kabyle translation 2024-03-29 12:17:42 +00:00
Yaron Shahrabani 03b2e4f83e Update Hebrew translation 2024-03-29 06:36:04 +00:00
Ekaterine Papava b456dc7477 Update Georgian translation 2024-03-29 04:08:40 +00:00
Athmane MOKRAOUI 7ea3804d67 Update Kabyle translation 2024-03-29 03:18:17 +00:00
Automeris naranja a3718eb47f operations-ui-manager: Use header capitalization in some strings
Use header capitalization in some strings from the
file conflict dialog, such as "Replace with", "Merge with",
"Original file", "File conflict" and
"File and Folder conflict". This change conforms with the
HIG guidelines[1].

Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/3373

[1] https://developer.gnome.org/hig/guidelines/writing-style.html#header-capitalization
2024-03-28 22:00:30 -03:00
Juliano de Souza Camargo ea6ba78f23 Update Brazilian Portuguese translation 2024-03-27 22:51:06 +00:00
Automeris naranja e364ba4705 properties-window: Use property rows in "create_extension_group_row"
AdwActionRows and AdwExpanderRows can become property
rows by adding the .property style class[1]. This
achieves the same behavior that create_extension_group_row
currently has, but with less code.

Related: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3183

[1] https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/style-classes.html#property-rows
2024-03-23 23:32:41 +00:00
Lukáš Tyrychtr 1206af7d12 compress-dialog: If no password is required, try accepting the dialog on
activation of the archive name entry.

Doing that allows just typing the name and pressing Enter.

Fixes #3359.
2024-03-23 22:19:33 +00:00
Peter Eisenmann 2d3ebb3505 Post-branching version bump 2024-03-22 02:09:29 +01:00
Jordi Mas ef1034c254 Update Catalan translation 2024-03-19 21:47:10 +01:00
Ondrej Holy fafc791209 Post-release version bump 2024-03-18 14:09:47 +01:00
Ondrej Holy dcd221d57d Release version 46.0 2024-03-18 13:47:57 +01:00
A S Alam f9393122bf Update Punjabi translation 2024-03-17 03:16:15 +00:00
Khalid Abu Shawarib 1f6ca58fe1 properies-window: Remove char limit on content label
This was missed in c62134e83d

Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/3364
2024-03-14 18:31:48 +00:00
Athmane MOKRAOUI b03fedfe0f Update Kabyle translation 2024-03-13 22:42:22 +00:00
Changwoo Ryu 30123afff4 Update Korean translation 2024-03-13 10:35:38 +00:00
Artur S0 3918f75bd6 Update Russian translation 2024-03-12 13:25:55 +00:00
Daniel Rusek 487030964f Update Czech translation 2024-03-11 12:26:57 +00:00
Jordi Mas i Hernandez 0ac621c04b Update Catalan translation 2024-03-11 06:02:47 +00:00
Rūdolfs Mazurs e8c6dc0194 Update Latvian translation 2024-03-08 21:17:45 +00:00
Piotr Drąg 12e17f3b90 Update Polish translation 2024-03-07 18:48:14 +01:00
Vasil Pupkin 914f7c0ff1 Update Belarusian translation 2024-03-05 19:25:39 +00:00
Andi Chandler a82e6419c4 Update British English translation 2024-03-05 11:37:21 +00:00
Anders Jonsson f42674be14 Update Swedish translation 2024-03-04 22:41:16 +00:00
Balázs Úr 0e04130480 Update Hungarian translation 2024-03-04 19:49:04 +00:00
Alan Mortensen a78a6b12c1 Update Danish translation 2024-03-04 18:23:49 +00:00
António Fernandes 6de0ebbaad Post-release version bump 2024-03-04 02:40:39 +00:00
António Fernandes 53dc2eaaa7 Release version 46.rc 2024-03-04 02:35:47 +00:00
Peter Eisenmann 2438a0a2a2 files-view: debug print non-existent file uri
When debugging, knowing the file uri might be helpful. Generally it is
not helpful though, as it might faciliate users exposing private file
names in bug reports.
2024-03-04 01:51:09 +00:00
António Fernandes d615f9f024 Revert "pathbar: Change cursor to text when action is loation entry"
This reverts commit d2b2c814a3.

This usage of the text cursor is unusual. We should instead explore
highlight on hover.
2024-03-04 01:49:50 +00:00
Sam Hewitt 274d9ab496 progress-indicator: Fix up visual papercuts
- stylise the whole indicator to be like a sidebar item
- adjust the spacing and padding and pixel-size in the UI file

(Ammended by António Fernandes <antoniof@gnome.org>)
2024-03-04 01:39:11 +00:00
Peter Eisenmann b4c785bdf8 window: adjust credentials strings
Also mark them as translatable.

Fixes #3331
2024-03-04 01:03:35 +00:00
Corey Berla 518b07e141 files-view: Drop now-useless stack
It used to allow changing between regular view and empty view.

(Extracted by António Fernandes from originally larger patch)
2024-03-04 00:50:04 +00:00