Commit graph

19437 commits

Author SHA1 Message Date
Carlos Soriano 721184d135 Revert "general: move the Nautilus icon to the source tree"
This reverts commit eff30bcf53.
2016-08-18 22:24:52 +02:00
Carlos Soriano eff30bcf53 general: move the Nautilus icon to the source tree
Instead of using a themed icon.
This is necessary for flatpak Nautilus properly.
2016-08-18 22:20:30 +02:00
Mathieu Bridon dcb8254796 Lower the minimum gettext version
We don't have such a recent gettext in the SDK.

https://bugzilla.gnome.org/show_bug.cgi?id=769988
2016-08-17 20:26:11 +03:00
Marek Černocký a71957fc82 Updated Czech translation 2016-08-17 18:09:24 +02:00
Daniel Mustieles 7d4e886185 Updated Spanish translation 2016-08-16 12:30:01 +02:00
Dušan Kazik cfcf47f712 Updated Slovak translation 2016-08-16 06:45:29 +00:00
David King 61179b9ed8 Update British English translation 2016-08-15 21:44:46 +02:00
David King d1e6260997 Update British English translation 2016-08-15 21:34:04 +02:00
David King e99c163955 Cancelled should be spelled canceled in C locale 2016-08-15 18:05:45 +02:00
Daniel Mustieles 73c7b624a4 Updated Spanish translation 2016-08-15 10:22:00 +02:00
Ernestas Kulik d316950258 bookmark-list: null-initialize error pointer
A GError pointer was not being null-initialized, which can result in
crashes. This commit fixes that.

https://bugzilla.gnome.org/show_bug.cgi?id=768175
2016-08-13 11:26:51 +03:00
Gustavo Marques 7f2c4800fb Updated Brazilian Portuguese translation 2016-08-10 17:18:09 +00:00
Ernestas Kulik 0f6ff853fc nautilus.css: fix opaque desktop window after theme change
The background of the window paned is not set to be transparent, which
may cause it to become opaque when changing themes. This commit sets its
background color in the style sheet.

https://bugzilla.gnome.org/show_bug.cgi?id=765687
2016-08-08 11:39:43 +03:00
Yosef Or Boczko 2c43aa6452 Updated Hebrew translation 2016-08-07 17:28:24 +03:00
Ernestas Kulik e3025d46e3 file-undo-operations: use ABS macro instead of abs()
trash_retrieve_files_to_restore_thread() calls abs() with an argument of
type long, whereas abs() accepts ints. This commit fixes that by
replacing the call with the ABS macro, which is type-agnostic.

https://bugzilla.gnome.org/show_bug.cgi?id=769526
2016-08-05 13:01:42 +03:00
Ernestas Kulik d2bf6f76a0 shell-search-provider: fix incompatible pointer assignment
In execute_search(), there is a pointer assignment of incompatible type.
This commit fixes that by adjusting the variable type.

https://bugzilla.gnome.org/show_bug.cgi?id=769526
2016-08-05 13:01:42 +03:00
Ernestas Kulik 2c7620a732 Clean up dead assigments
A static analyzer revealed a number of dead assignments, which
have a negative effect on readability. This commit removes them.

https://bugzilla.gnome.org/show_bug.cgi?id=769526
2016-08-05 13:01:42 +03:00
Dušan Kazik 67073834c9 Updated Slovak translation 2016-08-04 08:28:23 +00:00
Aurimas Černius c571388255 Updated Lithuanian translation 2016-08-03 21:49:33 +03:00
Daniel Mustieles a5e8a035ec Updated Spanish translation 2016-08-03 12:05:42 +00:00
Piotr Drąg 795fe838df Add translator comments to .desktop files 2016-08-03 12:35:46 +02:00
Piotr Drąg 6ed9c30768 Set USE_MSGCTXT to yes in po/Makevars
Nautilus uses msgctxt.
2016-08-03 12:23:57 +02:00
Ernestas Kulik fc2139c117 Port from intltool
gettext has been continuously improving, up to a point where intltool
can be deprecated in favor of it. This commit ports the project files to
use upstream gettext.

https://bugzilla.gnome.org/show_bug.cgi?id=769362
2016-08-03 10:42:40 +03:00
Franco Della-Monica c76cace9e6 Updated German translation 2016-08-02 20:17:55 +00:00
Daniel Mustieles 9c38cb21da Updated Spanish translation 2016-08-02 16:53:26 +02:00
Andrea Azzarone 315a55df33 desktop-canvas-view: scale desktop workarea
The problem is that in the function canvas_container_set_workarea the screen width
and height are in "application pixels" while the workarea ones are in "device
pixels" so when the scaling is > 1, the margins are not properly setted.

We need to scale-down the workarea geometries to "application pixels".

https://bugzilla.gnome.org/show_bug.cgi?id=769302
2016-08-01 18:00:08 +01:00
Ernestas Kulik da85fcebae Port from gnome-common
gnome-common has been deprecated for quite some time now and using
upstream autoconf-archive macros is now recommended. This commit makes
changes to the project files as per the GNOME migration guide.

https://bugzilla.gnome.org/show_bug.cgi?id=769362
2016-08-01 16:57:24 +03:00
Razvan Chitu e9fe639b20 file-undo-operations: use queue for storing sources and destinations
When copying, moving or linking files, original sources and their destinations
are stored in an information structure used for undoing the operation. The
sources and destinations were appended at the end of a list. Due to append
taking linear time, these file operations would have a resulting quadratic
complexity depending on the number of files. When operating on thousands of
files, this would lead to a significant decrease in speed. In order to fix
this, the sources and destinations are stored in a queue that allows appending
in constant time.

https://bugzilla.gnome.org/show_bug.cgi?id=757747
2016-07-28 14:39:23 +02:00
Carlos Soriano 2668164c6c shell-search-provider: make search recursive
We lost the recursivity on the shell search with the search rework.
We need to explicitly set recursivity on the simple provider now.

https://bugzilla.gnome.org/show_bug.cgi?id=766174
2016-07-28 14:24:14 +02:00
Ernestas Kulik 26988024ac files-view: unref directory after calling _get_by_uri()
update_scripts_menu() and update_templates_menu() do not unref the
directories after calling nautilus_directory_get_by_uri(), which results
in leaks. This commit fixes that by adding calls to
nautilus_directory_unref().

https://bugzilla.gnome.org/show_bug.cgi?id=769182
2016-07-28 11:01:29 +03:00
Ernestas Kulik bcf88a7a34 file-undo-manager: initialize singleton explicitly
The current implementation leaks the NautilusFileUndoManager instance,
because the code does not unref it anywhere. This commit adds a _new()
function to the undo manager and makes NautilusApplication manage its
lifetime.

https://bugzilla.gnome.org/show_bug.cgi?id=769082
2016-07-25 15:21:05 +03:00
Ernestas Kulik 6064bdcfe5 application: clear icon caches on shutdown
Currently, the icon info caches are cleared in quit_mainloop(), which
does not get invoked as of GLib 2.32, thus resulting in NautilusIconInfo
leaks. This commit moves the cache clearing call to shutdown().

https://bugzilla.gnome.org/show_bug.cgi?id=769134
2016-07-25 15:20:54 +03:00
Piotr Drąg c3f0cc8b8c Add Language headers to po files
Future versions of gettext will fail if this header is missing.
2016-07-24 22:29:36 +02:00
Aurimas Černius 0ef6722097 Updated Lithuanian translation 2016-07-24 17:16:09 +03:00
Fabio Tomat daca2416e9 Updated Friulian translation 2016-07-23 15:13:35 +00:00
Ernestas Kulik 30dd00df4b query-editor: unref file in update_information_label()
window-slot binds with query-editor via a property, which results in
nautilus_query_editor_set_location() being called on construction and
location changes. That function in turn calls
update_information_label(), which takes a ref on the file, but does not
release it. This can result in a crash with remote bookmarks when
connecting/disconnecting or switching back and forth.

This commit fixes that by adding an unref to update_information_label().

https://bugzilla.gnome.org/show_bug.cgi?id=768987
2016-07-21 11:49:38 +03:00
Fabio Tomat e37f8fe0c2 Updated Friulian translation 2016-07-18 21:37:01 +00:00
Fabio Tomat 8285694fac Updated Friulian translation 2016-07-18 20:53:19 +00:00
Daniel Mustieles 579ccd6512 Updated Spanish translation 2016-07-18 16:48:51 +02:00
Ernestas Kulik d2f98e2fe0 pathbar: fix underallocations
Starting with GTK+ 3.21, Nautilus is constantly reporting
underallocations happening in the path bar. That is chiefly caused by
some assumptions made in the code (i.e. both slider buttons are of the
same width, which is untrue, due to the “linked” style class).

This commit corrects those assumptions by using widths of both slider
buttons in allocation calculations.

https://bugzilla.gnome.org/show_bug.cgi?id=768916
2016-07-18 13:18:15 +03:00
Ernestas Kulik 64de32cad1 directory: fix nautilus_directory_is_local()
g_file_is_native() should be enough to decide whether the file is local.
Checking if g_file_get_path() returns a native path lets us know if the
directory is possibly made available by use of FUSE and there is
nautilus_directory_is_local_or_fuse() for that.

https://bugzilla.gnome.org/show_bug.cgi?id=768733
2016-07-18 13:12:35 +03:00
Carlos Soriano 6434e7c4c0 file-operations: fix apply to all in conflict dialog
The condition when cancelling the dialog was always true, and therefore
always setting the apply_to_all.

It was harmless due to the dialog being canceled anyway.

Thanks to Michael McConville to create the original patch.
2016-07-18 10:58:54 +02:00
Jordi Mas 8b9a033ca6 Fixes to Catalan translation 2016-07-16 08:58:31 +02:00
Chao-Hsiung Liao b04ead5916 Updated Chinese (Taiwan) translation 2016-07-16 02:40:19 +00:00
Fabio Tomat 60228acb7d Updated Friulian translation 2016-07-15 20:50:51 +00:00
Ernestas Kulik 87bfaa4997 configure.ac: bump required GLib version to 2.49.1
The build fails on systems with GLib versions older than 2.49.1. That is
due to changes in GtkPlacesView, which require new symbols. This commit
bumps the version requirement in configure.ac to inform the user during
the configure phase.
2016-07-14 12:04:48 +03:00
Carlos Soriano e66d3ca6d7 nautilus-floating-bar: hide on hover
Due to the floating bar being in an overlay, it can obscure the content
under it.

We were planning to remove it and use an action bar. But it's taking
long, so in the meantime we can improve this situations hiding the
floating bar when hovered.

On the way I improved the handling of the spinner, which was failing
to be shown on certain situations.

Patch based on Nelson Benitez, thanks!

https://bugzilla.gnome.org/show_bug.cgi?id=651293
2016-07-13 11:22:49 +02:00
Ernestas Kulik f0a16b15f2 Update git.mk
The currently used revision doesn't generate .gitignores that ignore
object files from all subdirectories. This is fixed in the newer
revisions.

https://bugzilla.gnome.org/show_bug.cgi?id=768724
2016-07-12 14:33:19 +03:00
Razvan Chitu 25f4baffb4 places-view: fetch updates from gtk+ repo
https://bugzilla.gnome.org/show_bug.cgi?id=768657
2016-07-12 13:16:57 +03:00
Fabio Tomat 410e511581 Updated Friulian translation 2016-07-12 03:11:14 +00:00