Commit graph

19437 commits

Author SHA1 Message Date
Piotr Drąg 8855704464 Updated Polish translation 2016-09-08 21:46:05 +02:00
Alexandru Pandelea 7823e5efdf batch-rename-dialog: differentiate "files" and "folders" in the title
If all renamed files are folders, then the title will be:
"Rename %d Folders"

https://bugzilla.gnome.org/show_bug.cgi?id=770974
2016-09-08 22:23:30 +03:00
Carlos Soriano d3d7cce134 configure: bump gtk version requirement
For the new scrolled window property
2016-09-08 21:18:39 +02:00
Alexandru Pandelea f686cc9219 nautilus-file: Fix segfault on undo for batch rename
In some cases, if some of the files are not renamed, for reasons like
deletion or files having the same name, the undo would fail.

The problem was that the files and names lists provided for undo also
contained info about the files for which the rename failed.

The fix was to add undo info only for files that are actually renamed
and prepare the undo only if at least a file has successfully been
renamed.

https://bugzilla.gnome.org/show_bug.cgi?id=770965
2016-09-08 22:04:38 +03:00
Ernestas Kulik 2f878b79c4 nautilus-toolbar.ui: propagate operations popover children height
Without propagating the natural height of the children of the operations
popover, it does not grow vertically.

https://bugzilla.gnome.org/show_bug.cgi?id=770778
2016-09-08 21:59:35 +03:00
Alexandru Pandelea be2dd9b8e6 batch-rename-utilities: fix query limit error
If there were too many files in batch renaming, the tracker query would
give the following error: "parser stack overflow", because the limit for
the expression tree depth was hit for the file name filter.

The fix was to use a filter that doesn't expand that much in sql.

https://bugzilla.gnome.org/show_bug.cgi?id=770586
2016-09-08 21:58:01 +03:00
Alexandru Pandelea edf815992e nautilus-file: Fix segfault on batch rename for file gone
If one or more files are deleted during a batch rename and click rename,
Nautilus would seg fault.

The problem is that in the function nautilus_file_rename_handle_file_gone
there was called a callback that was NULL. For batch renaming, there is no
need for a callback here.

https://bugzilla.gnome.org/show_bug.cgi?id=770968
2016-09-08 21:55:41 +03:00
Alexandru Pandelea 0b6a05851d eel-vfs-extensions: Update filename extensions
If a file had the extensions .tar.bz or .tar.xz, the function
eel_filename_get_extension_offset would identify only .bz or .xz as
an extension.

To fix this, .xz and .bz were added among the other special cases.

https://bugzilla.gnome.org/show_bug.cgi?id=771018
2016-09-08 21:54:20 +03:00
Alexandru Pandelea 3caf963c2c batch-rename-dialog: Use right arrow for RTL
The arrow used in the listbox should be „←” instead of „→” for RTL

https://bugzilla.gnome.org/show_bug.cgi?id=770942
2016-09-08 21:52:55 +03:00
Alexandru Pandelea 846eba57c5 batch-rename-utilities: fix unicode chars for replace
In the replace mode, for some unicode characters, the displayed label
would be incorrect.

The problem is that the second argument of g_markup_escape_text is
the number of bytes and it was used with the number of characters.

Since the strings are null terminated we can just omit this parameter
altogether and fix this as a side effect.

https://bugzilla.gnome.org/show_bug.cgi?id=770972
2016-09-08 21:51:15 +03:00
Anders Jonsson e0aedcdcc9 Updated Swedish translation 2016-09-08 18:22:18 +00:00
Ernestas Kulik e1c4119457 batch-rename-dialog: clear some task data unconditionally
destroy_conflicts_task_data() erroneously checks pointers to the mutex
and condition variables. They always evaluate to true and thus no
checking should be done in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=771071
2016-09-08 21:11:05 +03:00
Fran Dieguez 644f26bb19 Updated Galician translations 2016-09-08 11:10:51 +02:00
Fran Dieguez 42d28307a4 Updated Galician translations 2016-09-07 23:50:14 +02:00
Hannie Dumoleyn 611ea3865d Updated Dutch translation Master 2016-09-07 17:10:17 +02:00
Carlos Soriano a534f94618 batch-rename-dialog: merge the general conflict check handling
We were checking separately when a directory had different parents
than just one.
However having just one parent is a special case of having multiple
parents.
With the latest refactoring, we can merge the code now.

https://bugzilla.gnome.org/show_bug.cgi?id=770586
2016-09-07 16:10:02 +02:00
Carlos Soriano 8195468364 batch-rename-dialog: use GTask appropiately
The Gtask has to finish only when all the internal async call are ready,
doing the other way around is conceptually wrong and will cause problems
if we rely on the task for checking the status of the general operation.

For that implement a correct GTask handling, waitig with a mutex and
condition for all async calls to be ready, and only then mark the task
as finished.

https://bugzilla.gnome.org/show_bug.cgi?id=770586
2016-09-07 16:10:02 +02:00
Carlos Soriano 35ca20ce4b rename-file-popover-controller: add header 2016-09-06 15:41:06 +02:00
Carlos Soriano 1faac40b52 new-folder-dialog-controller: add header 2016-09-06 15:41:06 +02:00
Carlos Soriano 576607829f file-name-widget-controller: add header
Copyright and licence were missing
2016-09-06 15:41:06 +02:00
Carlos Soriano d4d9a3b92e compress-dialog-controller: add header
Copyright and licence was missing
2016-09-06 15:41:06 +02:00
Carlos Soriano 995fad6893 file-name-widget-controller: rerun uncrustify
https://bugzilla.gnome.org/show_bug.cgi?id=770564
2016-09-06 15:41:06 +02:00
Carlos Soriano 454616c33c file-name-widget-controller: add header
Copyright and licence was missing.
2016-09-06 15:41:06 +02:00
Carlos Soriano 24ced54ee4 general: rerun uncrustify in compress-dialog-controller
Seems the case statements adjustment are buggy in uncrustify.
Added a new line at the start of the file, reran uncrustify and it
worked. Removing the new line doesn't affect the output anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=770564
2016-09-06 15:41:06 +02:00
Carlos Soriano 0abaab1c44 general: adjust uncrustify style
https://bugzilla.gnome.org/show_bug.cgi?id=770564
2016-09-06 15:41:06 +02:00
Yosef Or Boczko cc5126487b Updated Hebrew translation 2016-09-06 14:10:51 +03:00
Alexandru Pandelea c7fb994cef batch-rename-dialog: fix search & replace for . and ..
In the replace mode, when "." or ".." were typed in the replace entry,
there would always pop up an error, saying that a file would have an
invalid name.

In this case, instead of checking the entry, the check must actually be
done to all the new names to see if any of those are equal to "." or
"..".

Since the new names are now used in this function, these have to be
obtained before.

https://bugzilla.gnome.org/show_bug.cgi?id=770870
2016-09-06 12:31:29 +03:00
Piotr Drąg 653f1079ac Updated Polish translation 2016-09-06 02:14:49 +02:00
GNOME Translation Robot c96a6211be Updated Scottish Gaelic translation 2016-09-05 14:09:43 +00:00
Bastien Nocera 9572db6f5d libgd: Update from git
This pulls in a fix for the tagged entry's CSS styling not being
available.

https://bugzilla.gnome.org/show_bug.cgi?id=770121
2016-09-05 13:31:07 +02:00
Bastien Nocera 02be448577 Revert "configure.ac: link against libgd dynamically"
This reverts commit 43f2065add. This will
be fixed another way.

https://bugzilla.gnome.org/show_bug.cgi?id=770121
2016-09-05 13:30:03 +02:00
A S Alam c8d68cb9a3 Completed Punjabi Translation 2016-09-05 05:04:25 -05:00
Ask Hjorth Larsen 1700c499c3 Updated Danish translation 2016-09-05 02:57:40 +02:00
Jordi Mas d77ca0d818 Update Catalan translation 2016-09-05 00:11:03 +02:00
Fran Dieguez 30f188ca2b Updated Galician translations 2016-09-04 23:55:58 +02:00
Marek Černocký beaefc5d4a Updated Czech translation 2016-09-04 21:47:08 +02:00
Aurimas Černius a5891dd685 Updated Lithuanian translation 2016-09-04 22:19:44 +03:00
David King c6b53edad9 Update British English translation 2016-09-04 13:54:11 +02:00
Changwoo Ryu 306600fe4b Updated Korean translation 2016-09-03 18:00:10 +00:00
Baurzhan Muftakhidinov 83230c6b7f Updated Kazakh translation 2016-09-03 17:07:00 +00:00
Jiri Grönroos 8c5edafbd0 Updated Finnish translation 2016-09-03 05:40:33 +00:00
Jiri Grönroos 8161491d5c Updated Finnish translation 2016-09-02 22:24:29 +00:00
Carlos Soriano 2b0d87548f release: regenerate tarballs with 3.21.91.1
Seems the tarball got corrupted. Regenerate them and increase micro
version so distributions can pick up the new version.
2016-09-02 21:48:15 +02:00
Alexandru Pandelea 5815ba1c8a mime-actions: Fix shift+control+down seg fault on a folder
Using this shortcut on one or more folders causes segmentation fault.

In order to solve this, if there is a directory that needs to be
activated, the NEW_WINDOW flag is set, so that the initial window will
be closed and a new one will be created. After a new window is created,
the CLOSE_BEHIND flag is disabled,so that the window will not be closed.
The flags NEW_TAB is also set there(unless we want all directories
opened in new windows), in order for new tabs to open in the newly
created window.

https://bugzilla.gnome.org/show_bug.cgi?id=755711
2016-09-02 22:05:55 +03:00
Ernestas Kulik 437f573cf5 Use templates for glib-mkenums
Currently, enum types are generated by passing command line
arguments to glib-mkenums. A better alternative to that is passing a
template file, which also declutters build files.

https://bugzilla.gnome.org/show_bug.cgi?id=770507
2016-09-01 18:02:49 +03:00
Dominique Leuenberger 2f0a9546b2 Fix compiler warning
The final return should not be reachable - but there is no way for
the compiler to know

Just return 0 as last fallback

https://bugzilla.gnome.org/show_bug.cgi?id=770652
2016-09-01 09:42:32 +02:00
Fabio Tomat 77cc6d799b Updated Friulian translation 2016-09-01 05:50:44 +00:00
Christian Kirbach b6808b2e4b Updated German translation 2016-08-31 20:40:36 +00:00
Rafael Fontenelle 531083a7d5 Updated Brazilian Portuguese translation 2016-08-31 19:11:28 +00:00
Piotr Drąg a8eb25f148 Updated Polish translation 2016-08-31 16:37:59 +02:00