Commit graph

19981 commits

Author SHA1 Message Date
Carlos Soriano bd9ae8d0a6 flatpak: Add stable release
So we can put it in FlatHub

https://bugzilla.gnome.org/show_bug.cgi?id=782125
2017-05-03 20:26:27 +02:00
Fabio Tomat 7550472d80 Update Friulian translation 2017-05-03 05:36:53 +00:00
Alexandru Pandelea c68efe281b window-slot: fix activate on search entry
The issue is that when pressing enter in search while the search entry
has the focus, right after the callback to activate the selection is
called, Nautilus also tries to activate the location corresponding to
the base of the search, as the view is still searching.

This occurs because in the activated signal the search is set as not
visible manually, which will make Nautilus check immediatly if it should
go back to the base of the search location, without waiting for the view
to update.

To fix this, don't set the search as not visible in the activated callback,
as when the search-mode-enabled property changes, if necessarry, the
cancel signal will be emitted which will set the search as not visible,
which will happen only after the view is updated. This is the behavior for
activating the selection in other ways, so activation with focus on the
entry should behave the same.

https://bugzilla.gnome.org/show_bug.cgi?id=764981
2017-05-02 21:35:45 +03:00
Evgeny Shulgin 941b3fe16e file-conflict-dialog: confirm filename change with return key
The problem is that when we have a file conflict dialog, we can write
a new name for the file in GtkEntry in the expander "Select a new
name for the destination", but after typing in a new file name,
pressing <ENTER> does nothing, but should close this dialog and
confirm the renaming.

To fix this we enable "activates-default" flag for the GtkEntry.

https://bugzilla.gnome.org/show_bug.cgi?id=780449
2017-05-02 21:20:34 +03:00
Carlos Soriano 53928d7f46 postinstall: Use python
Instead of shell scripts, much better to maintain.
Also, the new python script has better handling of non existing paths.
2017-05-02 19:50:54 +02:00
Evgeny Shulgin e9f56f411c list-view: Replaced deprecated gtk_menu_popup_for_device()
When using Wayland the menu for selecting the visible columns (right
clicking on the column headers in the list view) can be misplaced when
using two monitors because src/nautilus-list-view.c still uses the
deprecated gtk_menu_popup_for_device() instead of the new
gtk_menu_popup_at_pointer().

https://bugzilla.gnome.org/show_bug.cgi?id=781073
2017-05-02 18:26:18 +03:00
Mohammed Sadiq cfee568ffb files-view: Fix memory leak
nautilus_file_get_mime_type() returns a newly
allocated string, which should be freed when no longer
required.

using g_autofree() automatically frees the string fixing the leak

https://bugzilla.gnome.org/show_bug.cgi?id=782070
2017-05-02 18:05:08 +03:00
gogo 663bd62ee5 Update Croatian translation 2017-04-29 22:45:39 +00:00
Jeremy Bicha 9a0c5cdf12 autostart: Set NoDisplay=true
This hides the autostart from Ubuntu's Startup Applications
app since we don't want users to easily disable this without
understanding why it's there.

https://bugzilla.gnome.org/show_bug.cgi?id=781874
2017-04-28 08:16:08 -04:00
Ernestas Kulik 55d17ec481 make_release.sh: fix post-Autotools breakage
The script broke after killing off Autotools support, since the libgd
submodule was moved to /subprojects/libgd. Additionally, this commit
makes the script exit on error and makes xz print verbose output.

https://bugzilla.gnome.org/show_bug.cgi?id=781892
2017-04-28 14:09:16 +03:00
Carlos Soriano ed07b5de52 release: Prepare for 3.25.1 2017-04-28 11:46:55 +02:00
Piotr Drąg d32d1f506a Update po/Makevars
This is not a GNU package and the Free Software Foundation has no copyright
over it. Also adds MSGID_BUGS_ADDRESS.
2017-04-27 17:34:41 +02:00
Kukuh Syafaat 1d103c4e42 Update Indonesian translation 2017-04-26 02:08:13 +00:00
Ondrej Holy c6f6f07f72 file: Set activation URI for certain files only
Drag&drop of native Google Drive files doesn't work correctly, because
target path is used, which causes requests for HTTP backend and fails.
The activation URI is used for drag&drop since commit 1d1488c. Recently,
this behavior has been disabled for trash locations by commit bc22321.
This behavior seems to make sense for recent locations in order to allow
dropping in applications, which are not based on GLib/GIO. It also makes
sense for afpbrowse, dnssd, network, and smbbrowse backends when mounting
and bookmarking. Let's set the activation URI only for the mentioned.
This change should not affect nautilus links (i.e. desktop files and
symlinks), which are handled by different codepath, it should affect
only certain GVfs backends.

https://bugzilla.gnome.org/show_bug.cgi?id=768168
2017-04-25 12:30:47 +02:00
Ernestas Kulik 9948131521 meson: delegate submodule initialization to Meson
As of 0.40.0, Meson has the ability to initialize subprojects that are
git submodules. This removes the need for a separate script to achieve
that.

https://bugzilla.gnome.org/show_bug.cgi?id=781653
2017-04-25 11:22:41 +03:00
Fabio Tomat 0e09283ba0 Update Friulian translation 2017-04-23 15:41:14 +00:00
Fabio Tomat 27cff4ecf3 Update Friulian translation 2017-04-23 14:17:21 +00:00
Yuras Shumovich 8fba22dd89 Update Belarusian translation 2017-04-23 12:56:36 +00:00
Carlos Soriano d041aea01c file: Remove obsolete test
A comment from Alex said in there it was obsolete, and seems at some
point we reactivated it.
2017-04-22 23:15:14 +02:00
Carlos Soriano 7e4d73d682 gtkplacesview: Update to last code 2017-04-22 21:58:19 +02:00
Carlos Soriano 065584a761 gtk-code-generator: Pull from 3.22 branch
We were pulling from gtk4 branch which will make the code to not work.
2017-04-22 20:10:47 +02:00
Carlos Soriano 3c0a0a5084 gtkplacesview: update to latest code 2017-04-22 11:58:40 +02:00
Carlos Soriano c0f1f3b511 ui-utilities: Fix menu merge when prepending
We were prepending the items but in regular order, instead of inverse
to preserve the order.

To fix it the patch invert the order of the items when prepending.

https://bugzilla.gnome.org/show_bug.cgi?id=774724
2017-04-21 11:00:07 +02:00
Kevin Lopez 7821ab02ba progress-info: port away from manual decls
This patch reduces the number of macros used to define the type,
by means of the macro G_DECLARE*, and improves the readability of code.

https://bugzilla.gnome.org/show_bug.cgi?id=778139
2017-04-18 11:15:34 +03:00
Jordi Mas 0dd41ead0a Update Catalan translation 2017-04-17 16:21:02 +02:00
Carlos Soriano d1377959e2 Revert "README: Remove the mailing list"
This reverts commit cee6a434f6.

Was obviously an accident
2017-04-13 11:33:38 +02:00
Carlos Soriano 9128656683 org.gnome.Nautilus.json: Use standard JSON format
There are no C comments in the JSON standard, remove them.
2017-04-13 11:30:23 +02:00
Carlos Soriano cee6a434f6 README: Remove the mailing list
Currently we support the mailing list as a way to communicate with the
developers.

However mailing lists are not used as much as they were used years ago,
and they became a burden to maintain in our side.

To fix this situation, remove the mailing list from the README so users
doesn't use it anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=778952
2017-04-13 10:13:08 +02:00
Georges Basile Stavracas Neto 6ce78e8dca placesview: synchronize with GTK+ 2017-04-11 16:58:56 -03:00
Georges Basile Stavracas Neto 707c408f07 project: update NautilusGtkPlacesView from master
GtkPlacesView now supports monitoring networks.
2017-04-10 20:22:04 -03:00
gogo 0dc618d091 Update Croatian translation
(cherry picked from commit 106b09ba4d)
2017-04-10 20:33:34 +00:00
Tom Tryfonidis 8f0235d07a Update Greek translation
(cherry picked from commit 6f1364ff51)
2017-04-09 10:36:58 +00:00
Ernestas Kulik 9078c2cec1 view-icon-controller: stop trying to reveal nothing
Currently, the flow view tries to reveal the selection even if it is
empty. That can result in a crash if the selection is empty.

https://bugzilla.gnome.org/show_bug.cgi?id=780732
2017-03-31 12:50:44 +03:00
Ernestas Kulik cf6aef0aad files-view: remove directory parameter from add-files callbacks
It is no longer used as of 8b26778710.

https://bugzilla.gnome.org/show_bug.cgi?id=780730
2017-03-31 12:50:40 +03:00
Tiberiu Lepadatu 0b30fe07dd notebook: make the class final
The class NautilusNotebook is not extended by any other class so it
should be made final. Use the new type declarations to do so.

https://bugzilla.gnome.org/show_bug.cgi?id=780700
2017-03-30 22:34:43 +03:00
Horia Ion 0a84cdf8c6 progress-info-manager: port away from manual decls
This patch reduces the number of macros used to define the type,
by means of the macro G_DECLARE*, and improves the readability of code.

https://bugzilla.gnome.org/show_bug.cgi?id=780697
2017-03-30 22:20:45 +03:00
Carlos Soriano e808094d48 preferences-window: Add a user preference to use the new views
For next release I hope they are good enough to be able to enable them
by user preference, and also makes easier for us to switch between them
in order to test everything is fine in both.
2017-03-30 17:43:45 +02:00
Carlos Soriano 634bc0c67a view-model: Don't remove files when adding items
A copy paste error from the set_items function.

https://bugzilla.gnome.org/show_bug.cgi?id=780380
2017-03-30 17:06:47 +02:00
Carlos Soriano 13332ea230 files-view: Reveal file in an idle for the flow view
Items are not allocated at that time yet, so it needs some time to be
able to calculate the correct allocation of the item, and therefore the
correct adjustment for the scrolled window.

https://bugzilla.gnome.org/show_bug.cgi?id=780380
2017-03-30 17:00:55 +02:00
Carlos Soriano 0e6af804e5 icon-controller: Implement reveal_selection
It was missing in the new GtkFlowBox based view.

https://bugzilla.gnome.org/show_bug.cgi?id=780380
2017-03-30 17:00:55 +02:00
Carlos Soriano 1b84e204fd files-view: Select file after "Open item location"
Until now we weren't selecting the item that was selected.
However it really helps to do that so the user can navigate after
searching. For instance this is pretty good to have for the "type-ahead"
use case.

This commit select the file after the user opens the item location
and reveals the file.

https://bugzilla.gnome.org/show_bug.cgi?id=780380
2017-03-30 17:00:55 +02:00
Carlos Soriano bf2ebecd74 list-view: Remove debug spew
Forgot to delete it after coding :(
2017-03-30 14:29:55 +02:00
Carlos Soriano 8b26778710 files-view: Remove directory parameter from add_files signal
It's not longer necessary. This patch removes it and also fixes
a compiler warning.
2017-03-30 01:18:37 +02:00
Carlos Soriano d379767851 pathbar: Remove dnd handling
So users can drag the window from the buttons of the pathbar too, as it
seems it's more important feature for them instead of dnd the path in
the pathbar, which is also quite undiscoverable.

https://bugzilla.gnome.org/show_bug.cgi?id=776663
2017-03-30 01:18:37 +02:00
Diana Grecu 54a3c21f77 progress-persistence-handler: port away from manual decls
This patch reduces the number of macros used to define the type,
by means of the macro G_DECLARE*, and improves the readability of code.

https://bugzilla.gnome.org/show_bug.cgi?id=780680
2017-03-29 17:45:22 +03:00
vyasgiridhar f30a589cff file-operations: check filespace before extracting
Currently, the extraction starts without checking
for enough filesystem space to store the extracted files.

This commit checks for filespace before the extraction takes place.

https://bugzilla.gnome.org/show_bug.cgi?id=775253
2017-03-28 12:52:59 +02:00
Kevin Lopez fe3afd5d56 nautilus-files-view: focus to newly created folder
After creating a new folder through the hamburger menu, the
keyboard focus stays on the hamburger menu button, so you
can't go to the newly created folder by simply pressing enter
again.

To solve that, we simply need focus the NautilusFilesView after
destroy the dialog, in the case where name is accepted.

https://bugzilla.gnome.org/show_bug.cgi?id=754744
2017-03-27 22:09:47 +02:00
Carlos Soriano 77e5bfbd57 Revert "extraction: check filespace before extraction"
This reverts commit 89f1113c4d.
2017-03-27 21:01:15 +02:00
Carlos Soriano 9e92f6e7ac build: Fix check_libgd
Forgot to change the path to check whether the subproject is initalized.
2017-03-27 21:00:13 +02:00
vyasgiridhar 89f1113c4d extraction: check filespace before extraction
Sometimes, the extractions starts without enough filesystem
space to store the extracted files.
This commit checks for filespace before the extraction takes place.

https://bugzilla.gnome.org/show_bug.cgi?id=775253
2017-03-27 20:56:52 +02:00