Commit graph

19314 commits

Author SHA1 Message Date
Piotr Drąg
8335cb0c0a Updated Polish translation 2016-08-22 17:58:37 +02:00
Alberts Muktupāvels
6162d19447 nautilus-desktop: initialize composited to TRUE
nautilus_desktop_window_composited_changed function will do nothing
if we use initial value from GdkScreen because of early return:
  if (window->details->composited == composited)
    return;

Change back initial value to TRUE to make sure that background will
be setup if screen is not composited.

https://bugzilla.gnome.org/show_bug.cgi?id=769360
2016-08-22 16:54:16 +03:00
Andika Triwidada
f77669b144 Updated Indonesian translation 2016-08-22 11:28:11 +00:00
Ernestas Kulik
d033e12a27 file-operations: rename calls to transfer_file_add_to_count
The function was renamed without renaming the calls to it.

https://bugzilla.gnome.org/show_bug.cgi?id=769383
2016-08-22 11:50:14 +03:00
Ernestas Kulik
3f97d75e06 file-operations: update progress on skip
Currently, the transfer info of an operation is only modified if it is
successful, resulting in a confusing reflection in the UI. Treating
skipped operations as completed and displaying them as such feels more
natural, as they are technically completed (i.e. nothing has been done).
This commit changes the behavior as such.

https://bugzilla.gnome.org/show_bug.cgi?id=769383
2016-08-22 11:19:06 +03:00
Flo H
fe7d1c6f1d Updated German translation 2016-08-21 19:20:52 +00:00
Ernestas Kulik
374718f38e file-operations: fix duplication status string
There are a couple of problems with the status string during file
duplication:
  1. The status string is constructed by calling ngettext()
  with the index of the file plus one.
  2. nautilus_progress_info_take_status() is called with the total count
  of files plus one.

These two combined result in funky status strings (e.g. “duplicating 3
file in X”).

This commit fixes both of those problems.

https://bugzilla.gnome.org/show_bug.cgi?id=769997
2016-08-21 19:44:45 +03:00
Ernestas Kulik
672ccbc4db files-view: use GFile utilities
set_up_scripts_directory_global() currently uses the POSIX file
interface, which is inconsistent with the rest of the code. This commit
rewrites the parts of the function to use the GFile API.

https://bugzilla.gnome.org/show_bug.cgi?id=769602
2016-08-21 19:44:35 +03:00
Ernestas Kulik
dd0539f443 files-view: free file lists after use
Some functions acquire file lists, but do not free them after use or
erroneously acquire them twice. This commit plugs the leaks.

https://bugzilla.gnome.org/show_bug.cgi?id=769808
2016-08-21 19:44:22 +03:00
Dušan Kazik
b9a0d6ee58 Updated Slovak translation 2016-08-21 16:00:39 +00:00
Marek Černocký
60be021358 Updated Czech translation 2016-08-21 10:54:07 +02:00
Jiri Grönroos
76586e8f13 Updated Finnish translation 2016-08-20 17:10:21 +00:00
Balázs Úr
2c31e8a84c Updated Hungarian translation 2016-08-20 13:10:45 +00:00
Razvan Chitu
fe0934fba8 file-operations: refactor deleting operation
Both the delete and copy operations in Nautilus deal with deleting files
recursively. Each operation has its own implementation of the same
functionality, mixed with specific logic, like error reporting through dialogs.
In order to remove duplicated code, extract delete logic to a separate function
which can be used by both operations.

Implement a function for deleting files recursively which reports errors and
success through an user provided callback.

https://bugzilla.gnome.org/show_bug.cgi?id=770109
2016-08-20 15:05:55 +03:00
Fabio Tomat
9554bfe0c9 Updated Friulian translation 2016-08-20 09:46:50 +00:00
Marek Černocký
6224db1c77 Updated Czech translation 2016-08-19 23:14:48 +02:00
Ernestas Kulik
5c352daa98 data/icons/Makefile.am: include 256x256 icon
The Automake file for icons was missing the 256x256 icon. This commit
includes it in the data file list.

https://bugzilla.gnome.org/show_bug.cgi?id=770145
2016-08-19 20:48:06 +03:00
Piotr Drąg
cd8650ecb4 Update POTFILES.in 2016-08-19 15:00:55 +02:00
Razvan Chitu
e99319019f files-view: correct method name
The method 'compute_rename_popover_relative_to' has a misleading name because it
actually computes the item that the popover will point to.

https://bugzilla.gnome.org/show_bug.cgi?id=769336
2016-08-19 15:52:16 +03:00
Razvan Chitu
fd873c5086 files-view: move file name widget logic to separate controllers
The rename file popover and the new folder dialog share common logic for
validating file names entered by the user. The control logic was implemented
with a simple structure in files-view. Besides common logic, the structure also
held parameters specific to only one of the operations. Another problem is that
the current implementation does not allow flexibility in obtaining the file name
from the widgets and displaying error messages.

In order to fix this, reimplement the structure as an abstract class and create
two subclasses for the "Rename" and "New Folder" widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=769336
2016-08-19 15:52:16 +03:00
Andika Triwidada
58f62f3318 Updated Indonesian translation 2016-08-19 12:17:45 +00:00
Ernestas Kulik
6521d0d0cd window: update copyright notice
Currently, the copyright notice includes a range of dates of which the
end year is 2014, which is not current. This commit changes the end year
to 2016.

https://bugzilla.gnome.org/show_bug.cgi?id=769917
2016-08-19 13:23:38 +03:00
Alberts Muktupāvels
e1649a3060 nautilus-desktop: draw background when screen is not composited
At least GNOME Flashback session with Metacity still can be used
without compositing manager. Since transparency is not available
nautilus currently draw black background.

Fix it by checking if compositing manager is running and if it is
not then get background surface from root window and draw it on
nautilus desktop window.

https://bugzilla.gnome.org/show_bug.cgi?id=769360
2016-08-19 12:57:06 +03:00
Dušan Kazik
ebe7ccc181 Updated Slovak translation 2016-08-19 09:28:19 +00:00
Marek Černocký
796cc1bb38 Updated Czech translation 2016-08-19 09:38:55 +02:00
Ernestas Kulik
43f2065add configure.ac: link against libgd dynamically
Automatic resource registration appears to not work properly with the
static libgd variant, which causes warnings. That can be worked around
by linking against libgd dynamically.

https://bugzilla.gnome.org/show_bug.cgi?id=770121
2016-08-19 10:04:34 +03:00
Carlos Soriano
7a9eacc0af general: move the Nautilus icon to the source tree
Instead of using a themed icon.
This is necessary for flatpak Nautilus properly.

Patch made mostly by Mathieu Bridon and help of Patrick Griffis.
Thanks a lot!
2016-08-19 00:08:46 +02:00
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