Commit graph

20266 commits

Author SHA1 Message Date
Carlos Soriano
1d2a80c913 Merge branch 'gexiv2-switch' into 'master'
image-properties-page: Use gexiv2 for metadata

See merge request GNOME/nautilus!5
2017-11-20 11:40:22 +00:00
Daniel Mustieles
8c7bfa8371 Update Spanish translation 2017-11-20 09:02:44 +00:00
Dušan Kazik
5f0df8c385 Update Slovak translation
(cherry picked from commit e393f614f5)
2017-11-18 13:47:30 +00:00
Carlos Soriano
dc3c1ded4a Merge branch 'BB' into 'master'
favorite-directory: port to G_DECLARE_* macros

See merge request GNOME/nautilus!25
2017-11-13 17:19:43 +00:00
Carlos Soriano
aa6528699a Release: Prepare for 3.27.2 2017-11-13 18:06:54 +01:00
Vyas Giridharan
837a3a2dd4 favorite-directory: port to G_DECLARE_* macros
Porting type declarations to use GLib macros will reduce a good amount
of boilerplate code.
2017-11-13 22:09:14 +05:30
Kjartan Maraas
0fa517949e Updated Norwegian bokmål translation. 2017-11-11 16:17:42 +01:00
Kjartan Maraas
4a0ea96548 Updated Norwegian bokmål translation. 2017-11-09 20:03:43 +01:00
António Fernandes
96e860696e Merge branch '105-expanding-folders-crashes-nautilus' into 'master'
Resolve "Expanding folders crashes nautilus"

Closes #105

See merge request GNOME/nautilus!24
2017-11-08 14:11:28 +00:00
António Fernandes
83be751408 list-view: Make star cell blank and inert on dummy row
If org.gnome.nautilus.list-view use-tree-view is TRUE, folders can
be expanded, which creates a dummy row to display the "Loading" label.

The code to display the correct star icon assumes each row represents a
file, but the dummy row breaks this assumption, crashing nautilus when
checking if the NULL file is starred or unstarred.

Instead, don't set a star icon unless the row represents a file. Also,
do nothing if the cell is clicked on a dummy row.

Fixes: #105
2017-11-08 13:30:05 +00:00
Carlos Soriano
f12a305bd0 Merge branch 'WIP/BUG_reveal_recent' into 'master'
nautilus-files-view: reveal item location opened from recent view

See merge request GNOME/nautilus!20
2017-11-08 08:45:17 +00:00
Fabio Tomat
a2ed4541f2 Update Friulian translation 2017-11-08 06:55:43 +00:00
António Fernandes
c5f6c689b7 Resolve "Crash when expanding folder in search results via list view"
Closes https://gitlab.gnome.org/GNOME/nautilus/issues/54

See merge request https://gitlab.gnome.org/GNOME/nautilus/merge_requests/11
2017-11-07 15:34:51 +00:00
António Fernandes
6873f9ec5b Merge branch 'revert-4930ec0b' into 'master'
Revert "Merge branch '105-expanding-folders-crashes-nautilus' into 'master'"

See merge request GNOME/nautilus!23
2017-11-07 15:10:44 +00:00
António Fernandes
f120bbd8f1 Revert "Merge branch '105-expanding-folders-crashes-nautilus' into 'master'"
This reverts merge request !22
2017-11-07 14:58:38 +00:00
António Fernandes
4930ec0b78 Merge branch '105-expanding-folders-crashes-nautilus' into 'master'
Resolve "Expanding folders crashes nautilus"

Closes #105

See merge request GNOME/nautilus!22
2017-11-07 14:52:44 +00:00
António Fernandes
0a67e3d5bb list-view: Don't try to get fts snippet for dummy row
If org.gnome.nautilus.list-view use-tree-view is TRUE, folders can
be expanded, which creates a dummy row to display the "Loading" label.

When displaying search results as a list, we look for the fts_snippet
on every row's NautilusFile, but this causes a crash when a dummy row is
created, because its NautilusFile is NULL.

Therefore, we should not look for fts_snippet on dummy rows.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/issues/54
2017-11-07 14:31:41 +00:00
António Fernandes
e6aadd6026 list-view: Don't display star on dummy row
If org.gnome.nautilus.list-view use-tree-view is true, folders can be 
expanded. While loading expanded folders, there is a dummy row with 
"Loading" label, which turns into "Empty" if no items are loaded. This 
row has a NULL NautilusFile.

The code to display the correct star icon assumes each row represents a 
file, but the dummy row breaks this assumption, crashing nautilus when 
checking if the file is starred or unstarred.

Instead, don't set a star icon unless the row represents a file. Also, 
do nothing if the cell is clicked on a dummy row.

Fixes: #105
2017-11-07 13:37:19 +00:00
Marek Cernocky
30ef465278 Updated Czech translation 2017-11-06 21:15:11 +01:00
Piotr Drąg
32f1977a99 files-view: Add context and comments to ambiguous starring strings 2017-11-06 19:01:38 +01:00
Piotr Drąg
350281eb4e Update POTFILES.in 2017-11-06 18:50:20 +01:00
Marek Cernocky
1f8054bdca Updated Czech translation 2017-11-06 17:38:54 +01:00
Kjartan Maraas
b80b070ccb Updated Norwegian bokmål translation. 2017-11-06 08:59:46 +01:00
Carlos Soriano
6af42427f8 Merge branch 'wip/carlosg/favorites' into 'master'
Add starred files

See https://gitlab.gnome.org/GNOME/nautilus/merge_requests/21
2017-11-05 20:33:15 +00:00
Carlos Garnacho
86e5d2b536 search-engine: Increment providers_running early
There are chances that providers get to finish before all are
added, resulting in early calls to check_providers_status() which
mess up refcount. Bumping providers_running early prevents that
to happen.
2017-11-05 20:09:00 +01:00
Alexandru Pandelea
a9c446afe2 Add favorite files
Add option to make files Favorite, by either toggling a star in the
list view, or from the context menu.

https://bugzilla.gnome.org/show_bug.cgi?id=786039
2017-11-05 20:09:00 +01:00
Marek Cernocky
0be00303f0 Updated Czech translation 2017-11-05 13:01:32 +01:00
Nelson Benítez León
0d3bae9c63 nautilus-files-view: reveal item location opened from recent view
"open item location" action from 'recent files' view was not
revealing (selecting and scrolling to) the item whose location
was opened.

Selection code logic on canvas/list view compares NautilusFiles's,
so we need to provide one that refers to the destination uri
(activation uri) instead of the original one from recent view which
has a "recent://" uri scheme.

https://bugzilla.gnome.org/show_bug.cgi?id=784516
2017-11-03 22:08:18 +05:00
Carlos Soriano
904214e664 Merge branch 'WIP/fix_crash_passthrough' into 'master'
nautilus-files-view: fix crash on search view

See merge request GNOME/nautilus!19

Fixes #https://gitlab.gnome.org/GNOME/nautilus/merge_requests/19
2017-11-03 16:56:54 +00:00
Carlos Soriano
9ad049def7 Merge branch 'alexpandelea/issue65' into 'master'
remove setting fts from preference dialog

See merge request GNOME/nautilus!14
2017-11-03 16:55:54 +00:00
Carlos Soriano
04ab4cbe06 Merge branch 'patch-3' into 'master'
Never sort search results with directories above files, regardless of the setting.

See merge request GNOME/nautilus!13
2017-11-03 16:16:57 +00:00
Nelson Benítez León
c2a0d219fd nautilus-files-view: fix crash on search view
Fix crash caused by commit 3aba356a when switching to
search view. Crash occured because of timeout being
executed for a destroyed view. So we now save timeout id
to make sure we remove timeout when its view it's being
destroyed.

https://gitlab.gnome.org/GNOME/nautilus/issues/73
2017-11-03 20:18:15 +05:00
Daniel Mustieles
0e2330e7ce Update Spanish translation 2017-11-03 12:59:08 +00:00
Marek Cernocky
6da1a00573 Updated Czech translation 2017-11-03 12:11:21 +01:00
Carlos Soriano
b212d4a879 Merge branch 'issue-36' into 'master'
Improve "Modified" datestamp for files from future

See merge request GNOME/nautilus!7
2017-11-03 09:45:34 +00:00
António Fernandes
046e9e8529 gschema: clarify/simplify some strings in the gconf schemas
Based on old pending patch by Christian Neumair on the following bug:

https://bugzilla.gnome.org/show_bug.cgi?id=309879
2017-11-02 15:57:49 +00:00
António Fernandes
2b2031d4c8 file-operations: ignore extensions when duplicating folders
If a file named "foo.bar" is duplicated, the copy is named "foo (copy).bar",
keeping the extension at the end.

However, this is applying to folders too, where we don't need to worry about
keeping extesions at the end. The result is unexpected.

Therefore, ignore extension if the duplicating item is a folder, except if the
folder already has a copy tag before a dot, such as "dir (copy).dir".

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=696451
2017-11-02 15:43:36 +00:00
António Fernandes
e8153180ef file: Don't call a file type "Unknown" if it isn't
If file type is known but doesn't match any basic type, then it's not unknown.

To fix, call it "Other".

Note that nautilus_file_get_string_attribute_with_default uses "Unknown" as
the default pretty value for NULL.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=758692
2017-11-02 15:10:10 +00:00
Marek Cernocky
c9a6e0bb0c Updated Czech translation 2017-10-30 19:00:16 +01:00
Carlos Soriano
3c89d683ed Merge branch 'wip/initial-ci' into 'master'
ci: Add initial gitlab continuous integration

See merge request GNOME/nautilus!18
2017-10-29 08:57:27 +00:00
Florian Müllner
5c10353f10 ci: Add initial gitlab continuous integration
Eventually we want continuous integration based on flatpak-builder,
but for now use a Fedora docker image. Do not run the test suite for
now, as some of the tests require access to the display server and
we'll still need to figure out how to provide that ...
2017-10-29 02:13:34 +01:00
Khaled Hosny
14389e563e Update Arabic translation 2017-10-27 23:24:40 +02:00
Mario Blättermann
4a251944c1 Update German translation 2017-10-27 09:43:37 +00:00
Carlos Soriano
d01542bc6f Merge branch 'patch-1' into 'master'
Update bug tracker to gitlab in doap file

See merge request GNOME/nautilus!8
2017-10-23 13:13:01 +00:00
António Fernandes
9ec56a2d48 list-view: Don't sort directories first on search results
We should not sort directories first on search results, as per the 
previous commit.

However, on list view, this is checked at init, before a location is 
set. We ignore if it is a search directory, as a result, we respect the 
setting to sort directories first.

Instead, we will check it later, before loading the contents, when we 
already know if it is a search directory or not.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=699629
2017-10-22 15:18:11 +00:00
António Fernandes
eb1a956c26 files-view: Ignore "sort-directories-first" for search results
Search results are sorted by search relevance, which, among other 
parameters, ranks results from the current directory above results from 
subdirectories.

However, if sort-directories-first gsetting is TRUE, a directory found 
deeper in the hierarchy may be ranked above a file from the current 
directory. Also, as more directories are found, files keep moving down.

Therefore, we should not sort directories first when searching.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=699629
2017-10-22 11:15:38 +00:00
Alexandru Pandelea
d33960cd1c remove setting fts from preference dialog
Instead of setting whether the search should be full text search or
not from the preference dialog, make the permanent setting from the
search popover.

https://gitlab.gnome.org/GNOME/nautilus/issues/65
2017-10-21 19:19:38 +03:00
Rafael Fontenelle
ed8ebb9b80 Update bug tracker to gitlab in doap file 2017-10-17 18:38:08 +00:00
Pete Bantock
a263844091 Improve "Modified" datestamp for files from future
Currently files which have been edited in the future will show only the
time in the "Modified" field of the file view. This is misleading as it
makes it seem it was actually last touched today. This change means a
fuller datestamp will now be shown.
2017-10-15 00:06:07 +01:00
Anders Jonsson
ff5a93f608 Fix typo
(overriden -> overridden)

https://bugzilla.gnome.org/show_bug.cgi?id=786965
2017-10-14 15:13:10 +02:00