Commit graph

22545 commits

Author SHA1 Message Date
Quentin PAGÈS
7accbe5f31 Update Occitan translation 2021-08-12 21:15:38 +00:00
Philipp Kiemle
78e08ca18e Update German translation 2021-08-12 20:19:51 +00:00
Nishit Patel
0503af3d22 tracker-search: fix datetime format
use `g_date_time_format_iso8601` to properly format
datetime as SPARQL only accepts ISO8601 format

fixes #1933
2021-08-12 20:54:58 +05:30
Matej Urbančič
fdb70dc6fe Update Slovenian translation 2021-08-11 08:10:32 +00:00
Yuri Chornoivan
eaba46b5ce Update Ukrainian translation 2021-08-11 06:23:52 +00:00
Emin Tufan Çetin
43d2d9d064 Update Turkish translation 2021-08-10 15:46:44 +00:00
Ondrej Holy
a77b5cf91b ci: Use fedora:latest instead of rawhide
There are various problems with the rawhide image currently and I don't
know how to workaround them. Let's use fedora:latest (temporarily) to fix
our pipeline.
2021-08-10 11:20:25 +00:00
Ondrej Holy
82f4d0cd94 Switch to meson for gnome-autoar
Relates: https://gitlab.gnome.org/GNOME/gnome-autoar/-/merge_requests/11
2021-08-10 11:20:25 +00:00
Ondrej Holy
156a68cf52 compress-dialog: Add support for encrypted .zip
Currently, it is not possible to create encrypted archives over
Nautilus. Let's add support for encrypted .zip files to not have
to install a dedicated archive manager.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/822
2021-08-10 11:20:25 +00:00
Ondrej Holy
c1efa51719 compress-dialog: Update dialog design
Let's update the Compress dialog design as per the mockup for the
encrypted archives support. The most visible change is `GtkPopover`
with `HdyActionRow` rows for the format selection instead of the
`GtkRadioButton` buttons.

https://gitlab.gnome.org/GNOME/nautilus/-/issues/822
2021-08-10 11:20:25 +00:00
Matej Urbančič
7864dc0d8c Update Slovenian translation 2021-08-10 10:59:41 +00:00
Emin Tufan Çetin
fb007a9253 Update Turkish translation 2021-08-06 20:17:36 +00:00
Danial Behzadi
5496a7f274 Update Persian translation 2021-08-02 08:26:02 +00:00
Efstathios Iosifidis
37d2c73d27 Update Greek translation 2021-07-29 14:54:50 +00:00
Jordi Mas
8980b52d37 Update Catalan translation 2021-07-25 18:53:20 +02:00
Kukuh Syafaat
017351a6a2 Update Indonesian translation 2021-07-25 14:08:29 +00:00
Fabio Tomat
782b8736e9 Update Friulian translation 2021-07-23 20:13:49 +00:00
Quentin PAGÈS
794b60892d Update Occitan translation 2021-07-22 20:17:02 +00:00
Anubhav Tyagi
6c7eacd203 files-view: Store selected files list for compressing
The selected files list is chosen after the user confirmed the compress
operation in the compress-dialog which may result in files other than
chosen file being compressed.

Store the list of selected files when the user chooses the "Compress"
option from the menu, to avoid that

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1900
2021-07-21 23:23:39 +00:00
Alexey Rubtsov
0487dc927f Update Russian translation 2021-07-19 22:42:07 +00:00
luisico
79d7b2e598 files-view: Bring "Open with..." options together
The right-click menu is arranged in a way in which "Open with default
application" and "Open With Other Application" are visually separated.

It's not comfortable for the user to need to scan the menu looking for
the "Open With Other Application" if the default option is not the
expected one.

This change just puts the two menu items under the same UI section, not
only bringing them visually together but also removing any line
separation between them since they can be considered to be part of the
same concept.

Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1268
2021-07-18 17:52:31 +02:00
Kukuh Syafaat
cd219c84f3 Update Indonesian translation 2021-07-17 14:18:57 +00:00
Anubhav Tyagi
65f2828ab7 replace display_name attribute with edit_name for renaming
The edit_name attribute corresponds to G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME
attribute. It is almost identical to display_name, except if there is
invalid encoding, and is preferred when implementing renaming functionality.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1540
2021-07-15 13:12:45 +00:00
Ondrej Holy
c645351d79 ci: Build uncrustify from sources
The uncrustify package from rawhide contains the following bug:
https://github.com/uncrustify/uncrustify/issues/3233. Let's build the
uncrustify package from sources as the master branch already contains the
following fix: https://github.com/uncrustify/uncrustify/pull/3235. So the
workaround from commit 3ad2de33da can be
reverted now.
2021-07-14 17:13:30 +02:00
Ondrej Holy
0865620acf Revert "uncrustify: Ignore sp_arith to workaround bug"
This reverts commit 3ad2de33da.
2021-07-14 09:35:18 +02:00
Daniel Mustieles
ff0e896253 Updated Spanish translation 2021-07-13 11:25:47 +02:00
Enrico Nicoletto
b99d3c6030 Update Brazilian Portuguese translation 2021-07-12 20:38:44 +00:00
Yuri Chornoivan
b4ba17981c Update Ukrainian translation 2021-07-12 15:42:15 +00:00
Hugo Carvalho
1d22d65efb Update Portuguese translation 2021-07-12 12:32:32 +00:00
Nick Montalbano
0c103a20b7 files-view: Fix comma placement in a floating bar
When files are selected the floating bar appears with info about their types,
count, and size. In certain cases, there is an extra space character before the
comma when the folder item count is not known. Also, there is an extra space
character at the end when the size for other files is not known. To fix those
issues, let's handle those cases differently.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1867
2021-07-12 08:02:09 +00:00
António Fernandes
3ad2de33da uncrustify: Ignore sp_arith to workaround bug
A new bug in uncrustify 0.73 causes a pointer type to be interpreted
as an arithmetic operation, thus adding a space. [0]

This causes the CI pipeline to fail on style-check job.

To workaround this, ignore the "space around arithmetic operator" rule.

[0] https://github.com/uncrustify/uncrustify/issues/3233
2021-07-11 22:05:51 +00:00
António Fernandes
619970b1e8 general: Uniformize case code style
There are a few non-braced single-statement in the final cases, which
have  gone unnoticed until detected by a recent uncrustify update.

Let's add the missing braces around single-statements even if it's the
last case.
2021-07-11 22:05:51 +00:00
Yuri Chornoivan
9661a9de4c Update Ukrainian translation 2021-07-11 13:09:45 +00:00
sicklylife
8eb2ba4980 Update Japanese translation 2021-07-11 11:14:35 +00:00
sicklylife
7d3c03aece Update Japanese translation 2021-07-11 11:12:04 +00:00
sicklylife
cea4f78f26 Update Japanese translation 2021-07-11 11:09:09 +00:00
sicklylife
4c2679c1f5 Update Japanese translation 2021-07-11 11:07:33 +00:00
Rafael Fontenelle
571230ae17 Update Brazilian Portuguese translation 2021-07-10 20:08:28 +00:00
Chao-Hsiung Liao
bad614d567 Update Chinese (Taiwan) translation 2021-07-10 08:07:40 +00:00
Ondrej Holy
55aed9b74f Post release version bump 2021-07-09 17:12:20 +02:00
Ondrej Holy
2ae4631c58 Release version 41.alpha 2021-07-09 17:09:31 +02:00
Ondrej Holy
8c5fa3eb08 extensions/image-properties: Replace deprecated symbols
The build log contains warnings about deprecated gexiv2 functions. Let's
port to the new API, unpin exiv3 and gexiv2 dependencies in flatpak manifests
and bump the build dependency accordingly to get rid of the warnings.
2021-07-09 15:46:59 +02:00
Daniel Șerbănescu
24df6cf4a9 Update Romanian translation 2021-07-09 10:52:58 +00:00
Hugo Carvalho
13af04f292 Update Portuguese translation 2021-07-09 10:02:04 +00:00
Abanoub Ghadban
3b226230fd window-slot: Add file name to file not found dialog
Nautilus can show "Unable to find the requested file. Please check the
spelling and try again." error when starting. The message doesn't indicate
what file was not found. Let's add the file name to that dialog to make it
obvious.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1793
2021-07-09 09:52:40 +02:00
António Fernandes
a501aaf40e files-view: Make override method private
Always call the parent polimorphic method instead.
2021-07-08 20:26:35 +00:00
António Fernandes
1a0096fe4f view: Use view id macros instead of enum
The slot.files-view-mode action takes hardcoded id values. This may
break if the ids enumeration changes.

Instead, let's define the values with a macro which we can stringify.
While we are at it, drop the unused EMPTY id.
2021-07-08 20:26:35 +00:00
António Fernandes
e8147de9b0 window-slot: Make back_or_forward() a slot method
We define a NautilusWindow method in nauitlus-window-slot.c. That's
just wrong.

Also, there is no reason for this to be a NautilusWindow method,
rather than a slot one.

The only consumers are NautilusWindow and NautilusToolbar, and both
have a pointer to the current slot, so let's make this a slot method.

For convenience, also add a private NautilusWindow wrapper method.
2021-07-08 20:26:35 +00:00
António Fernandes
96f989f372 window-slot: Make type final
Last commit removed the only subclass because switching slot class is
problematic, so we probably don't want to do it again.

This partially reverts 0a512d00b6
2021-07-08 20:26:35 +00:00
António Fernandes
ad41d6f635 window-slot: Drop other-locations subclass
The NautilusOtherLocationsWindowSlot subclass has been introduced along
with its sibling NautilusDesktopWindowSlot.[0]

However, the desktop one is now gone, and this is the only subclass.
It does only 2 things differently from its parent class:

  * Creates a NautilusPlacesView instead of a NautilusFilesView
  * Disables the slot.files-view-mode-toggle and files-view-mode actions

There is little reason not to handle both things in the parent class.
Also, changing slots when going in and out of the Other Locations place
throws away the navigation data; while this can be worked around by
saving and restoring this data, this outweights any potential benefits
of subclassing.

This commit is equivalent to reverting [0], but due to code style and
other changes, a clean revert was not possible.

Effectively fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/32

[0] commit 5f295bd92c
2021-07-08 20:26:35 +00:00