Commit graph

20700 commits

Author SHA1 Message Date
Alexandru Fazakas 315d14585b list-view: Make list view selection consistent
Selecting rows using CTRL/SHIFT with left click is different
to right click as GtkTreeView's default code does not support
SHIFT+CTRL selection.

We want consistency between the two behaviours.

We fixed this by replicating the left click behaviour in the
right click case. The GTK dependency is also bumped in order
to use GtkTreePath autocleanup.
2018-03-21 23:57:56 +02:00
Alexandru Fazakas e3c01df382 list-view: Allow right clicking expanders
Right now, right clicking an expander opens the context menu
without changing the selection.

This resulted in the context menu affecting other items than the
clicked one, which is counterintuitive and should not happen.

We fix this by isolating the case where an expander was clicked
and we change the selection to the clicked row.

Closes https://gitlab.gnone.org/GNOME/nautilus/issues/286
2018-03-21 23:56:22 +02:00
Carlos Soriano 9c9eba547b Merge branch 'error_out' into 'master'
general: Error out if unhandled protocol is entered from CLI or pathbar

Closes #237

See merge request GNOME/nautilus!151
2018-03-21 15:16:07 +00:00
Carlos Soriano 7c4e26cde8 Merge branch 'create-config-dir-with-parents' into 'master'
file-utilities: Create parents along with config dir

See merge request GNOME/nautilus!159
2018-03-21 12:48:47 +00:00
Ernestas Kulik ad927dd621 file-utilities: Create parents along with config dir
While under normal circumstances one could expect XDG_CONFIG_HOME to
exist, in rare cases (e.g. test environments), it might not.
2018-03-21 13:13:15 +02:00
Rahul Verma c48d2de672 nautilus-application: Error out if "x-nautilus-search" is entered from CLI
The problem is that upon entering "x-nautilus-search" in cli a crash is observed.

The solution is to explicitly check for "x-nautilus-search" in cli and error out before even opening the uri.

Closes https://gitlab.gnome.org/GNOME/nautilus/issues/237
2018-03-21 15:05:14 +05:30
Fran Dieguez f88a61c6b6 Update Galician translation
(cherry picked from commit 5a6a923d03)
2018-03-21 08:45:08 +00:00
Ernestas Kulik 3e3bd830b5 eel: string: fix middle truncation test cases
f42979f0b0 changed the ellipsis to a
unicode one, which is one character in length, in turn changing the
expected output.

For cases where the truncation length is zero, the expected output is
changed to NULL, as 536505728e added an
assertion.
2018-03-21 10:05:45 +02:00
Ernestas Kulik a01652064a CI: simplify running build commands
Thanks to Christian for pointing out `flatpak build` use in Builder.
2018-03-21 07:53:47 +02:00
gogo 24e2adb534 Update Croatian translation
(cherry picked from commit e0cfcef44f)
2018-03-20 21:57:10 +00:00
Balázs Meskó 4a1d15900c Update Hungarian translation
(cherry picked from commit 7e17250ef9)
2018-03-20 18:55:48 +00:00
Christian Kirbach d0938ba836 Update German translation
(cherry picked from commit abbb6776a9)
2018-03-20 17:48:14 +00:00
Cheng-Chia Tseng 8feba496a1 Update Chinese (Taiwan) translation
(cherry picked from commit 4f88733ed2)
2018-03-20 16:17:00 +00:00
Cheng-Chia Tseng 08bd133fb0 Update Chinese (Taiwan) translation
(cherry picked from commit 2713ad8261)
2018-03-20 15:57:24 +00:00
António Fernandes 208fef6b59 Merge branch 'list-view-row-expanded-typo' into 'master'
list-view: Fix "row expanded" typo

See merge request GNOME/nautilus!158
2018-03-20 14:29:07 +00:00
Alexandru Fazakas 99fa9e298b list-view: Fix "row expanded" typo
The text was supposed to be "row expanded", but was missing
an 'n' and 'uri' should be capitalized.
2018-03-20 15:21:57 +02:00
Milo Casagrande 70e3e34f36 Update Italian translation
(cherry picked from commit fce335f216)
2018-03-20 08:56:23 +00:00
Carlos Soriano 2d2bd8ea98 CI: Fedora Rawhide: Fix before_script 2018-03-19 23:06:54 +00:00
Carlos Soriano bc0aaf5191 CI: Fedora Rawhide: Remove coverage for now
We want that as part of the Flatpak build.
2018-03-19 21:56:41 +00:00
Aurimas Černius a338e32fdb Updated Lithuanian translation 2018-03-19 22:45:15 +02:00
Carlos Soriano a5527754b1 Merge branch 'issue-templates' into 'master'
Add issue templates

See merge request GNOME/nautilus!135
2018-03-19 19:46:52 +00:00
Carlos Soriano b1ce8a0843 Issues template: Improve wording and provide only unstable Flatpak
Until we have a repo with the stable one.
2018-03-19 20:17:05 +01:00
Ernestas Kulik 305eef817c Add issue templates
This commit adds issue templates for use in GitLab to hopefully improve
the quality of bug reports and feature requests that come in.
2018-03-19 19:52:23 +01:00
Ernestas Kulik 23fb641b3e Fix submodule funkiness 2018-03-19 20:48:31 +02:00
Ernestas Kulik fb4ebc0c25 Merge branch 'AlexFazakas/include-guards-for-pragma-once' into 'master'
Replace include guards with pragma once functionality

Closes #294

See merge request GNOME/nautilus!141
2018-03-19 18:03:11 +00:00
Marek Cernocky 089801d503 Updated Czech translation 2018-03-19 18:58:45 +01:00
Marek Cernocky 0a7cd53e1a Updated Czech translation 2018-03-19 18:57:37 +01:00
Anders Jonsson 3f0cf5174c Update Swedish translation
(cherry picked from commit c5bc9f92d0)
2018-03-19 16:24:49 +00:00
Piotr Drąg 1e0eab0e13 Update Polish translation 2018-03-19 17:07:32 +01:00
Piotr Drąg be9d9f7916 Update POTFILES.in 2018-03-19 17:02:37 +01:00
Carlos Soriano 971e787e64 Merge branch 'window-slot-null-view' into 'master'
Don’t search without a set-up view

See merge request GNOME/nautilus!153
2018-03-19 15:35:40 +00:00
Carlos Soriano f9d5630e55 CI: Flatpak: Add runtime url, so it installs the runtime if required 2018-03-19 15:30:38 +00:00
Alexandru Fazakas aa7cfcf01c eel: self-checks: Fix misaligned arguments
A couple of arguments were misaligned, so we placed
them properly.
2018-03-19 14:49:44 +02:00
Alexandru Fazakas 95ecfc8ea0 general: Remove include guards in favor of pragma once
The traditional include guards are not as easy to handle
and require extra thought into the names.

Pragma once is an easier, more contributor friendly approach.

Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294

general: Remove include guards in favor of pragma once

The traditional include guards are not as easy to handle
and require extra thought into the names.

Pragma once is an easier, more contributor friendly approach.

Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294
2018-03-19 14:43:38 +02:00
Ernestas Kulik b1be1fc680 meson.build: use project version instead of hardcoding it
This will make it one less thing to change when branching.
2018-03-19 14:17:22 +02:00
Ernestas Kulik fc5d9cbcbc Flatpak: Don’t rename the manifest
We can have non-matching ID and file name, and we only keep one
manifest.
2018-03-19 14:17:11 +02:00
Carlos Soriano 982e508423 CI: Flapak: Add comment about keeping in sync with the manifest 2018-03-19 12:04:26 +00:00
Ernestas Kulik b85eb89891 meson.build: Always try to append revision to version
The code falls back to a controlled string, so tarballs builds don’t
ruin everything.
2018-03-19 13:22:04 +02:00
Carlos Soriano a345517222 CI: Flatpak: Remove spurious new line 2018-03-19 08:38:28 +00:00
Carlos Soriano 43f34d7efd CI: Flatpak: Fix typo 2018-03-19 08:35:07 +00:00
Carlos Soriano 7324e2440d Merge branch 'flatpak-master' into 'master'
Flatpak gnome nightly and artifact fix

See merge request GNOME/nautilus!154
2018-03-19 08:27:47 +00:00
Jordan Petridis 77417cf0a5
gitlabci: Use single artifacts block.
Workaround for https://gitlab.com/gitlab-org/gitlab-ce/issues/34954
2018-03-19 10:19:43 +02:00
Jordan Petridis 153ee62edb
flatpak: switch to using gnome-nightly 2018-03-19 09:51:30 +02:00
Ernestas Kulik 80dea23a92 window: Unset active slot when closing window
While not strictly necessary, it might prevent the cornerest of corner
cases regarding actions in window slots.
2018-03-19 08:42:25 +02:00
Ernestas Kulik fddcda2d96 window-slot: Don’t show query editor with no view
Since the view can be null at the time the user is pressing keys, doing
anything with it may lead to a crash.
2018-03-19 08:42:25 +02:00
Ernestas Kulik a5dc2cc501 query-editor: Return if location unset when creating query
Since the location of the query editor is nullable, we cannot rely on it
having a value. An example of such situation is triggering a search
while the window slot has no view set and, therefore, no location, which
can happen when opening remote locations.
2018-03-19 08:42:25 +02:00
Ernestas Kulik 5548a19921 query-editor: Document public functions in header
So it’s a bit clearer how the return values or parameters should be
managed.
2018-03-19 08:42:25 +02:00
Ernestas Kulik bcfd90bb59 query-editor: Reindent header 2018-03-19 08:42:25 +02:00
Ernestas Kulik 56fca41d16 query-editor: Remove unneeded stuff
The nautilus-window-slot.h include isn’t useful for anything and the
_get_type() declaration is redundant.
2018-03-19 08:42:25 +02:00
Carlos Soriano fec5754f6b Merge branch 'test-instance' into 'master'
Allow running in a standalone instance

See merge request GNOME/nautilus!144
2018-03-18 20:51:32 +00:00