1
0
mirror of https://gitlab.gnome.org/GNOME/nautilus synced 2024-07-04 17:30:47 +00:00
Commit Graph

25189 Commits

Author SHA1 Message Date
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
António Fernandes
7b17260676 list-base: Handle events on empty page
The changes in commit c653f880 ("list-base: Don't inherit
from NautilusFilesView"), broke our gestures on the empty status page
which is still a child of files-view. Rather than attempt to fix this
through files view, as done in commit 95f3db44 ("files-view: Add
gestures to open background menu in empty view"), which fixed the click
gestures, but not the dnd gestures, let's make the more appropriate
change of making the empty status page a child of list-base.

Having the empty status page as a child of the list-base is more logical
because it represents the view, and ultimately our goal is to remove
all view components for files-view (despiste its name).

The empty page is still managed externally, to make it reusable accross
view mode changes. Being an overlay also allows its visibility to be
externally controlled.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3309

(Commit message originally by Corey Berla)
2024-03-04 00:50:04 +00:00
Corey Berla
2332bf7488 Revert "files-view: Add gestures to open background menu in empty view"
This reverts commit 95f3db44c8.

As suspected, this isn't enough.  The DnD gestures also need to work
on the empty view.  Revert this fix and in the next commit we'll move
the empty view to be a child (within a stack) of the list-base.
2024-03-04 00:50:04 +00:00
António Fernandes
00f1f2d446 window-slot: Remove unreachable code 2024-03-04 00:33:13 +00:00
Corey Berla
414bacf3b6 window-slot: Reconnect all handlers upon navigating to an invalid location
When navigating to an invalid location (i.e. through the location
entry, a bad bookmark, etc), the file add/changed handlers are no
longer present in the view until another location change (or reload)
happens.  The existing call to nautilus_window_slot_set_viewed_file()
is not enough to fully reestablish the handlers which were removed from
the call to nautilus_window_slot_stop_loading() (which
ultimately calls disconnect_directory_handlers() in files-view).

There's an explicit comment introduced at [1] which makes it clear
that we want to remove these handlers early for performance and search
reasons. Otherwise we could have delayed removing the handlers which
would have allowed us to not call nautilus_window_slow_force_reload() at
all.  But since this invalid location is just a corner case which
most likely won't happen, let's keep the typical case optimized.

Alternatively, we could create a new function in files-view to
only reconnect the handlers but that too seems to open up a can of
worms for little return.

This bug was introduced in [1]

[1] 9e1e14db2f
2024-03-04 00:33:13 +00:00
Corey Berla
7b35e5adb8 window-slot: Remove comment
The mutter portion of the comment isn't relavent after [1]
and #1 was resolved in [2]

[1] https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/179
[2] https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/630
2024-03-04 00:33:13 +00:00
Gabriel Brand
4aea3ea705 Update German translation 2024-03-03 10:33:23 +00:00
Artur S0
f48e0ff9a8 Update Russian translation 2024-03-02 19:19:53 +00:00
Jiri Grönroos
53f2decf5a Update Finnish translation 2024-03-02 12:27:13 +00:00
Khalid Abu Shawarib
2bf304f3d8 general: Add input hints and purpose properties to entries
Part of https://gitlab.gnome.org/GNOME/Initiatives/-/issues/50
2024-03-01 21:53:03 +03:00
Alexandre Franke
a764956639 metainfo: fix some URLs 2024-03-01 14:16:41 +01:00