File desktop-icons-19.10.2.obscpio of Package gnome-shell-extension-desktop-icons.17376
07070100000000000041ED000003E800000064000000035D9E5C1A00000000000000000000000000000000000000000000001E00000000desktop-icons-19.10.2/.gitlab07070100000001000041ED000003E800000064000000025D9E5C1A00000000000000000000000000000000000000000000002E00000000desktop-icons-19.10.2/.gitlab/issue_templates07070100000002000081A4000003E800000064000000015D9E5C1A000003A0000000000000000000000000000000000000003E00000000desktop-icons-19.10.2/.gitlab/issue_templates/I have a Bug.md📦 Version and System
------------------------------------------
<!--
🎓 Instructions for obtaining information about your system
1️⃣ Open 💻 Gnome Terminal
2️⃣ Paste these Commands into 💻 Gnome Terminal:
gnome-shell --version
nautilus --version
cat /etc/*-release
cat $HOME/.local/share/gnome-shell/extensions/desktop-icons@csoriano/metadata.json
3️⃣ Paste the Output of the Commands within the ticks below, where [here] is written
-->
```
[here]
```
Optionally, can it be reproduced with the git version in this repository?
📜 Description of the Issue
-------------------------------
🎥 Screencast or Screenshot
-------------------------------
<!--
Go to the following link for instructions how to screencast: https://help.gnome.org/users/gnome-help/stable/screen-shot-record.html.en#screencast
Alternatively an image of the result might be helpful.
-->
07070100000003000081A4000003E800000064000000015D9E5C1A00008921000000000000000000000000000000000000001E00000000desktop-icons-19.10.2/LICENSE GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Desktop Icons
Copyright (C) 2018 World / Shell extensions
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Desktop Icons Copyright (C) 2018 World / Shell extensions
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
07070100000004000081A4000003E800000064000000015D9E5C1A00000531000000000000000000000000000000000000002000000000desktop-icons-19.10.2/README.md# Desktop Icons
## What is it
A GNOME Shell extension for providing desktop icons.
## Requirements
* GNOME Shell >= 3.30
* Nautilus >= 3.30.4
* xdg-desktop-portal-gtk
## How to contribute
* Download the code
* Build with Meson (see at the next section)
* Log out & log in from your user session. Alternatively, just restart the computer.
* Activate the extension in GNOME Tweaks
## Build with Meson
The project uses a build system called [Meson](https://mesonbuild.com/). You can install
in most Linux distributions as "meson".
It's possible to read more information in the Meson docs to tweak the configuration if needed.
For a regular use and local development these are the steps to build the
project and install it:
```bash
meson --prefix=$HOME/.local/ --localedir=share/gnome-shell/extensions/desktop-icons@csoriano/locale .build
ninja -C .build install
```
It is strongly recommended to delete the destination folder
($HOME/.local/share/gnome-shell/extensions/desktop-icons@csoriano) before doing this, to ensure that no old
data is kept.
## Export extension ZIP file for extensions.gnome.org
To create a ZIP file with the extension, just run:
```bash
./export-zip.sh
```
This will create the file `desktop-icons@csoriano.zip` with the extension, following the rules for publishing
at extensions.gnome.org.07070100000005000081A4000003E800000064000000015D9E5C1A00001B2B000000000000000000000000000000000000002C00000000desktop-icons-19.10.2/createFolderDialog.js/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2019 Andrea Azzaronea <andrea.azzarone@canonical.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const { Clutter, GObject, GLib, Gio, St } = imports.gi;
const Signals = imports.signals;
const Dialog = imports.ui.dialog;
const Gettext = imports.gettext.domain('desktop-icons');
const ModalDialog = imports.ui.modalDialog;
const ShellEntry = imports.ui.shellEntry;
const Tweener = imports.ui.tweener;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const DesktopIconsUtil = Me.imports.desktopIconsUtil;
const Extension = Me.imports.extension;
const Config = imports.misc.config;
const _ = Gettext.gettext;
const DIALOG_GROW_TIME = 0.1;
const DIALOG_INIT_PROPS = { styleClass: 'create-folder-dialog' };
let CreateFolderDialogClass = class CreateFolderDialog extends ModalDialog.ModalDialog {
_init() {
super._init(DIALOG_INIT_PROPS);
this._buildLayout();
}
_buildLayout() {
let label = new St.Label({ style_class: 'create-folder-dialog-label',
text: _('New folder name') });
this.contentLayout.add(label, { x_align: St.Align.START });
this._entry = new St.Entry({ style_class: 'create-folder-dialog-entry',
can_focus: true });
this._entry.clutter_text.connect('activate', this._onEntryActivate.bind(this));
this._entry.clutter_text.connect('text-changed', this._onTextChanged.bind(this));
ShellEntry.addContextMenu(this._entry);
this.contentLayout.add(this._entry);
this.setInitialKeyFocus(this._entry);
this._errorBox = new St.BoxLayout({ style_class: 'create-folder-dialog-error-box',
visible: false });
this.contentLayout.add(this._errorBox, { expand: true });
this._errorMessage = new St.Label({ style_class: 'create-folder-dialog-error-label' });
this._errorMessage.clutter_text.line_wrap = true;
this._errorBox.add(this._errorMessage, { expand: true,
x_align: St.Align.START,
x_fill: false,
y_align: St.Align.MIDDLE,
y_fill: false });
this._createButton = this.addButton({ action: this._onCreateButton.bind(this),
label: _('Create') });
this.addButton({ action: this.close.bind(this),
label: _('Cancel'),
key: Clutter.Escape });
this._onTextChanged();
}
_showError(message) {
this._errorMessage.set_text(message);
if (!this._errorBox.visible) {
let [errorBoxMinHeight, errorBoxNaturalHeight] = this._errorBox.get_preferred_height(-1);
let parentActor = this._errorBox.get_parent();
Tweener.addTween(parentActor,
{ height: parentActor.height + errorBoxNaturalHeight,
time: DIALOG_GROW_TIME,
transition: 'easeOutQuad',
onComplete: () => {
parentActor.set_height(-1);
this._errorBox.show();
}
});
}
}
_hideError() {
if (this._errorBox.visible) {
let [errorBoxMinHeight, errorBoxNaturalHeight] = this._errorBox.get_preferred_height(-1);
let parentActor = this._errorBox.get_parent();
Tweener.addTween(parentActor,
{ height: parentActor.height - errorBoxNaturalHeight,
time: DIALOG_GROW_TIME,
transition: 'easeOutQuad',
onComplete: () => {
parentActor.set_height(-1);
this._errorBox.hide();
this._errorMessage.set_text('');
}
});
}
}
_onCreateButton() {
this._onEntryActivate();
}
_onEntryActivate() {
if (!this._createButton.reactive)
return;
this.emit('response', this._entry.get_text());
this.close();
}
_onTextChanged() {
let text = this._entry.get_text();
let is_valid = true;
let found_name = false;
for(let name of Extension.desktopManager.getDesktopFileNames()) {
if (name === text) {
found_name = true;
break;
}
}
if (text.trim().length == 0) {
is_valid = false;
this._hideError();
} else if (text.includes('/')) {
is_valid = false;
this._showError(_('Folder names cannot contain “/”.'));
} else if (text === '.') {
is_valid = false;
this._showError(_('A folder cannot be called “.”.'));
} else if (text === '..') {
is_valid = false;
this._showError(_('A folder cannot be called “..”.'));
} else if (text.startsWith('.')) {
this._showError(_('Folders with “.” at the beginning of their name are hidden.'));
} else if (found_name) {
this._showError(_('There is already a file or folder with that name.'));
is_valid = false;
} else {
this._hideError();
}
this._createButton.reactive = is_valid;
}
};
var CreateFolderDialog;
if (ExtensionUtils.versionCheck(['3.28', '3.30', '3.32'], Config.PACKAGE_VERSION)) {
CreateFolderDialog = class extends CreateFolderDialogClass {
constructor() {
super(DIALOG_INIT_PROPS);
this._buildLayout();
}
};
Signals.addSignalMethods(CreateFolderDialogClass.prototype);
} else {
CreateFolderDialog = GObject.registerClass({
GTypeName: 'DesktopIcons_CreateFolderDialog',
Signals: { 'response': { param_types: [GObject.TYPE_STRING] } }
}, CreateFolderDialogClass);
}
07070100000006000081ED000003E800000064000000015D9E5C1A000005C8000000000000000000000000000000000000002900000000desktop-icons-19.10.2/createThumbnail.js#!/usr/bin/gjs
/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2018 Sergio Costas <rastersoft@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const GnomeDesktop = imports.gi.GnomeDesktop;
const Gio = imports.gi.Gio;
let thumbnailFactory = GnomeDesktop.DesktopThumbnailFactory.new(GnomeDesktop.DesktopThumbnailSize.LARGE);
let file = Gio.File.new_for_path(ARGV[0]);
let fileUri = file.get_uri();
let fileInfo = file.query_info('standard::content-type,time::modified', Gio.FileQueryInfoFlags.NONE, null);
let modifiedTime = fileInfo.get_attribute_uint64('time::modified');
let thumbnailPixbuf = thumbnailFactory.generate_thumbnail(fileUri, fileInfo.get_content_type());
if (thumbnailPixbuf == null)
thumbnailFactory.create_failed_thumbnail(fileUri, modifiedTime);
else
thumbnailFactory.save_thumbnail(thumbnailPixbuf, fileUri, modifiedTime);
07070100000007000081A4000003E800000064000000015D9E5C1A00000EF8000000000000000000000000000000000000002300000000desktop-icons-19.10.2/dbusUtils.jsconst Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
var NautilusFileOperationsProxy;
var FreeDesktopFileManagerProxy;
const NautilusFileOperationsInterface = `<node>
<interface name='org.gnome.Nautilus.FileOperations'>
<method name='CopyURIs'>
<arg name='URIs' type='as' direction='in'/>
<arg name='Destination' type='s' direction='in'/>
</method>
<method name='MoveURIs'>
<arg name='URIs' type='as' direction='in'/>
<arg name='Destination' type='s' direction='in'/>
</method>
<method name='EmptyTrash'>
</method>
<method name='TrashFiles'>
<arg name='URIs' type='as' direction='in'/>
</method>
<method name='CreateFolder'>
<arg name='URI' type='s' direction='in'/>
</method>
<method name='RenameFile'>
<arg name='URI' type='s' direction='in'/>
<arg name='NewName' type='s' direction='in'/>
</method>
<method name='Undo'>
</method>
<method name='Redo'>
</method>
<property name='UndoStatus' type='i' access='read'/>
</interface>
</node>`;
const NautilusFileOperationsProxyInterface = Gio.DBusProxy.makeProxyWrapper(NautilusFileOperationsInterface);
const FreeDesktopFileManagerInterface = `<node>
<interface name='org.freedesktop.FileManager1'>
<method name='ShowItems'>
<arg name='URIs' type='as' direction='in'/>
<arg name='StartupId' type='s' direction='in'/>
</method>
<method name='ShowItemProperties'>
<arg name='URIs' type='as' direction='in'/>
<arg name='StartupId' type='s' direction='in'/>
</method>
</interface>
</node>`;
const FreeDesktopFileManagerProxyInterface = Gio.DBusProxy.makeProxyWrapper(FreeDesktopFileManagerInterface);
function init() {
NautilusFileOperationsProxy = new NautilusFileOperationsProxyInterface(
Gio.DBus.session,
'org.gnome.Nautilus',
'/org/gnome/Nautilus',
(proxy, error) => {
if (error) {
log('Error connecting to Nautilus');
}
}
);
FreeDesktopFileManagerProxy = new FreeDesktopFileManagerProxyInterface(
Gio.DBus.session,
'org.freedesktop.FileManager1',
'/org/freedesktop/FileManager1',
(proxy, error) => {
if (error) {
log('Error connecting to Nautilus');
}
}
);
}
function openFileWithOtherApplication(filePath) {
let fdList = new Gio.UnixFDList();
let channel = GLib.IOChannel.new_file(filePath, "r");
fdList.append(channel.unix_get_fd());
channel.set_close_on_unref(true);
let builder = GLib.VariantBuilder.new(GLib.VariantType.new("a{sv}"));
let options = builder.end();
let parameters = GLib.Variant.new_tuple([GLib.Variant.new_string("0"),
GLib.Variant.new_handle(0),
options]);
Gio.bus_get(Gio.BusType.SESSION, null,
(source, result) => {
let dbus_connection = Gio.bus_get_finish(result);
dbus_connection.call_with_unix_fd_list("org.freedesktop.portal.Desktop",
"/org/freedesktop/portal/desktop",
"org.freedesktop.portal.OpenURI",
"OpenFile",
parameters,
GLib.VariantType.new("o"),
Gio.DBusCallFlags.NONE,
-1,
fdList,
null,
null);
}
);
}
07070100000008000081A4000003E800000064000000015D9E5C1A000066B6000000000000000000000000000000000000002500000000desktop-icons-19.10.2/desktopGrid.js/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2017 Carlos Soriano <csoriano@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const Gtk = imports.gi.Gtk;
const Clutter = imports.gi.Clutter;
const St = imports.gi.St;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const GObject = imports.gi.GObject;
const Shell = imports.gi.Shell;
const Signals = imports.signals;
const Layout = imports.ui.layout;
const Main = imports.ui.main;
const BoxPointer = imports.ui.boxpointer;
const PopupMenu = imports.ui.popupMenu;
const GrabHelper = imports.ui.grabHelper;
const Config = imports.misc.config;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const CreateFolderDialog = Me.imports.createFolderDialog;
const Extension = Me.imports.extension;
const FileItem = Me.imports.fileItem;
const Prefs = Me.imports.prefs;
const DBusUtils = Me.imports.dbusUtils;
const DesktopIconsUtil = Me.imports.desktopIconsUtil;
const Util = imports.misc.util;
const Clipboard = St.Clipboard.get_default();
const CLIPBOARD_TYPE = St.ClipboardType.CLIPBOARD;
const Gettext = imports.gettext.domain('desktop-icons');
const _ = Gettext.gettext;
/* From NautilusFileUndoManagerState */
var UndoStatus = {
NONE: 0,
UNDO: 1,
REDO: 2,
};
var StoredCoordinates = {
PRESERVE: 0,
OVERWRITE:1,
ASSIGN:2,
};
var Placeholder = GObject.registerClass({
GTypeName: 'DesktopIcons_Placeholder',
}, class Placeholder extends St.Bin {
});
var DesktopGrid = class {
constructor(bgManager) {
this._bgManager = bgManager;
this._fileItemHandlers = new Map();
this._fileItems = [];
this.layout = new Clutter.GridLayout({
orientation: Clutter.Orientation.VERTICAL,
column_homogeneous: true,
row_homogeneous: true
});
this._actorLayout = new Clutter.BinLayout({
x_align: Clutter.BinAlignment.FIXED,
y_align: Clutter.BinAlignment.FIXED
});
this.actor = new St.Widget({
layout_manager: this._actorLayout
});
this.actor._delegate = this;
this.actor.connect('style-changed', () => {
if (this.isFirst)
Extension.desktopManager.scheduleReLayoutChildren();
});
this._grid = new St.Widget({
name: 'DesktopGrid',
layout_manager: this.layout,
reactive: true,
x_expand: true,
y_expand: true,
can_focus: true,
opacity: 255
});
this.actor.add_child(this._grid);
this._menuManager = new PopupMenu.PopupMenuManager(this.actor);
this._bgManager._container.add_child(this.actor);
this.actor.connect('destroy', () => this._onDestroy());
let monitorIndex = bgManager._monitorIndex;
this._monitorConstraint = new Layout.MonitorConstraint({
index: monitorIndex,
work_area: true
});
this.actor.add_constraint(this._monitorConstraint);
this._addDesktopBackgroundMenu();
this._bgDestroyedId = bgManager.backgroundActor.connect('destroy',
() => this._backgroundDestroyed());
this._grid.connect('button-press-event', (actor, event) => this._onPressButton(actor, event));
this._grid.connect('key-press-event', this._onKeyPress.bind(this));
this._grid.connect('allocation-changed', () => Extension.desktopManager.scheduleReLayoutChildren());
let themeNodeBase = this.actor.get_theme_node();
let themeContext = St.ThemeContext.get_for_stage(global.stage);
let themeNode = St.ThemeNode.new(themeContext, null,
themeNodeBase.get_theme(), themeNodeBase.get_element_type(),
null, "file-item", null, "fake-id {}");
this._extra_width = themeNode.get_margin(St.Side.LEFT) +
themeNode.get_margin(St.Side.RIGHT) +
themeNode.get_border_width(St.Side.LEFT) +
themeNode.get_border_width(St.Side.RIGHT) +
themeNode.get_horizontal_padding();
this._extra_height = themeNode.get_margin(St.Side.TOP) +
themeNode.get_margin(St.Side.BOTTOM) +
themeNode.get_border_width(St.Side.TOP) +
themeNode.get_border_width(St.Side.BOTTOM) +
themeNode.get_vertical_padding();
}
_onKeyPress(actor, event) {
if (global.stage.get_key_focus() != actor)
return Clutter.EVENT_PROPAGATE;
let symbol = event.get_key_symbol();
let isCtrl = (event.get_state() & Clutter.ModifierType.CONTROL_MASK) != 0;
let isShift = (event.get_state() & Clutter.ModifierType.SHIFT_MASK) != 0;
if (isCtrl && isShift && [Clutter.Z, Clutter.z].indexOf(symbol) > -1) {
this._doRedo();
return Clutter.EVENT_STOP;
}
else if (isCtrl && [Clutter.Z, Clutter.z].indexOf(symbol) > -1) {
this._doUndo();
return Clutter.EVENT_STOP;
}
else if (isCtrl && [Clutter.C, Clutter.c].indexOf(symbol) > -1) {
Extension.desktopManager.doCopy();
return Clutter.EVENT_STOP;
}
else if (isCtrl && [Clutter.X, Clutter.x].indexOf(symbol) > -1) {
Extension.desktopManager.doCut();
return Clutter.EVENT_STOP;
}
else if (isCtrl && [Clutter.V, Clutter.v].indexOf(symbol) > -1) {
this._doPaste();
return Clutter.EVENT_STOP;
}
else if (symbol == Clutter.Return) {
Extension.desktopManager.doOpen();
return Clutter.EVENT_STOP;
}
else if (symbol == Clutter.Delete) {
Extension.desktopManager.doTrash();
return Clutter.EVENT_STOP;
} else if (symbol == Clutter.F2) {
// Support renaming other grids file items.
Extension.desktopManager.doRename();
return Clutter.EVENT_STOP;
}
return Clutter.EVENT_PROPAGATE;
}
_backgroundDestroyed() {
this._bgDestroyedId = 0;
if (this._bgManager == null)
return;
if (this._bgManager._backgroundSource) {
this._bgDestroyedId = this._bgManager.backgroundActor.connect('destroy',
() => this._backgroundDestroyed());
} else {
this.actor.destroy();
}
}
_onDestroy() {
if (this._bgDestroyedId && this._bgManager.backgroundActor != null)
this._bgManager.backgroundActor.disconnect(this._bgDestroyedId);
this._bgDestroyedId = 0;
this._bgManager = null;
this._menuManager = null;
}
_onNewFolderClicked() {
let dialog = new CreateFolderDialog.CreateFolderDialog();
dialog.connect('response', (dialog, name) => {
let dir = DesktopIconsUtil.getDesktopDir().get_child(name);
DBusUtils.NautilusFileOperationsProxy.CreateFolderRemote(dir.get_uri(),
(result, error) => {
if (error)
throw new Error('Error creating new folder: ' + error.message);
}
);
});
dialog.open();
}
_parseClipboardText(text) {
if (text === null)
return [false, false, null];
let lines = text.split('\n');
let [mime, action, ...files] = lines;
if (mime != 'x-special/nautilus-clipboard')
return [false, false, null];
if (!(['copy', 'cut'].includes(action)))
return [false, false, null];
let isCut = action == 'cut';
/* Last line is empty due to the split */
if (files.length <= 1)
return [false, false, null];
/* Remove last line */
files.pop();
return [true, isCut, files];
}
_doPaste() {
Clipboard.get_text(CLIPBOARD_TYPE,
(clipboard, text) => {
let [valid, is_cut, files] = this._parseClipboardText(text);
if (!valid)
return;
let desktopDir = `${DesktopIconsUtil.getDesktopDir().get_uri()}`;
if (is_cut) {
DBusUtils.NautilusFileOperationsProxy.MoveURIsRemote(files, desktopDir,
(result, error) => {
if (error)
throw new Error('Error moving files: ' + error.message);
}
);
} else {
DBusUtils.NautilusFileOperationsProxy.CopyURIsRemote(files, desktopDir,
(result, error) => {
if (error)
throw new Error('Error copying files: ' + error.message);
}
);
}
}
);
}
_onPasteClicked() {
this._doPaste();
}
_doUndo() {
DBusUtils.NautilusFileOperationsProxy.UndoRemote(
(result, error) => {
if (error)
throw new Error('Error performing undo: ' + error.message);
}
);
}
_onUndoClicked() {
this._doUndo();
}
_doRedo() {
DBusUtils.NautilusFileOperationsProxy.RedoRemote(
(result, error) => {
if (error)
throw new Error('Error performing redo: ' + error.message);
}
);
}
_onRedoClicked() {
this._doRedo();
}
_onOpenDesktopInFilesClicked() {
Gio.AppInfo.launch_default_for_uri_async(DesktopIconsUtil.getDesktopDir().get_uri(),
null, null,
(source, result) => {
try {
Gio.AppInfo.launch_default_for_uri_finish(result);
} catch (e) {
log('Error opening Desktop in Files: ' + e.message);
}
}
);
}
_onOpenTerminalClicked() {
let desktopPath = DesktopIconsUtil.getDesktopDir().get_path();
DesktopIconsUtil.launchTerminal(desktopPath);
}
_syncUndoRedo() {
let useItemActors = !ExtensionUtils.versionCheck(['3.28', '3.30', '3.32'], Config.PACKAGE_VERSION);
let undoActor = useItemActors ? this._undoMenuItem : this._undoMenuItem.actor;
let redoActor = useItemActors ? this._redoMenuItem : this._redoMenuItem.actor;
undoActor.visible = DBusUtils.NautilusFileOperationsProxy.UndoStatus == UndoStatus.UNDO;
redoActor.visible = DBusUtils.NautilusFileOperationsProxy.UndoStatus == UndoStatus.REDO;
}
_undoStatusChanged(proxy, properties, test) {
if ('UndoStatus' in properties.deep_unpack())
this._syncUndoRedo();
}
_createDesktopBackgroundMenu() {
let menu = new PopupMenu.PopupMenu(Main.layoutManager.dummyCursor,
0, St.Side.TOP);
menu.addAction(_("New Folder"), () => this._onNewFolderClicked());
menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._pasteMenuItem = menu.addAction(_("Paste"), () => this._onPasteClicked());
this._undoMenuItem = menu.addAction(_("Undo"), () => this._onUndoClicked());
this._redoMenuItem = menu.addAction(_("Redo"), () => this._onRedoClicked());
menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
menu.addAction(_("Show Desktop in Files"), () => this._onOpenDesktopInFilesClicked());
menu.addAction(_("Open in Terminal"), () => this._onOpenTerminalClicked());
menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
menu.addSettingsAction(_("Change Background…"), 'gnome-background-panel.desktop');
menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
menu.addSettingsAction(_("Display Settings"), 'gnome-display-panel.desktop');
menu.addSettingsAction(_("Settings"), 'gnome-control-center.desktop');
menu.actor.add_style_class_name('background-menu');
Main.layoutManager.uiGroup.add_child(menu.actor);
menu.actor.hide();
menu._propertiesChangedId = DBusUtils.NautilusFileOperationsProxy.connect('g-properties-changed',
this._undoStatusChanged.bind(this));
this._syncUndoRedo();
menu.connect('destroy',
() => DBusUtils.NautilusFileOperationsProxy.disconnect(menu._propertiesChangedId));
menu.connect('open-state-changed',
(popupm, isOpen) => {
if (isOpen) {
Clipboard.get_text(CLIPBOARD_TYPE,
(clipBoard, text) => {
let [valid, is_cut, files] = this._parseClipboardText(text);
this._pasteMenuItem.setSensitive(valid);
}
);
}
}
);
this._pasteMenuItem.setSensitive(false);
return menu;
}
_openMenu(x, y) {
Main.layoutManager.setDummyCursorGeometry(x, y, 0, 0);
this.actor._desktopBackgroundMenu.open(BoxPointer.PopupAnimation.NONE);
/* Since the handler is in the press event it needs to ignore the release event
* to not immediately close the menu on release
*/
this._menuManager.ignoreRelease();
}
_addFileItemTo(fileItem, column, row, coordinatesAction) {
let placeholder = this.layout.get_child_at(column, row);
placeholder.child = fileItem.actor;
this._fileItems.push(fileItem);
let selectedId = fileItem.connect('selected', this._onFileItemSelected.bind(this));
let renameId = fileItem.connect('rename-clicked', this._onRenameClicked.bind(this));
this._fileItemHandlers.set(fileItem, [selectedId, renameId]);
/* If this file is new in the Desktop and hasn't yet
* fixed coordinates, store the new possition to ensure
* that the next time it will be shown in the same possition.
* Also store the new possition if it has been moved by the user,
* and not triggered by a screen change.
*/
if ((fileItem.savedCoordinates == null) || (coordinatesAction == StoredCoordinates.OVERWRITE)) {
let [fileX, fileY] = placeholder.get_transformed_position();
fileItem.savedCoordinates = [Math.round(fileX), Math.round(fileY)];
}
}
addFileItemCloseTo(fileItem, x, y, coordinatesAction) {
let [column, row] = this._getEmptyPlaceClosestTo(x, y, coordinatesAction);
fileItem.set_margins(this._extra_width, this._extra_height);
this._addFileItemTo(fileItem, column, row, coordinatesAction);
}
_getEmptyPlaceClosestTo(x, y, coordinatesAction) {
let maxColumns = this._getMaxColumns();
let maxRows = this._getMaxRows();
let [actorX, actorY] = this._grid.get_transformed_position();
let actorWidth = this._grid.allocation.x2 - this._grid.allocation.x1;
let actorHeight = this._grid.allocation.y2 - this._grid.allocation.y1;
let placeX = Math.round((x - actorX) * maxColumns / actorWidth);
let placeY = Math.round((y - actorY) * maxRows / actorHeight);
placeX = DesktopIconsUtil.clamp(placeX, 0, maxColumns - 1);
placeY = DesktopIconsUtil.clamp(placeY, 0, maxRows - 1);
if (this.layout.get_child_at(placeX, placeY).child == null)
return [placeX, placeY];
let found = false;
let resColumn = null;
let resRow = null;
let minDistance = Infinity;
for (let column = 0; column < maxColumns; column++) {
for (let row = 0; row < maxRows; row++) {
let placeholder = this.layout.get_child_at(column, row);
if (placeholder.child != null)
continue;
let [proposedX, proposedY] = placeholder.get_transformed_position();
if (coordinatesAction == StoredCoordinates.ASSIGN)
return [column, row];
let distance = DesktopIconsUtil.distanceBetweenPoints(proposedX, proposedY, x, y);
if (distance < minDistance) {
found = true;
minDistance = distance;
resColumn = column;
resRow = row;
}
}
}
if (!found)
throw new Error(`Not enough place at monitor ${this._bgManager._monitorIndex}`);
return [resColumn, resRow];
}
removeFileItem(fileItem) {
let index = this._fileItems.indexOf(fileItem);
if (index > -1)
this._fileItems.splice(index, 1);
else
throw new Error('Error removing children from container');
let [column, row] = this._getPosOfFileItem(fileItem);
let placeholder = this.layout.get_child_at(column, row);
placeholder.child = null;
let [selectedId, renameId] = this._fileItemHandlers.get(fileItem);
fileItem.disconnect(selectedId);
fileItem.disconnect(renameId);
this._fileItemHandlers.delete(fileItem);
}
_fillPlaceholders() {
for (let column = 0; column < this._getMaxColumns(); column++) {
for (let row = 0; row < this._getMaxRows(); row++) {
this.layout.attach(new Placeholder(), column, row, 1, 1);
}
}
}
reset() {
let tmpFileItemsCopy = this._fileItems.slice();
for (let fileItem of tmpFileItemsCopy)
this.removeFileItem(fileItem);
this._grid.remove_all_children();
this._fillPlaceholders();
}
_onStageMotion(actor, event) {
if (this._drawingRubberBand) {
let [x, y] = event.get_coords();
this._updateRubberBand(x, y);
this._selectFromRubberband(x, y);
}
return Clutter.EVENT_PROPAGATE;
}
_onPressButton(actor, event) {
let button = event.get_button();
let [x, y] = event.get_coords();
this._grid.grab_key_focus();
if (button == 1) {
let shiftPressed = !!(event.get_state() & Clutter.ModifierType.SHIFT_MASK);
let controlPressed = !!(event.get_state() & Clutter.ModifierType.CONTROL_MASK);
if (!shiftPressed && !controlPressed)
Extension.desktopManager.clearSelection();
let [gridX, gridY] = this._grid.get_transformed_position();
Extension.desktopManager.startRubberBand(x, y, gridX, gridY);
return Clutter.EVENT_STOP;
}
if (button == 3) {
this._openMenu(x, y);
return Clutter.EVENT_STOP;
}
return Clutter.EVENT_PROPAGATE;
}
_addDesktopBackgroundMenu() {
this.actor._desktopBackgroundMenu = this._createDesktopBackgroundMenu();
this._menuManager.addMenu(this.actor._desktopBackgroundMenu);
this.actor.connect('destroy', () => {
this.actor._desktopBackgroundMenu.destroy();
this.actor._desktopBackgroundMenu = null;
});
}
_getMaxColumns() {
let gridWidth = this._grid.allocation.x2 - this._grid.allocation.x1;
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
let desiredWidth = Prefs.getDesiredWidth(scaleFactor, this._extra_width);
return Math.floor(gridWidth / desiredWidth);
}
_getMaxRows() {
let gridHeight = this._grid.allocation.y2 - this._grid.allocation.y1;
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
let desiredHeight = Prefs.getDesiredHeight(scaleFactor, this._extra_height);
return Math.floor(gridHeight / desiredHeight);
}
acceptDrop(source, actor, x, y, time) {
/* Coordinates are relative to the grid, we want to transform them to
* absolute coordinates to work across monitors */
let [gridX, gridY] = this.actor.get_transformed_position();
let [absoluteX, absoluteY] = [x + gridX, y + gridY];
return Extension.desktopManager.acceptDrop(absoluteX, absoluteY);
}
_getPosOfFileItem(itemToFind) {
if (itemToFind == null)
throw new Error('Error at _getPosOfFileItem: child cannot be null');
let found = false;
let maxColumns = this._getMaxColumns();
let maxRows = this._getMaxRows();
let column = 0;
let row = 0;
for (column = 0; column < maxColumns; column++) {
for (row = 0; row < maxRows; row++) {
let item = this.layout.get_child_at(column, row);
if (item.child && item.child._delegate.file.equal(itemToFind.file)) {
found = true;
break;
}
}
if (found)
break;
}
if (!found)
throw new Error('Position of file item was not found');
return [column, row];
}
_onFileItemSelected(fileItem, keepCurrentSelection, addToSelection) {
this._grid.grab_key_focus();
}
_onRenameClicked(fileItem) {
if (fileItem.menu && fileItem.menu.isOpen) {
let id = fileItem.menu.connect('menu-closed', () => {
fileItem.menu.disconnect(id);
this.doRename(fileItem);
});
} else {
this.doRename(fileItem);
}
}
doRename(fileItem) {
let renamePopup = new RenamePopup(fileItem);
this._menuManager.addMenu(renamePopup);
this._menuManager.ignoreRelease();
renamePopup.connect('menu-closed', () => renamePopup.destroy());
renamePopup.open();
}
};
var RenamePopupMenuItem = GObject.registerClass(
class RenamePopupMenuItem extends PopupMenu.PopupBaseMenuItem {
_init(fileItem) {
super._init({
style_class: 'rename-popup-item',
reactive: false,
});
if (PopupMenu.Ornament.HIDDEN !== undefined)
this.setOrnament(PopupMenu.Ornament.HIDDEN);
else /* Support version prior 3.34.1 */
this._ornamentLabel.visible = false;
this._fileItem = fileItem;
// Entry
this._entry = new St.Entry({
hint_text: _("Enter file name…"),
x_expand: true,
width: 200,
});
this.add_child(this._entry);
this._entry.clutter_text.connect(
'notify::text', this._validate.bind(this));
this._entry.clutter_text.connect(
'activate', this._onRenameAccepted.bind(this));
// Rename button
this._button = new St.Button({
style_class: 'button',
reactive: true,
button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO,
can_focus: true,
label: _('Rename'),
});
this.add_child(this._button);
this._button.connect('clicked', this._onRenameAccepted.bind(this));
}
vfunc_map() {
this._entry.text = this._fileItem.displayName;
this._entry.clutter_text.set_selection(0, -1);
super.vfunc_map();
}
vfunc_key_focus_in() {
super.vfunc_key_focus_in();
this._entry.clutter_text.grab_key_focus();
}
_isValidFolderName() {
let newName = this._entry.text.trim();
return newName.length > 0 && newName.indexOf('/') === -1 &&
newName != this._fileItem.displayName;
}
_validate() {
this._button.reactive = this._isValidFolderName();
}
_onRenameAccepted() {
if (!this._isValidFolderName())
return;
DBusUtils.NautilusFileOperationsProxy.RenameFileRemote(
this._fileItem.file.get_uri(),
this._entry.text.trim(),
(result, error) => {
if (error)
throw new Error('Error renaming file: ' + error.message);
}
);
this.activate(Clutter.get_current_event());
}
});
var RenamePopup = class RenameFolderMenu extends PopupMenu.PopupMenu {
constructor(fileItem) {
super(fileItem.actor, 0.5, St.Side.TOP);
this.actor.add_style_class_name('rename-popup');
// We want to keep the item hovered while the menu is up
this.blockSourceEvents = true;
let menuItem = new RenamePopupMenuItem(fileItem);
this.addMenuItem(menuItem);
if (this.focusActor !== undefined) {
// Focus the text entry on menu pop-up, works starting 3.34.1
this.focusActor = menuItem;
} else {
this.connect('open-state-changed', (_menu, state) => {
if (state)
this._openId = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
delete this._openId;
menuItem.grab_key_focus()
});
else if (this._openId)
GLib.source_remove(this._openId);
});
}
// Chain our visibility and lifecycle to that of the fileItem source
this._fileItemMappedId = fileItem.actor.connect('notify::mapped', () => {
if (!fileItem.actor.mapped)
this.close();
});
fileItem.actor.connect('destroy', () => {
fileItem.actor.disconnect(this._fileItemMappedId);
this.destroy();
});
Main.uiGroup.add_actor(this.actor);
}
};
07070100000009000081A4000003E800000064000000015D9E5C1A000012A7000000000000000000000000000000000000002A00000000desktop-icons-19.10.2/desktopIconsUtil.js/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2017 Carlos Soriano <csoriano@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const Gtk = imports.gi.Gtk;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const Prefs = Me.imports.prefs;
const TERMINAL_SCHEMA = 'org.gnome.desktop.default-applications.terminal';
const EXEC_KEY = 'exec';
var DEFAULT_ATTRIBUTES = 'metadata::*,standard::*,access::*,time::modified,unix::mode';
function getDesktopDir() {
let desktopPath = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_DESKTOP);
return Gio.File.new_for_commandline_arg(desktopPath);
}
function clamp(value, min, max) {
return Math.max(Math.min(value, max), min);
};
function launchTerminal(workdir) {
let terminalSettings = new Gio.Settings({ schema_id: TERMINAL_SCHEMA });
let exec = terminalSettings.get_string(EXEC_KEY);
let argv = [exec, `--working-directory=${workdir}`];
/* The following code has been extracted from GNOME Shell's
* source code in Misc.Util.trySpawn function and modified to
* set the working directory.
*
* https://gitlab.gnome.org/GNOME/gnome-shell/blob/gnome-3-30/js/misc/util.js
*/
var success, pid;
try {
[success, pid] = GLib.spawn_async(workdir, argv, null,
GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD,
null);
} catch (err) {
/* Rewrite the error in case of ENOENT */
if (err.matches(GLib.SpawnError, GLib.SpawnError.NOENT)) {
throw new GLib.SpawnError({ code: GLib.SpawnError.NOENT,
message: _("Command not found") });
} else if (err instanceof GLib.Error) {
// The exception from gjs contains an error string like:
// Error invoking GLib.spawn_command_line_async: Failed to
// execute child process "foo" (No such file or directory)
// We are only interested in the part in the parentheses. (And
// we can't pattern match the text, since it gets localized.)
let message = err.message.replace(/.*\((.+)\)/, '$1');
throw new (err.constructor)({ code: err.code,
message: message });
} else {
throw err;
}
}
// Dummy child watch; we don't want to double-fork internally
// because then we lose the parent-child relationship, which
// can break polkit. See https://bugzilla.redhat.com//show_bug.cgi?id=819275
GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, () => {});
}
function distanceBetweenPoints(x, y, x2, y2) {
return (Math.pow(x - x2, 2) + Math.pow(y - y2, 2));
}
function getExtraFolders() {
let extraFolders = new Array();
if (Prefs.settings.get_boolean('show-home')) {
extraFolders.push([Gio.File.new_for_commandline_arg(GLib.get_home_dir()), Prefs.FileType.USER_DIRECTORY_HOME]);
}
if (Prefs.settings.get_boolean('show-trash')) {
extraFolders.push([Gio.File.new_for_uri('trash:///'), Prefs.FileType.USER_DIRECTORY_TRASH]);
}
return extraFolders;
}
function getFileExtensionOffset(filename, isDirectory) {
let offset = filename.length;
if (!isDirectory) {
let doubleExtensions = ['.gz', '.bz2', '.sit', '.Z', '.bz', '.xz'];
for (let extension of doubleExtensions) {
if (filename.endsWith(extension)) {
offset -= extension.length;
filename = filename.substring(0, offset);
break;
}
}
let lastDot = filename.lastIndexOf('.');
if (lastDot > 0)
offset = lastDot;
}
return offset;
}
function getGtkClassBackgroundColor(classname, state) {
let widget = new Gtk.WidgetPath();
widget.append_type(Gtk.Widget);
let context = new Gtk.StyleContext();
context.set_path(widget);
context.add_class(classname);
return context.get_background_color(state);
}
0707010000000A000081A4000003E800000064000000015D9E5C1A00006C7B000000000000000000000000000000000000002800000000desktop-icons-19.10.2/desktopManager.js/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2017 Carlos Soriano <csoriano@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const Gtk = imports.gi.Gtk;
const Clutter = imports.gi.Clutter;
const GObject = imports.gi.GObject;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const St = imports.gi.St;
const Mainloop = imports.mainloop;
const Meta = imports.gi.Meta;
const Animation = imports.ui.animation;
const Background = imports.ui.background;
const DND = imports.ui.dnd;
const Main = imports.ui.main;
const GrabHelper = imports.ui.grabHelper;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const Extension = Me.imports.extension;
const DesktopGrid = Me.imports.desktopGrid;
const FileItem = Me.imports.fileItem;
const Prefs = Me.imports.prefs;
const DBusUtils = Me.imports.dbusUtils;
const DesktopIconsUtil = Me.imports.desktopIconsUtil;
const Clipboard = St.Clipboard.get_default();
const CLIPBOARD_TYPE = St.ClipboardType.CLIPBOARD;
var S_IWOTH = 0x00002;
function getDpy() {
return global.screen || global.display;
}
function findMonitorIndexForPos(x, y) {
return getDpy().get_monitor_index_for_rect(new Meta.Rectangle({x, y}));
}
var DesktopManager = GObject.registerClass({
Properties: {
'writable-by-others': GObject.ParamSpec.boolean(
'writable-by-others',
'WritableByOthers',
'Whether the desktop\'s directory can be written by others (o+w unix permission)',
GObject.ParamFlags.READABLE,
false
)
}
}, class DesktopManager extends GObject.Object {
_init(params) {
super._init(params);
this._layoutChildrenId = 0;
this._deleteChildrenId = 0;
this._monitorDesktopDir = null;
this._desktopMonitorCancellable = null;
this._desktopGrids = {};
this._fileItemHandlers = new Map();
this._fileItems = new Map();
this._dragCancelled = false;
this._queryFileInfoCancellable = null;
this._unixMode = null;
this._writableByOthers = null;
this._monitorsChangedId = Main.layoutManager.connect('monitors-changed', () => this._recreateDesktopIcons());
this._rubberBand = new St.Widget({ style_class: 'rubber-band' });
this._rubberBand.hide();
Main.layoutManager._backgroundGroup.add_child(this._rubberBand);
this._grabHelper = new GrabHelper.GrabHelper(global.stage);
this._addDesktopIcons();
this._monitorDesktopFolder();
this.settingsId = Prefs.settings.connect('changed', () => this._recreateDesktopIcons());
this.gtkSettingsId = Prefs.gtkSettings.connect('changed', (obj, key) => {
if (key == 'show-hidden')
this._recreateDesktopIcons();
});
this._selection = new Set();
this._currentSelection = new Set();
this._inDrag = false;
this._dragXStart = Number.POSITIVE_INFINITY;
this._dragYStart = Number.POSITIVE_INFINITY;
}
startRubberBand(x, y) {
this._rubberBandInitialX = x;
this._rubberBandInitialY = y;
this._initRubberBandColor();
this._updateRubberBand(x, y);
this._rubberBand.show();
this._grabHelper.grab({ actor: global.stage });
Extension.lockActivitiesButton = true;
this._stageReleaseEventId = global.stage.connect('button-release-event', (actor, event) => {
this.endRubberBand();
});
this._rubberBandId = global.stage.connect('motion-event', (actor, event) => {
/* In some cases, when the user starts a rubberband selection and ends it
* (by releasing the left button) over a window instead of doing it over
* the desktop, the stage doesn't receive the "button-release" event.
* This happens currently with, at least, Dash to Dock extension, but
* it probably also happens with other applications or extensions.
* To fix this, we also end the rubberband selection if we detect mouse
* motion in the stage without the left button pressed during a
* rubberband selection.
* */
let button = event.get_state();
if (!(button & Clutter.ModifierType.BUTTON1_MASK)) {
this.endRubberBand();
return;
}
[x, y] = event.get_coords();
this._updateRubberBand(x, y);
let x0, y0, x1, y1;
if (x >= this._rubberBandInitialX) {
x0 = this._rubberBandInitialX;
x1 = x;
} else {
x1 = this._rubberBandInitialX;
x0 = x;
}
if (y >= this._rubberBandInitialY) {
y0 = this._rubberBandInitialY;
y1 = y;
} else {
y1 = this._rubberBandInitialY;
y0 = y;
}
for (let [fileUri, fileItem] of this._fileItems) {
fileItem.emit('selected', true, true,
fileItem.intersectsWith(x0, y0, x1 - x0, y1 - y0));
}
});
}
endRubberBand() {
this._rubberBand.hide();
Extension.lockActivitiesButton = false;
this._grabHelper.ungrab();
global.stage.disconnect(this._rubberBandId);
global.stage.disconnect(this._stageReleaseEventId);
this._rubberBandId = 0;
this._stageReleaseEventId = 0;
this._selection = new Set([...this._selection, ...this._currentSelection]);
this._currentSelection.clear();
}
_updateRubberBand(currentX, currentY) {
let x = this._rubberBandInitialX < currentX ? this._rubberBandInitialX
: currentX;
let y = this._rubberBandInitialY < currentY ? this._rubberBandInitialY
: currentY;
let width = Math.abs(this._rubberBandInitialX - currentX);
let height = Math.abs(this._rubberBandInitialY - currentY);
/* TODO: Convert to gobject.set for 3.30 */
this._rubberBand.set_position(x, y);
this._rubberBand.set_size(width, height);
}
_recreateDesktopIcons() {
this._destroyDesktopIcons();
this._addDesktopIcons();
}
_addDesktopIcons() {
let first_element = true;
forEachBackgroundManager(bgManager => {
let newGrid = new DesktopGrid.DesktopGrid(bgManager);
newGrid.actor.connect('destroy', (actor) => {
// if a grid loses its actor, remove it from the grid list
for (let grid in this._desktopGrids)
if (this._desktopGrids[grid].actor == actor) {
delete this._desktopGrids[grid];
break;
}
});
newGrid.isFirst = first_element;
first_element = false;
this._desktopGrids[bgManager._monitorIndex] = newGrid;
});
this._scanFiles();
}
_destroyDesktopIcons() {
Object.values(this._desktopGrids).forEach(grid => grid.actor.destroy());
this._desktopGrids = {};
}
/**
* Initialize rubberband color from the GTK rubberband class
* */
_initRubberBandColor() {
let rgba = DesktopIconsUtil.getGtkClassBackgroundColor('rubberband', Gtk.StateFlags.NORMAL);
let background_color =
'rgba(' + rgba.red * 255 + ', ' + rgba.green * 255 + ', ' + rgba.blue * 255 + ', 0.4)';
this._rubberBand.set_style('background-color: ' + background_color);
}
async _scanFiles() {
for (let [fileItem, id] of this._fileItemHandlers)
fileItem.disconnect(id);
this._fileItemHandlers = new Map();
if (!this._unixMode) {
let desktopDir = DesktopIconsUtil.getDesktopDir();
let fileInfo = desktopDir.query_info(Gio.FILE_ATTRIBUTE_UNIX_MODE,
Gio.FileQueryInfoFlags.NONE,
null);
this._unixMode = fileInfo.get_attribute_uint32(Gio.FILE_ATTRIBUTE_UNIX_MODE);
this._setWritableByOthers((this._unixMode & S_IWOTH) != 0);
}
try {
let tmpFileItems = new Map();
for (let [file, info, extra] of await this._enumerateDesktop()) {
let fileItem = new FileItem.FileItem(file, info, extra);
tmpFileItems.set(fileItem.file.get_uri(), fileItem);
let id = fileItem.connect('selected',
this._onFileItemSelected.bind(this));
this._fileItemHandlers.set(fileItem, id);
}
this._fileItems = tmpFileItems;
} catch (e) {
if (!e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
log(`Error loading desktop files ${e.message}`);
return;
}
this.scheduleReLayoutChildren();
}
getDesktopFileNames () {
let fileList = [];
for (let [uri, item] of this._fileItems) {
fileList.push(item.fileName);
}
return fileList;
}
_enumerateDesktop() {
return new Promise((resolve, reject) => {
if (this._desktopEnumerateCancellable)
this._desktopEnumerateCancellable.cancel();
this._desktopEnumerateCancellable = new Gio.Cancellable();
let desktopDir = DesktopIconsUtil.getDesktopDir();
desktopDir.enumerate_children_async(DesktopIconsUtil.DEFAULT_ATTRIBUTES,
Gio.FileQueryInfoFlags.NONE,
GLib.PRIORITY_DEFAULT,
this._desktopEnumerateCancellable,
(source, result) => {
try {
let fileEnum = source.enumerate_children_finish(result);
let resultGenerator = function *() {
let info;
for (let [newFolder, extras] of DesktopIconsUtil.getExtraFolders()) {
yield [newFolder, newFolder.query_info(DesktopIconsUtil.DEFAULT_ATTRIBUTES, Gio.FileQueryInfoFlags.NONE, this._desktopEnumerateCancellable), extras];
}
while ((info = fileEnum.next_file(null)))
yield [fileEnum.get_child(info), info, Prefs.FileType.NONE];
}.bind(this);
resolve(resultGenerator());
} catch (e) {
reject(e);
}
});
});
}
_monitorDesktopFolder() {
if (this._monitorDesktopDir) {
this._monitorDesktopDir.cancel();
this._monitorDesktopDir = null;
}
let desktopDir = DesktopIconsUtil.getDesktopDir();
this._monitorDesktopDir = desktopDir.monitor_directory(Gio.FileMonitorFlags.WATCH_MOVES, null);
this._monitorDesktopDir.set_rate_limit(1000);
this._monitorDesktopDir.connect('changed', (obj, file, otherFile, eventType) => this._updateDesktopIfChanged(file, otherFile, eventType));
}
checkIfSpecialFilesAreSelected() {
for (let fileItem of this._selection) {
if (fileItem.isSpecial)
return true;
}
return false;
}
getNumberOfSelectedItems() {
return this._selection.size;
}
get writableByOthers() {
return this._writableByOthers;
}
_setWritableByOthers(value) {
if (value == this._writableByOthers)
return;
this._writableByOthers = value
this.notify('writable-by-others');
}
_updateDesktopIfChanged (file, otherFile, eventType) {
let {
DELETED, MOVED_IN, MOVED_OUT, CREATED, RENAMED, CHANGES_DONE_HINT, ATTRIBUTE_CHANGED
} = Gio.FileMonitorEvent;
let fileUri = file.get_uri();
let fileItem = null;
if (this._fileItems.has(fileUri))
fileItem = this._fileItems.get(fileUri);
switch(eventType) {
case RENAMED:
this._fileItems.delete(fileUri);
this._fileItems.set(otherFile.get_uri(), fileItem);
fileItem.onFileRenamed(otherFile);
return;
case CHANGES_DONE_HINT:
case ATTRIBUTE_CHANGED:
/* a file changed, rather than the desktop itself */
let desktopDir = DesktopIconsUtil.getDesktopDir();
if (file.get_uri() != desktopDir.get_uri()) {
fileItem.onAttributeChanged();
return;
}
if (this._queryFileInfoCancellable)
this._queryFileInfoCancellable.cancel();
file.query_info_async(Gio.FILE_ATTRIBUTE_UNIX_MODE,
Gio.FileQueryInfoFlags.NONE,
GLib.PRIORITY_DEFAULT,
this._queryFileInfoCancellable,
(source, result) => {
try {
let info = source.query_info_finish(result);
this._queryFileInfoCancellable = null;
this._unixMode = info.get_attribute_uint32(Gio.FILE_ATTRIBUTE_UNIX_MODE);
this._setWritableByOthers((this._unixMode & S_IWOTH) != 0);
if (this._writableByOthers)
log(`desktop-icons: Desktop is writable by others - will not allow launching any desktop files`);
} catch(error) {
if (!error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
global.log('Error getting desktop unix mode: ' + error);
}
});
return;
}
// Only get a subset of events we are interested in.
// Note that CREATED will emit a CHANGES_DONE_HINT
if (![DELETED, MOVED_IN, MOVED_OUT, CREATED].includes(eventType))
return;
this._recreateDesktopIcons();
}
_setupDnD() {
this._draggableContainer = new St.Widget({
visible: true,
width: 1,
height: 1,
x: 0,
y: 0,
style_class: 'draggable'
});
this._draggableContainer._delegate = this;
this._draggable = DND.makeDraggable(this._draggableContainer,
{
manualMode: true,
dragActorOpacity: 100
});
this._draggable.connect('drag-cancelled', () => this._onDragCancelled());
this._draggable.connect('drag-end', () => this._onDragEnd());
this._draggable._dragActorDropped = event => this._dragActorDropped(event);
}
dragStart() {
if (this._inDrag) {
return;
}
this._setupDnD();
let event = Clutter.get_current_event();
let [x, y] = event.get_coords();
[this._dragXStart, this._dragYStart] = event.get_coords();
this._inDrag = true;
for (let fileItem of this._selection) {
let clone = new Clutter.Clone({
source: fileItem.actor,
reactive: false
});
clone.x = fileItem.actor.get_transformed_position()[0];
clone.y = fileItem.actor.get_transformed_position()[1];
this._draggableContainer.add_child(clone);
}
Main.layoutManager.uiGroup.add_child(this._draggableContainer);
this._draggable.startDrag(x, y, global.get_current_time(), event.get_event_sequence());
}
_onDragCancelled() {
let event = Clutter.get_current_event();
let [x, y] = event.get_coords();
this._dragCancelled = true;
}
_onDragEnd() {
this._inDrag = false;
Main.layoutManager.uiGroup.remove_child(this._draggableContainer);
}
_dragActorDropped(event) {
let [dropX, dropY] = event.get_coords();
let target = this._draggable._dragActor.get_stage().get_actor_at_pos(Clutter.PickMode.ALL,
dropX, dropY);
// We call observers only once per motion with the innermost
// target actor. If necessary, the observer can walk the
// parent itself.
let dropEvent = {
dropActor: this._draggable._dragActor,
targetActor: target,
clutterEvent: event
};
for (let dragMonitor of DND.dragMonitors) {
let dropFunc = dragMonitor.dragDrop;
if (dropFunc)
switch (dropFunc(dropEvent)) {
case DragDropResult.FAILURE:
case DragDropResult.SUCCESS:
return true;
case DragDropResult.CONTINUE:
continue;
}
}
// At this point it is too late to cancel a drag by destroying
// the actor, the fate of which is decided by acceptDrop and its
// side-effects
this._draggable._dragCancellable = false;
let destroyActor = false;
while (target) {
if (target._delegate && target._delegate.acceptDrop) {
let [r, targX, targY] = target.transform_stage_point(dropX, dropY);
if (target._delegate.acceptDrop(this._draggable.actor._delegate,
this._draggable._dragActor,
targX,
targY,
event.get_time())) {
// If it accepted the drop without taking the actor,
// handle it ourselves.
if (this._draggable._dragActor.get_parent() == Main.uiGroup) {
if (this._draggable._restoreOnSuccess) {
this._draggable._restoreDragActor(event.get_time());
return true;
}
else {
// We need this in order to make sure drag-end is fired
destroyActor = true;
}
}
this._draggable._dragInProgress = false;
getDpy().set_cursor(Meta.Cursor.DEFAULT);
this._draggable.emit('drag-end', event.get_time(), true);
if (destroyActor) {
this._draggable._dragActor.destroy();
}
this._draggable._dragComplete();
return true;
}
}
target = target.get_parent();
}
this._draggable._cancelDrag(event.get_time());
return true;
}
acceptDrop(xEnd, yEnd) {
let savedCoordinates = new Map();
let [xDiff, yDiff] = [xEnd - this._dragXStart, yEnd - this._dragYStart];
/* Remove all items before dropping new ones, so we can freely reposition
* them.
*/
for (let item of this._selection) {
let [itemX, itemY] = item.actor.get_transformed_position();
let monitorIndex = findMonitorIndexForPos(itemX, itemY);
savedCoordinates.set(item, [itemX, itemY]);
this._desktopGrids[monitorIndex].removeFileItem(item);
}
for (let item of this._selection) {
let [itemX, itemY] = savedCoordinates.get(item);
/* Set the new ideal position where the item drop should happen */
let newFileX = Math.round(xDiff + itemX);
let newFileY = Math.round(yDiff + itemY);
let monitorIndex = findMonitorIndexForPos(newFileX, newFileY);
this._desktopGrids[monitorIndex].addFileItemCloseTo(item, newFileX, newFileY, DesktopGrid.StoredCoordinates.OVERWRITE);
}
return true;
}
selectionDropOnFileItem (fileItemDestination) {
if (!fileItemDestination.isDirectory)
return false;
let droppedUris = [];
for (let fileItem of this._selection) {
if (fileItem.isSpecial)
return false;
if (fileItemDestination.file.get_uri() == fileItem.file.get_uri())
return false;
droppedUris.push(fileItem.file.get_uri());
}
if (droppedUris.length == 0)
return true;
DBusUtils.NautilusFileOperationsProxy.MoveURIsRemote(droppedUris,
fileItemDestination.file.get_uri(),
(result, error) => {
if (error)
throw new Error('Error moving files: ' + error.message);
}
);
for (let fileItem of this._selection) {
fileItem.state = FileItem.State.GONE;
}
this._recreateDesktopIcons();
return true;
}
_resetGridsAndScheduleLayout() {
this._deleteChildrenId = 0;
Object.values(this._desktopGrids).forEach((grid) => grid.reset());
this._layoutChildrenId = GLib.idle_add(GLib.PRIORITY_LOW, () => this._layoutChildren());
return GLib.SOURCE_REMOVE;
}
scheduleReLayoutChildren() {
if (this._deleteChildrenId != 0)
return;
if (this._layoutChildrenId != 0) {
GLib.source_remove(this._layoutChildrenId);
this._layoutChildrenId = 0;
}
this._deleteChildrenId = GLib.idle_add(GLib.PRIORITY_LOW, () => this._resetGridsAndScheduleLayout());
}
_addFileItemCloseTo(item) {
let coordinates;
let x = 0;
let y = 0;
let coordinatesAction = DesktopGrid.StoredCoordinates.ASSIGN;
if (item.savedCoordinates != null) {
[x, y] = item.savedCoordinates;
coordinatesAction = DesktopGrid.StoredCoordinates.PRESERVE;
}
let monitorIndex = findMonitorIndexForPos(x, y);
let desktopGrid = this._desktopGrids[monitorIndex];
try {
desktopGrid.addFileItemCloseTo(item, x, y, coordinatesAction);
} catch (e) {
log(`Error adding children to desktop: ${e.message}`);
}
}
_layoutChildren() {
let showHidden = Prefs.gtkSettings.get_boolean('show-hidden');
/*
* Paint the icons in two passes:
* * first pass paints those that have their coordinates defined in the metadata
* * second pass paints those new files that still don't have their definitive coordinates
*/
for (let [fileUri, fileItem] of this._fileItems) {
if (fileItem.savedCoordinates == null)
continue;
if (fileItem.state != FileItem.State.NORMAL)
continue;
if (!showHidden && fileItem.isHidden)
continue;
this._addFileItemCloseTo(fileItem);
}
for (let [fileUri, fileItem] of this._fileItems) {
if (fileItem.savedCoordinates !== null)
continue;
if (fileItem.state != FileItem.State.NORMAL)
continue;
if (!showHidden && fileItem.isHidden)
continue;
this._addFileItemCloseTo(fileItem);
}
this._layoutChildrenId = 0;
return GLib.SOURCE_REMOVE;
}
doRename() {
if (this._selection.size != 1)
return;
let item = [...this._selection][0];
if (item.canRename())
item.doRename();
}
doOpen() {
for (let fileItem of this._selection)
fileItem.doOpen();
}
doTrash() {
DBusUtils.NautilusFileOperationsProxy.TrashFilesRemote([...this._selection].map((x) => { return x.file.get_uri(); }),
(source, error) => {
if (error)
throw new Error('Error trashing files on the desktop: ' + error.message);
}
);
}
doEmptyTrash() {
DBusUtils.NautilusFileOperationsProxy.EmptyTrashRemote( (source, error) => {
if (error)
throw new Error('Error trashing files on the desktop: ' + error.message);
});
}
_onFileItemSelected(fileItem, keepCurrentSelection, rubberBandSelection, addToSelection) {
if (!keepCurrentSelection && !this._inDrag)
this.clearSelection();
let selection = keepCurrentSelection && rubberBandSelection ? this._currentSelection : this._selection;
if (addToSelection)
selection.add(fileItem);
else
selection.delete(fileItem);
for (let [fileUri, fileItem] of this._fileItems)
fileItem.isSelected = this._currentSelection.has(fileItem) || this._selection.has(fileItem);
}
clearSelection() {
for (let [fileUri, fileItem] of this._fileItems)
fileItem.isSelected = false;
this._selection = new Set();
this._currentSelection = new Set();
}
_getClipboardText(isCopy) {
let action = isCopy ? 'copy' : 'cut';
let text = `x-special/nautilus-clipboard\n${action}\n${
[...this._selection].map(s => s.file.get_uri()).join('\n')
}\n`;
return text;
}
doCopy() {
Clipboard.set_text(CLIPBOARD_TYPE, this._getClipboardText(true));
}
doCut() {
Clipboard.set_text(CLIPBOARD_TYPE, this._getClipboardText(false));
}
destroy() {
if (this._monitorDesktopDir)
this._monitorDesktopDir.cancel();
this._monitorDesktopDir = null;
if (this.settingsId)
Prefs.settings.disconnect(this.settingsId);
this.settingsId = 0;
if (this.gtkSettingsId)
Prefs.gtkSettings.disconnect(this.gtkSettingsId);
this.gtkSettingsId = 0;
if (this._layoutChildrenId)
GLib.source_remove(this._layoutChildrenId);
this._layoutChildrenId = 0;
if (this._deleteChildrenId)
GLib.source_remove(this._deleteChildrenId);
this._deleteChildrenId = 0;
if (this._monitorsChangedId)
Main.layoutManager.disconnect(this._monitorsChangedId);
this._monitorsChangedId = 0;
if (this._stageReleaseEventId)
global.stage.disconnect(this._stageReleaseEventId);
this._stageReleaseEventId = 0;
if (this._rubberBandId)
global.stage.disconnect(this._rubberBandId);
this._rubberBandId = 0;
this._rubberBand.destroy();
if (this._queryFileInfoCancellable)
this._queryFileInfoCancellable.cancel();
Object.values(this._desktopGrids).forEach(grid => grid.actor.destroy());
this._desktopGrids = {}
}
});
function forEachBackgroundManager(func) {
Main.layoutManager._bgManagers.forEach(func);
}
0707010000000B000081ED000003E800000064000000015D9E5C1A00000647000000000000000000000000000000000000002400000000desktop-icons-19.10.2/export-zip.sh#!/usr/bin/env bash
# Export extension as zip file for extensios.gnome.org
# ----------------------------------------------------
#
# Usage:
# ./export-zip.sh - builds extension & create zip inside repository
set -e
REPO_DIR="$(pwd)"
BUILD_DIR="${REPO_DIR}/builddir"
UUID="desktop-icons@csoriano"
LOCAL_PREFIX="${REPO_DIR}/${UUID}"
EXTENSIONS_DIR="${LOCAL_PREFIX}/share/gnome-shell/extensions/${UUID}"
SCHEMADIR="${LOCAL_PREFIX}/share/glib-2.0/schemas"
# Check old builddir
if [ -d "${PWD}/${BUILD_DIR}" ]; then
echo "A current build directory already exists. Would you like to remove it?"
select yn in "Yes" "No"; do
case $yn in
Yes )
rm -rf "${PWD:?}/${BUILD_DIR}"
echo "Build directory was removed succesfuly"
break;;
No )
echo "The old build directory must be removed first. Exiting"
exit;;
esac
done
fi
# Meson build
echo "# -------------------"
echo "# Buiding with meson"
echo "# -------------------"
meson --prefix="${LOCAL_PREFIX}" --localedir=locale "${BUILD_DIR}" "${REPO_DIR}"
ninja -C "${BUILD_DIR}" install
# Create distribution ZIP file
echo -e "\\n# --------------------------"
echo "# Create extension ZIP file"
echo "# --------------------------"
rm -rf "${REPO_DIR}/${UUID}.zip" "${LOCAL_PREFIX}/${UUID}.zip"
cd "${LOCAL_PREFIX}" || exit
mkdir schemas
cp "${SCHEMADIR}"/*.xml schemas/
glib-compile-schemas schemas/
cp -r "${EXTENSIONS_DIR}"/* .
zip -qr "${UUID}.zip" ./*.js ./*.css ./*.json ./locale ./schemas
mv -f "${UUID}.zip" "${REPO_DIR}/"
cd "${REPO_DIR}" || exit
# Clean
rm -rf "${BUILD_DIR}" "${LOCAL_PREFIX}"
0707010000000C000081A4000003E800000064000000015D9E5C1A000009C2000000000000000000000000000000000000002300000000desktop-icons-19.10.2/extension.js/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2017 Carlos Soriano <csoriano@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const Main = imports.ui.main;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const Prefs = Me.imports.prefs;
const { DesktopManager } = Me.imports.desktopManager;
const DBusUtils = Me.imports.dbusUtils;
var desktopManager = null;
var addBackgroundMenuOrig = null;
var _startupPreparedId;
var lockActivitiesButton = false;
var oldShouldToggleByCornerOrButtonFunction = null;
function init() {
addBackgroundMenuOrig = Main.layoutManager._addBackgroundMenu;
Prefs.initTranslations();
}
function newShouldToggleByCornerOrButton() {
if (lockActivitiesButton)
return false;
else
return oldShouldToggleByCornerOrButtonFunction.bind(Main.overview);
}
function enable() {
// register a new function to allow to lock the Activities button when doing a rubberband selection
oldShouldToggleByCornerOrButtonFunction = Main.overview.shouldToggleByCornerOrButton;
Main.overview.shouldToggleByCornerOrButton = newShouldToggleByCornerOrButton;
// wait until the startup process has ended
if (Main.layoutManager._startingUp)
_startupPreparedId = Main.layoutManager.connect('startup-complete', () => innerEnable(true));
else
innerEnable(false);
}
function innerEnable(disconnectSignal) {
if (disconnectSignal)
Main.layoutManager.disconnect(_startupPreparedId);
DBusUtils.init();
Prefs.init();
Main.layoutManager._addBackgroundMenu = function() {};
desktopManager = new DesktopManager();
}
function disable() {
desktopManager.destroy();
Main.layoutManager._addBackgroundMenu = addBackgroundMenuOrig;
Main.overview.shouldToggleByCornerOrButton = oldShouldToggleByCornerOrButtonFunction;
}
0707010000000D000081A4000003E800000064000000015D9E5C1A00008415000000000000000000000000000000000000002200000000desktop-icons-19.10.2/fileItem.js/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2017 Carlos Soriano <csoriano@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const Gtk = imports.gi.Gtk;
const Clutter = imports.gi.Clutter;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const St = imports.gi.St;
const Pango = imports.gi.Pango;
const Meta = imports.gi.Meta;
const GdkPixbuf = imports.gi.GdkPixbuf;
const Cogl = imports.gi.Cogl;
const GnomeDesktop = imports.gi.GnomeDesktop;
const Mainloop = imports.mainloop;
const Signals = imports.signals;
const Config = imports.misc.config;
const Background = imports.ui.background;
const Main = imports.ui.main;
const PopupMenu = imports.ui.popupMenu;
const Util = imports.misc.util;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const Extension = Me.imports.extension;
const Prefs = Me.imports.prefs;
const DBusUtils = Me.imports.dbusUtils;
const DesktopIconsUtil = Me.imports.desktopIconsUtil;
const Gettext = imports.gettext.domain('desktop-icons');
const _ = Gettext.gettext;
const DRAG_TRESHOLD = 8;
var S_IXUSR = 0o00100;
var S_IWOTH = 0o00002;
var State = {
NORMAL: 0,
GONE: 1,
};
var FileItem = class {
constructor(file, fileInfo, fileExtra) {
this._fileExtra = fileExtra;
this._loadThumbnailDataCancellable = null;
this._thumbnailScriptWatch = 0;
this._setMetadataCancellable = null;
this._queryFileInfoCancellable = null;
this._isSpecial = this._fileExtra != Prefs.FileType.NONE;
this._file = file;
this._savedCoordinates = null;
let savedCoordinates = fileInfo.get_attribute_as_string('metadata::nautilus-icon-position');
if (savedCoordinates != null)
this._savedCoordinates = savedCoordinates.split(',').map(x => Number(x));
this._state = State.NORMAL;
this.actor = new St.Bin({ visible: true });
this.actor.set_fill(true, true);
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
this.actor._delegate = this;
this.actor.connect('destroy', () => this._onDestroy());
this._container = new St.BoxLayout({ reactive: true,
track_hover: true,
can_focus: true,
style_class: 'file-item',
x_expand: true,
y_expand: true,
x_align: Clutter.ActorAlign.FILL,
vertical: true });
this.actor.set_child(this._container);
this._icon = new St.Bin();
this._icon.set_height(Prefs.get_icon_size() * scaleFactor);
this._iconContainer = new St.Bin({ visible: true });
this._iconContainer.child = this._icon;
this._container.add_child(this._iconContainer);
this._label = new St.Label({
style_class: 'name-label'
});
this._container.add_child(this._label);
let clutterText = this._label.get_clutter_text();
/* TODO: Convert to gobject.set for 3.30 */
clutterText.set_line_wrap(true);
clutterText.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR);
clutterText.set_ellipsize(Pango.EllipsizeMode.END);
this._container.connect('button-press-event', (actor, event) => this._onPressButton(actor, event));
this._container.connect('motion-event', (actor, event) => this._onMotion(actor, event));
this._container.connect('leave-event', (actor, event) => this._onLeave(actor, event));
this._container.connect('button-release-event', (actor, event) => this._onReleaseButton(actor, event));
/* Set the metadata and update relevant UI */
this._updateMetadataFromFileInfo(fileInfo);
this._menuManager = null;
this._menu = null;
this._updateIcon();
this._isSelected = false;
this._primaryButtonPressed = false;
if (this._attributeCanExecute && !this._isValidDesktopFile)
this._execLine = this.file.get_path();
if (fileExtra == Prefs.FileType.USER_DIRECTORY_TRASH) {
// if this icon is the trash, monitor the state of the directory to update the icon
this._trashChanged = false;
this._queryTrashInfoCancellable = null;
this._scheduleTrashRefreshId = 0;
this._monitorTrashDir = this._file.monitor_directory(Gio.FileMonitorFlags.WATCH_MOVES, null);
this._monitorTrashId = this._monitorTrashDir.connect('changed', (obj, file, otherFile, eventType) => {
switch(eventType) {
case Gio.FileMonitorEvent.DELETED:
case Gio.FileMonitorEvent.MOVED_OUT:
case Gio.FileMonitorEvent.CREATED:
case Gio.FileMonitorEvent.MOVED_IN:
if (this._queryTrashInfoCancellable || this._scheduleTrashRefreshId) {
if (this._scheduleTrashRefreshId)
GLib.source_remove(this._scheduleTrashRefreshId);
this._scheduleTrashRefreshId = Mainloop.timeout_add(200, () => this._refreshTrashIcon());
} else {
this._refreshTrashIcon();
}
break;
}
});
}
this._writebleByOthersId = Extension.desktopManager.connect('notify::writable-by-others', () => {
if (!this._isValidDesktopFile)
return;
this._refreshMetadataAsync(true);
});
}
set_margins(width, height) {
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
this.actor.set_width(Prefs.getDesiredWidth(scaleFactor, width));
this.actor.set_height(Prefs.getDesiredHeight(scaleFactor, height));
}
onAttributeChanged() {
if (this._isDesktopFile) {
this._refreshMetadataAsync(true);
}
}
_onDestroy() {
/* Regular file data */
if (this._setMetadataCancellable)
this._setMetadataCancellable.cancel();
if (this._queryFileInfoCancellable)
this._queryFileInfoCancellable.cancel();
Extension.desktopManager.disconnect(this._writebleByOthersId);
/* Thumbnailing */
if (this._thumbnailScriptWatch)
GLib.source_remove(this._thumbnailScriptWatch);
if (this._loadThumbnailDataCancellable)
this._loadThumbnailDataCancellable.cancel();
/* Desktop file */
if (this._monitorDesktopFileId) {
this._monitorDesktopFile.disconnect(this._monitorDesktopFileId);
this._monitorDesktopFile.cancel();
}
/* Trash */
if (this._monitorTrashDir) {
this._monitorTrashDir.disconnect(this._monitorTrashId);
this._monitorTrashDir.cancel();
}
if (this._queryTrashInfoCancellable)
this._queryTrashInfoCancellable.cancel();
if (this._scheduleTrashRefreshId)
GLib.source_remove(this._scheduleTrashRefreshId);
/* Menu */
this._removeMenu();
}
_refreshMetadataAsync(rebuild) {
if (this._queryFileInfoCancellable)
this._queryFileInfoCancellable.cancel();
this._queryFileInfoCancellable = new Gio.Cancellable();
this._file.query_info_async(DesktopIconsUtil.DEFAULT_ATTRIBUTES,
Gio.FileQueryInfoFlags.NONE,
GLib.PRIORITY_DEFAULT,
this._queryFileInfoCancellable,
(source, result) => {
try {
let newFileInfo = source.query_info_finish(result);
this._queryFileInfoCancellable = null;
this._updateMetadataFromFileInfo(newFileInfo);
if (rebuild) {
this._recreateMenu();
this._updateIcon();
}
} catch(error) {
if (!error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
global.log("Error getting the file info: " + error);
}
});
}
_updateMetadataFromFileInfo(fileInfo) {
this._fileInfo = fileInfo;
let oldLabelText = this._label.text;
this._displayName = fileInfo.get_attribute_as_string('standard::display-name');
this._attributeCanExecute = fileInfo.get_attribute_boolean('access::can-execute');
this._unixmode = fileInfo.get_attribute_uint32('unix::mode')
this._writableByOthers = (this._unixmode & S_IWOTH) != 0;
this._trusted = fileInfo.get_attribute_as_string('metadata::trusted') == 'true';
this._attributeContentType = fileInfo.get_content_type();
this._isDesktopFile = this._attributeContentType == 'application/x-desktop';
if (this._isDesktopFile && this._writableByOthers)
log(`desktop-icons: File ${this._displayName} is writable by others - will not allow launching`);
if (this._isDesktopFile) {
this._desktopFile = Gio.DesktopAppInfo.new_from_filename(this._file.get_path());
if (!this._desktopFile) {
log(`Couldn’t parse ${this._displayName} as a desktop file, will treat it as a regular file.`);
this._isValidDesktopFile = false;
} else {
this._isValidDesktopFile = true;
}
} else {
this._isValidDesktopFile = false;
}
if (this.displayName != oldLabelText) {
this._label.text = this.displayName;
}
this._fileType = fileInfo.get_file_type();
this._isDirectory = this._fileType == Gio.FileType.DIRECTORY;
this._isSpecial = this._fileExtra != Prefs.FileType.NONE;
this._isHidden = fileInfo.get_is_hidden() | fileInfo.get_is_backup();
this._isSymlink = fileInfo.get_is_symlink();
this._modifiedTime = this._fileInfo.get_attribute_uint64("time::modified");
/*
* This is a glib trick to detect broken symlinks. If a file is a symlink, the filetype
* points to the final file, unless it is broken; thus if the file type is SYMBOLIC_LINK,
* it must be a broken link.
* https://developer.gnome.org/gio/stable/GFile.html#g-file-query-info
*/
this._isBrokenSymlink = this._isSymlink && this._fileType == Gio.FileType.SYMBOLIC_LINK
}
onFileRenamed(file) {
this._file = file;
this._refreshMetadataAsync(false);
}
_updateIcon() {
if (this._fileExtra == Prefs.FileType.USER_DIRECTORY_TRASH) {
this._icon.child = this._createEmblemedStIcon(this._fileInfo.get_icon(), null);
return;
}
let thumbnailFactory = GnomeDesktop.DesktopThumbnailFactory.new(GnomeDesktop.DesktopThumbnailSize.LARGE);
if (thumbnailFactory.can_thumbnail(this._file.get_uri(),
this._attributeContentType,
this._modifiedTime)) {
let thumbnail = thumbnailFactory.lookup(this._file.get_uri(), this._modifiedTime);
if (thumbnail == null) {
if (!thumbnailFactory.has_valid_failed_thumbnail(this._file.get_uri(),
this._modifiedTime)) {
let argv = [];
argv.push(GLib.build_filenamev([ExtensionUtils.getCurrentExtension().path,
'createThumbnail.js']));
argv.push(this._file.get_path());
let [success, pid] = GLib.spawn_async(null, argv, null,
GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD, null);
if (this._thumbnailScriptWatch)
GLib.source_remove(this._thumbnailScriptWatch);
this._thumbnailScriptWatch = GLib.child_watch_add(GLib.PRIORITY_DEFAULT,
pid,
(pid, exitCode) => {
this._thumbnailScriptWatch = 0;
if (exitCode == 0)
this._updateIcon();
else
global.log('Failed to generate thumbnail for ' + this._filePath);
GLib.spawn_close_pid(pid);
return false;
}
);
}
} else {
if (this._loadThumbnailDataCancellable)
this._loadThumbnailDataCancellable.cancel();
this._loadThumbnailDataCancellable = new Gio.Cancellable();
let thumbnailFile = Gio.File.new_for_path(thumbnail);
thumbnailFile.load_bytes_async(this._loadThumbnailDataCancellable,
(source, result) => {
try {
this._loadThumbnailDataCancellable = null;
let [thumbnailData, etag_out] = source.load_bytes_finish(result);
let thumbnailStream = Gio.MemoryInputStream.new_from_bytes(thumbnailData);
let thumbnailPixbuf = GdkPixbuf.Pixbuf.new_from_stream(thumbnailStream, null);
if (thumbnailPixbuf != null) {
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
let thumbnailImage = new Clutter.Image();
thumbnailImage.set_data(thumbnailPixbuf.get_pixels(),
thumbnailPixbuf.has_alpha ? Cogl.PixelFormat.RGBA_8888 : Cogl.PixelFormat.RGB_888,
thumbnailPixbuf.width,
thumbnailPixbuf.height,
thumbnailPixbuf.rowstride
);
let icon = new Clutter.Actor();
icon.set_content(thumbnailImage);
let width = Prefs.getDesiredWidth(scaleFactor, 0);
let height = Prefs.get_icon_size() * scaleFactor;
let aspectRatio = thumbnailPixbuf.width / thumbnailPixbuf.height;
if ((width / height) > aspectRatio)
icon.set_size(height * aspectRatio, height);
else
icon.set_size(width, width / aspectRatio);
this._icon.child = icon;
}
} catch (error) {
if (!error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED)) {
global.log('Error while loading thumbnail: ' + error);
this._icon.child = this._createEmblemedStIcon(this._fileInfo.get_icon(), null);
}
}
}
);
}
}
if (this._isBrokenSymlink) {
this._icon.child = this._createEmblemedStIcon(null, 'text-x-generic');
} else {
if (this.trustedDesktopFile && this._desktopFile.has_key('Icon'))
this._icon.child = this._createEmblemedStIcon(null, this._desktopFile.get_string('Icon'));
else
this._icon.child = this._createEmblemedStIcon(this._fileInfo.get_icon(), null);
}
}
_refreshTrashIcon() {
if (this._queryTrashInfoCancellable)
this._queryTrashInfoCancellable.cancel();
this._queryTrashInfoCancellable = new Gio.Cancellable();
this._file.query_info_async(DesktopIconsUtil.DEFAULT_ATTRIBUTES,
Gio.FileQueryInfoFlags.NONE,
GLib.PRIORITY_DEFAULT,
this._queryTrashInfoCancellable,
(source, result) => {
try {
this._fileInfo = source.query_info_finish(result);
this._queryTrashInfoCancellable = null;
this._updateIcon();
} catch(error) {
if (!error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
global.log('Error getting the number of files in the trash: ' + error);
}
});
this._scheduleTrashRefreshId = 0;
return false;
}
get file() {
return this._file;
}
get isHidden() {
return this._isHidden;
}
_createEmblemedStIcon(icon, iconName) {
if (icon == null) {
if (GLib.path_is_absolute(iconName)) {
let iconFile = Gio.File.new_for_commandline_arg(iconName);
icon = new Gio.FileIcon({ file: iconFile });
} else {
icon = Gio.ThemedIcon.new_with_default_fallbacks(iconName);
}
}
let itemIcon = Gio.EmblemedIcon.new(icon, null);
if (this._isSymlink) {
if (this._isBrokenSymlink)
itemIcon.add_emblem(Gio.Emblem.new(Gio.ThemedIcon.new('emblem-unreadable')));
else
itemIcon.add_emblem(Gio.Emblem.new(Gio.ThemedIcon.new('emblem-symbolic-link')));
} else if (this.trustedDesktopFile) {
itemIcon.add_emblem(Gio.Emblem.new(Gio.ThemedIcon.new('emblem-symbolic-link')));
}
return new St.Icon({ gicon: itemIcon,
icon_size: Prefs.get_icon_size()
});
}
doRename() {
if (!this.canRename()) {
log (`Error: ${this.file.get_uri()} cannot be renamed`);
return;
}
this.emit('rename-clicked');
}
doOpen() {
if (this._isBrokenSymlink) {
log(`Error: Can’t open ${this.file.get_uri()} because it is a broken symlink.`);
return;
}
if (this.trustedDesktopFile) {
this._desktopFile.launch_uris_as_manager([], null, GLib.SpawnFlags.SEARCH_PATH, null, null);
return;
}
if (this._attributeCanExecute && !this._isDirectory && !this._isValidDesktopFile) {
if (this._execLine)
Util.spawnCommandLine(this._execLine);
return;
}
Gio.AppInfo.launch_default_for_uri_async(this.file.get_uri(),
null, null,
(source, result) => {
try {
Gio.AppInfo.launch_default_for_uri_finish(result);
} catch (e) {
log('Error opening file ' + this.file.get_uri() + ': ' + e.message);
}
}
);
}
_onCopyClicked() {
Extension.desktopManager.doCopy();
}
_onCutClicked() {
Extension.desktopManager.doCut();
}
_onShowInFilesClicked() {
DBusUtils.FreeDesktopFileManagerProxy.ShowItemsRemote([this.file.get_uri()], '',
(result, error) => {
if (error)
log('Error showing file on desktop: ' + error.message);
}
);
}
_onPropertiesClicked() {
DBusUtils.FreeDesktopFileManagerProxy.ShowItemPropertiesRemote([this.file.get_uri()], '',
(result, error) => {
if (error)
log('Error showing properties: ' + error.message);
}
);
}
_onMoveToTrashClicked() {
Extension.desktopManager.doTrash();
}
_onEmptyTrashClicked() {
Extension.desktopManager.doEmptyTrash();
}
get _allowLaunchingText() {
if (this.trustedDesktopFile)
return _("Don’t Allow Launching");
return _("Allow Launching");
}
get metadataTrusted() {
return this._trusted;
}
set metadataTrusted(value) {
this._trusted = value;
let info = new Gio.FileInfo();
info.set_attribute_string('metadata::trusted',
value ? 'true' : 'false');
this._file.set_attributes_async(info,
Gio.FileQueryInfoFlags.NONE,
GLib.PRIORITY_LOW,
null,
(source, result) => {
try {
source.set_attributes_finish(result);
this._refreshMetadataAsync(true);
} catch(e) {
log(`Failed to set metadata::trusted: ${e.message}`);
}
});
}
_onAllowDisallowLaunchingClicked() {
this.metadataTrusted = !this.trustedDesktopFile;
/*
* we're marking as trusted, make the file executable too. note that we
* do not ever remove the executable bit, since we don't know who set
* it.
*/
if (this.metadataTrusted && !this._attributeCanExecute) {
let info = new Gio.FileInfo();
let newUnixMode = this._unixmode | S_IXUSR;
info.set_attribute_uint32(Gio.FILE_ATTRIBUTE_UNIX_MODE, newUnixMode);
this._file.set_attributes_async(info,
Gio.FileQueryInfoFlags.NONE,
GLib.PRIORITY_LOW,
null,
(source, result) => {
try {
source.set_attributes_finish (result);
} catch(e) {
log(`Failed to set unix mode: ${e.message}`);
}
});
}
}
canRename() {
return !this.trustedDesktopFile && this._fileExtra == Prefs.FileType.NONE;
}
_doOpenWith() {
DBusUtils.openFileWithOtherApplication(this.file.get_path());
}
_getSelectionStyle() {
let rgba = DesktopIconsUtil.getGtkClassBackgroundColor('view', Gtk.StateFlags.SELECTED);
let background_color =
'rgba(' + rgba.red * 255 + ', ' + rgba.green * 255 + ', ' + rgba.blue * 255 + ', 0.6)';
let border_color =
'rgba(' + rgba.red * 255 + ', ' + rgba.green * 255 + ', ' + rgba.blue * 255 + ', 0.8)';
return 'background-color: ' + background_color + ';' +
'border-color: ' + border_color + ';'
}
get menu() {
return this._menu;
}
_removeMenu() {
if (this._menu != null) {
if (this._menuManager != null)
this._menuManager.removeMenu(this._menu);
Main.layoutManager.uiGroup.remove_child(this._menu.actor);
this._menu.destroy();
this._menu = null;
}
this._menuManager = null;
}
_recreateMenu() {
this._removeMenu();
let popupManagerArgs = ExtensionUtils.versionCheck(['3.28', '3.30', '3.32'], Config.PACKAGE_VERSION) ?
{ actor: this.actor } : this.actor;
this._menuManager = new PopupMenu.PopupMenuManager(popupManagerArgs);
let side = St.Side.LEFT;
if (Clutter.get_default_text_direction() == Clutter.TextDirection.RTL)
side = St.Side.RIGHT;
this._menu = new PopupMenu.PopupMenu(this.actor, 0.5, side);
this._menu.addAction(_('Open'), () => this.doOpen());
switch (this._fileExtra) {
case Prefs.FileType.NONE:
if (!this._isDirectory)
this._actionOpenWith = this._menu.addAction(_('Open With Other Application'), () => this._doOpenWith());
else
this._actionOpenWith = null;
this._menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._actionCut = this._menu.addAction(_('Cut'), () => this._onCutClicked());
this._actionCopy = this._menu.addAction(_('Copy'), () => this._onCopyClicked());
if (this.canRename())
this._menu.addAction(_('Rename…'), () => this.doRename());
this._actionTrash = this._menu.addAction(_('Move to Trash'), () => this._onMoveToTrashClicked());
if (this._isValidDesktopFile && !Extension.desktopManager.writableByOthers && !this._writableByOthers) {
this._menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._allowLaunchingMenuItem = this._menu.addAction(this._allowLaunchingText,
() => this._onAllowDisallowLaunchingClicked());
}
break;
case Prefs.FileType.USER_DIRECTORY_TRASH:
this._menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._menu.addAction(_('Empty Trash'), () => this._onEmptyTrashClicked());
break;
default:
break;
}
this._menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._menu.addAction(_('Properties'), () => this._onPropertiesClicked());
this._menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._menu.addAction(_('Show in Files'), () => this._onShowInFilesClicked());
if (this._isDirectory && this.file.get_path() != null)
this._actionOpenInTerminal = this._menu.addAction(_('Open in Terminal'), () => this._onOpenTerminalClicked());
this._menuManager.addMenu(this._menu);
Main.layoutManager.uiGroup.add_child(this._menu.actor);
this._menu.actor.hide();
}
_ensureMenu() {
if (this._menu == null)
this._recreateMenu();
return this._menu;
}
_onOpenTerminalClicked () {
DesktopIconsUtil.launchTerminal(this.file.get_path());
}
_onPressButton(actor, event) {
let button = event.get_button();
if (button == 3) {
if (!this.isSelected)
this.emit('selected', false, false, true);
this._ensureMenu().toggle();
if (this._actionOpenWith) {
let allowOpenWith = (Extension.desktopManager.getNumberOfSelectedItems() == 1);
this._actionOpenWith.setSensitive(allowOpenWith);
}
let specialFilesSelected = Extension.desktopManager.checkIfSpecialFilesAreSelected();
if (this._actionCut)
this._actionCut.setSensitive(!specialFilesSelected);
if (this._actionCopy)
this._actionCopy.setSensitive(!specialFilesSelected);
if (this._actionTrash)
this._actionTrash.setSensitive(!specialFilesSelected);
return Clutter.EVENT_STOP;
} else if (button == 1) {
if (event.get_click_count() == 1) {
let [x, y] = event.get_coords();
this._primaryButtonPressed = true;
this._buttonPressInitialX = x;
this._buttonPressInitialY = y;
let shiftPressed = !!(event.get_state() & Clutter.ModifierType.SHIFT_MASK);
let controlPressed = !!(event.get_state() & Clutter.ModifierType.CONTROL_MASK);
if (!this.isSelected) {
this.emit('selected', shiftPressed || controlPressed, false, true);
}
}
return Clutter.EVENT_STOP;
}
return Clutter.EVENT_PROPAGATE;
}
_onLeave(actor, event) {
this._primaryButtonPressed = false;
}
_onMotion(actor, event) {
let [x, y] = event.get_coords();
if (this._primaryButtonPressed) {
let xDiff = x - this._buttonPressInitialX;
let yDiff = y - this._buttonPressInitialY;
let distance = Math.sqrt(Math.pow(xDiff, 2) + Math.pow(yDiff, 2));
if (distance > DRAG_TRESHOLD) {
// Don't need to track anymore this if we start drag, and also
// avoids reentrance here
this._primaryButtonPressed = false;
let event = Clutter.get_current_event();
let [x, y] = event.get_coords();
Extension.desktopManager.dragStart();
}
}
return Clutter.EVENT_PROPAGATE;
}
_onReleaseButton(actor, event) {
let button = event.get_button();
if (button == 1) {
// primaryButtonPressed is TRUE only if the user has pressed the button
// over an icon, and if (s)he has not started a drag&drop operation
if (this._primaryButtonPressed) {
this._primaryButtonPressed = false;
let shiftPressed = !!(event.get_state() & Clutter.ModifierType.SHIFT_MASK);
let controlPressed = !!(event.get_state() & Clutter.ModifierType.CONTROL_MASK);
if ((event.get_click_count() == 1) && Prefs.CLICK_POLICY_SINGLE && !shiftPressed && !controlPressed)
this.doOpen();
this.emit('selected', shiftPressed || controlPressed, false, true);
return Clutter.EVENT_STOP;
}
if ((event.get_click_count() == 2) && (!Prefs.CLICK_POLICY_SINGLE))
this.doOpen();
}
return Clutter.EVENT_PROPAGATE;
}
get savedCoordinates() {
return this._savedCoordinates;
}
_onSetMetadataFileFinished(source, result) {
try {
let [success, info] = source.set_attributes_finish(result);
} catch (error) {
if (!error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
log('Error setting metadata to desktop files ', error);
}
}
set savedCoordinates(pos) {
if (this._setMetadataCancellable)
this._setMetadataCancellable.cancel();
this._setMetadataCancellable = new Gio.Cancellable();
this._savedCoordinates = [pos[0], pos[1]];
let info = new Gio.FileInfo();
info.set_attribute_string('metadata::nautilus-icon-position',
`${pos[0]},${pos[1]}`);
this.file.set_attributes_async(info,
Gio.FileQueryInfoFlags.NONE,
GLib.PRIORITY_DEFAULT,
this._setMetadataCancellable,
(source, result) => {
this._setMetadataCancellable = null;
this._onSetMetadataFileFinished(source, result);
}
);
}
intersectsWith(argX, argY, argWidth, argHeight) {
let rect = new Meta.Rectangle({ x: argX, y: argY, width: argWidth, height: argHeight });
let [containerX, containerY] = this._container.get_transformed_position();
let boundingBox = new Meta.Rectangle({ x: containerX,
y: containerY,
width: this._container.allocation.x2 - this._container.allocation.x1,
height: this._container.allocation.y2 - this._container.allocation.y1 });
let [intersects, _] = rect.intersect(boundingBox);
return intersects;
}
set isSelected(isSelected) {
isSelected = !!isSelected;
if (isSelected == this._isSelected)
return;
if (isSelected) {
this._container.set_style(this._getSelectionStyle());
} else {
this._container.set_style('background-color: transparent');
this._container.set_style('border-color: transparent');
}
this._isSelected = isSelected;
}
get isSelected() {
return this._isSelected;
}
get isSpecial() {
return this._isSpecial;
}
get state() {
return this._state;
}
set state(state) {
if (state == this._state)
return;
this._state = state;
}
get isDirectory() {
return this._isDirectory;
}
get trustedDesktopFile() {
return this._isValidDesktopFile &&
this._attributeCanExecute &&
this.metadataTrusted &&
!Extension.desktopManager.writableByOthers &&
!this._writableByOthers;
}
get fileName() {
return this._fileInfo.get_name();
}
get displayName() {
if (this.trustedDesktopFile)
return this._desktopFile.get_name();
return this._displayName || null;
}
acceptDrop() {
return Extension.desktopManager.selectionDropOnFileItem(this);
}
};
Signals.addSignalMethods(FileItem.prototype);
0707010000000E000081A4000003E800000064000000015D9E5C1A000002EA000000000000000000000000000000000000002200000000desktop-icons-19.10.2/meson.buildproject('desktop-icons',
version: '19.10.2',
license: 'GPL3'
)
gnome = import ('gnome')
i18n = import('i18n')
prefix = get_option('prefix')
datadir = join_paths (prefix, get_option('datadir'))
schema_dir = join_paths(datadir, 'glib-2.0', 'schemas')
extensions_dir = join_paths(prefix, 'share', 'gnome-shell', 'extensions', 'desktop-icons@csoriano')
install_data([
'createFolderDialog.js',
'createThumbnail.js',
'dbusUtils.js',
'desktopGrid.js',
'desktopIconsUtil.js',
'desktopManager.js',
'extension.js',
'fileItem.js',
'metadata.json',
'prefs.js',
'stylesheet.css'
],
install_dir: extensions_dir
)
subdir(
'po'
)
subdir(
'schemas'
)
meson.add_install_script('meson_post_install.py')
0707010000000F000081A4000003E800000064000000015D9E5C1A0000016C000000000000000000000000000000000000002C00000000desktop-icons-19.10.2/meson_post_install.py#!/usr/bin/python3
import os
import subprocess
prefix = os.environ['MESON_INSTALL_DESTDIR_PREFIX']
schemadir = os.path.join(prefix, 'share', 'glib-2.0', 'schemas')
# Packaging tools define DESTDIR and this isn't needed for them
if 'DESTDIR' not in os.environ:
print('Compiling GSettings schemas...')
subprocess.call(['glib-compile-schemas', schemadir])
07070100000010000081A4000003E800000064000000015D9E5C1A00000096000000000000000000000000000000000000002400000000desktop-icons-19.10.2/metadata.json{
"name": "Desktop Icons",
"description": "Add icons to the desktop",
"uuid": "desktop-icons@csoriano",
"shell-version": ["3.34.0"]
}
07070100000011000041ED000003E800000064000000025D9E5C1A00000000000000000000000000000000000000000000001900000000desktop-icons-19.10.2/po07070100000012000081A4000003E800000064000000015D9E5C1A0000004C000000000000000000000000000000000000002100000000desktop-icons-19.10.2/po/LINGUASca
cs
da
de
en_GB
es
eu
fi
fr
fur
hr
hu
id
it
ja
nl
pl
pt_BR
ru
sv
tr
zh_TW
07070100000013000081A4000003E800000064000000015D9E5C1A0000008A000000000000000000000000000000000000002500000000desktop-icons-19.10.2/po/POTFILES.increateFolderDialog.js
prefs.js
desktopGrid.js
desktopIconsUtil.js
fileItem.js
schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml07070100000014000081A4000003E800000064000000015D9E5C1A0000121F000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/ca.po#
# This file is distributed under the same license as the PACKAGE package.
# Jordi Mas i Hernandez <jmas@softcatala.org>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-07-22 10:24+0200\n"
"PO-Revision-Date: 2019-07-22 10:24+0200\n"
"Language: ca\n"
"Language-Team: Catalan <info@softcatala.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: Jordi Mas <jmas@softcatala.org>\n"
"Language: ca\n"
"X-Generator: Poedit 2.2.1\n"
#: ../createFolderDialog.js:48
msgid "New folder name"
msgstr "Nom de la carpeta nou"
#: ../createFolderDialog.js:72
msgid "Create"
msgstr "Crea"
#: ../createFolderDialog.js:74 ../desktopGrid.js:592
msgid "Cancel"
msgstr "Cancel·la"
#: ../createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Els noms de carpetes no poden contenir «/»."
#: ../createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Una carpeta no es pot anomenar «.»."
#: ../createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Una carpeta no es pot anomenar «..»."
#: ../createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Les carpetes amb un «.» a l'inici del seu nom s'amaguen."
#: ../createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Ja existeix un fitxer o carpeta amb aquest nom."
#: ../prefs.js:102
msgid "Size for the desktop icons"
msgstr "Mida de les icones d'escriptori"
#: ../prefs.js:102
msgid "Small"
msgstr "Petita"
#: ../prefs.js:102
msgid "Standard"
msgstr "Estàndard"
#: ../prefs.js:102
msgid "Large"
msgstr "Gran"
#: ../prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Mostra la carpeta personal a l'escriptori"
#: ../prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Mostra la icona de la paperera a l'escriptori"
#: ../desktopGrid.js:323
msgid "New Folder"
msgstr "Carpeta nova"
#: ../desktopGrid.js:325
msgid "Paste"
msgstr "Enganxa"
#: ../desktopGrid.js:326
msgid "Undo"
msgstr "Desfés"
#: ../desktopGrid.js:327
msgid "Redo"
msgstr "Refés"
#: ../desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Mostra l'escriptori al Fitxers"
#: ../desktopGrid.js:330 ../fileItem.js:612
msgid "Open in Terminal"
msgstr "Obre al Terminal"
#: ../desktopGrid.js:332
msgid "Change Background…"
msgstr "Canvia el fons de l'escriptori…"
#: ../desktopGrid.js:334
msgid "Display Settings"
msgstr "Paràmetres de la pantalla"
#: ../desktopGrid.js:335
msgid "Settings"
msgstr "Paràmetres"
#: ../desktopGrid.js:582
msgid "Enter file name…"
msgstr "Introduïu un nom de fitxer…"
#: ../desktopGrid.js:586
msgid "OK"
msgstr "D'acord"
#: ../desktopIconsUtil.js:61
msgid "Command not found"
msgstr " No s'ha trobat l'ordre"
#: ../fileItem.js:500
msgid "Don’t Allow Launching"
msgstr "No permetis que s'iniciï"
#: ../fileItem.js:502
msgid "Allow Launching"
msgstr "Permet que s'iniciï"
#: ../fileItem.js:580
msgid "Open"
msgstr "Obre"
#: ../fileItem.js:584
msgid "Open With Other Application"
msgstr "Obre amb una altra aplicació..."
#: ../fileItem.js:588
msgid "Cut"
msgstr "Retalla"
#: ../fileItem.js:589
msgid "Copy"
msgstr "Copia"
#: ../fileItem.js:591
msgid "Rename…"
msgstr "Canvia el nom…"
#: ../fileItem.js:592
msgid "Move to Trash"
msgstr "Mou a la paperera"
#: ../fileItem.js:602
msgid "Empty Trash"
msgstr "Buida la paperera"
#: ../fileItem.js:608
msgid "Properties"
msgstr "Propietats"
#: ../fileItem.js:610
msgid "Show in Files"
msgstr "Mostra al Fitxers"
#: ../schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml.h:1
msgid "Icon size"
msgstr "Mida d'icona"
#: ../schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml.h:2
msgid "Set the size for the desktop icons."
msgstr "Estableix la mida per les icones de l'escriptori."
#: ../schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml.h:3
msgid "Show personal folder"
msgstr "Mostra la carpeta personal"
#: ../schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml.h:4
msgid "Show the personal folder in the desktop."
msgstr "Mostra la carpeta personal a l'escriptori."
#: ../schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml.h:5
msgid "Show trash icon"
msgstr "Mostra la icona de la paperera"
#: ../schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml.h:6
msgid "Show the trash icon in the desktop."
msgstr "Mostra la icona de la paperera a l'escriptori."
07070100000015000081A4000003E800000064000000015D9E5C1A00001284000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/cs.po# Czech translation for desktop-icons.
# Copyright (C) 2018 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Marek Černocký <marek@manet.cz>, 2018.
# Milan Zink <zeten30@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-08-16 20:54+0200\n"
"Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
"Language-Team: Czech <zeten30@gmail.com>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Poedit 2.2.3\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Název nové složky"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Vytvořit"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Zrušit"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Názvy složek nesmí obsahovat „/“."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Složka se nemůže jmenovat „.“."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Složka se nemůže jmenovat „..“."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Složky s „.“ na začátku jejich názvu jsou skryty."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Soubor nebo složka s tímto názvem již existuje."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Velikost ikon na pracovní ploše"
#: prefs.js:102
msgid "Small"
msgstr "malé"
#: prefs.js:102
msgid "Standard"
msgstr "standardní"
#: prefs.js:102
msgid "Large"
msgstr "velké"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Zobrazovat osobní složku na pracovní ploše"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Zobrazovat ikonu koše na pracovní ploše"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Nová složka"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Vložit"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Zpět"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Znovu"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Zobrazit plochu v Souborech"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Otevřít v terminálu"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Změnit pozadí…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Zobrazit nastavení"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Nastavení"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Zadejte název souboru…"
#: desktopGrid.js:586
msgid "OK"
msgstr "Budiž"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Příkaz nebyl nalezen"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Nepovolit spouštění"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Povolit spouštění"
#: fileItem.js:578
msgid "Open"
msgstr "Otevřít"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Otevřít pomocí jiné aplikace"
#: fileItem.js:586
msgid "Cut"
msgstr "Vyjmout"
#: fileItem.js:587
msgid "Copy"
msgstr "Kopírovat"
#: fileItem.js:589
msgid "Rename…"
msgstr "Přejmenovat…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Přesunout do koše"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Vyprázdnit koš"
#: fileItem.js:606
msgid "Properties"
msgstr "Vlastnosti"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Zobrazit v Souborech"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Velikost ikon"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Nastavit velikost pro ikony na pracovní ploše."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Zobrazovat osobní složku"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Zobrazovat osobní složku na pracovní ploše."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Zobrazovat koš"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Zobrazovat ikonu koše na pracovní ploše."
#~ msgid "Huge"
#~ msgstr "obrovské"
#~ msgid "Ok"
#~ msgstr "Ok"
07070100000016000081A4000003E800000064000000015D9E5C1A00001150000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/da.po# Danish translation for desktop-icons.
# Copyright (C) 2018 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Alan Mortensen <alanmortensen.am@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions"
"/desktop-icons/issues\n"
"POT-Creation-Date: 2019-03-01 12:11+0000\n"
"PO-Revision-Date: 2019-03-04 14:55+0200\n"
"Last-Translator: scootergrisen\n"
"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: createFolderDialog.js:48
#| msgid "New Folder"
msgid "New folder name"
msgstr "Nyt mappenavn"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Opret"
#: createFolderDialog.js:74 desktopGrid.js:586
msgid "Cancel"
msgstr "Annullér"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Mappenavne må ikke indeholde “/”."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "En mappe må ikke kaldes “.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "En mappe må ikke kaldes “..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Mapper med “.” i begyndelsen af deres navn er skjulte."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Der findes allerede en fil eller mappe med det navn."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Størrelsen på skrivebordsikoner"
#: prefs.js:102
msgid "Small"
msgstr "Små"
#: prefs.js:102
msgid "Standard"
msgstr "Standard"
#: prefs.js:102
msgid "Large"
msgstr "Store"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Vis den personlige mappe på skrivebordet"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Vis papirkurvsikonet på skrivebordet"
#: desktopGrid.js:320
msgid "New Folder"
msgstr "Ny mappe"
#: desktopGrid.js:322
msgid "Paste"
msgstr "Indsæt"
#: desktopGrid.js:323
msgid "Undo"
msgstr "Fortryd"
#: desktopGrid.js:324
msgid "Redo"
msgstr "Omgør"
#: desktopGrid.js:326
msgid "Show Desktop in Files"
msgstr "Vis skrivebordet i Filer"
#: desktopGrid.js:327 fileItem.js:606
msgid "Open in Terminal"
msgstr "Åbn i terminal"
#: desktopGrid.js:329
msgid "Change Background…"
msgstr "Skift baggrund …"
#: desktopGrid.js:331
msgid "Display Settings"
msgstr "Skærmindstillinger"
#: desktopGrid.js:332
msgid "Settings"
msgstr "Indstillinger"
#: desktopGrid.js:576
msgid "Enter file name…"
msgstr "Indtast filnavn …"
#: desktopGrid.js:580
msgid "OK"
msgstr "OK"
#: fileItem.js:490
msgid "Don’t Allow Launching"
msgstr "Tillad ikke opstart"
#: fileItem.js:492
msgid "Allow Launching"
msgstr "Tillad opstart"
#: fileItem.js:574
msgid "Open"
msgstr "Åbn"
#: fileItem.js:578
msgid "Open With Other Application"
msgstr "Åbn med et andet program"
#: fileItem.js:582
msgid "Cut"
msgstr "Klip"
#: fileItem.js:583
msgid "Copy"
msgstr "Kopiér"
#: fileItem.js:585
msgid "Rename…"
msgstr "Omdøb …"
#: fileItem.js:586
msgid "Move to Trash"
msgstr "Flyt til papirkurven"
#: fileItem.js:596
msgid "Empty Trash"
msgstr "Tøm papirkurven"
#: fileItem.js:602
msgid "Properties"
msgstr "Egenskaber"
#: fileItem.js:604
msgid "Show in Files"
msgstr "Vis i Filer"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Ikonstørrelse"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Angiv størrelsen på skrivebordsikoner."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Vis personlig mappe"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Vis den personlige mappe på skrivebordet."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Vis papirkurvsikon"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Vis papirkurvsikonet på skrivebordet."
#~ msgid "Huge"
#~ msgstr "Enorme"
07070100000017000081A4000003E800000064000000015D9E5C1A0000124E000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/de.po# German translation for desktop-icons.
# Copyright (C) 2018 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Mario Blättermann <mario.blaettermann@gmail.com>, 2018.
# rugk <rugk+i18n@posteo.de>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-03-07 22:46+0000\n"
"PO-Revision-Date: 2019-03-09 15:42+0100\n"
"Last-Translator: Tim Sabsch <tim@sabsch.com>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.2.1\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Neuer Ordner"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Erstellen"
#: createFolderDialog.js:74 desktopGrid.js:586
msgid "Cancel"
msgstr "Abbrechen"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Ordnernamen dürfen kein »/« enthalten."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Ein Ordner darf nicht ».« genannt werden."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Ein Ordner darf nicht »..« genannt werden."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Ordner mit ».« am Anfang sind verborgen."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Es gibt bereits eine Datei oder einen Ordner mit diesem Namen."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Größe der Arbeitsflächensymbole"
#: prefs.js:102
msgid "Small"
msgstr "Klein"
#: prefs.js:102
msgid "Standard"
msgstr "Standard"
#: prefs.js:102
msgid "Large"
msgstr "Groß"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Den persönlichen Ordner auf der Arbeitsfläche anzeigen"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Papierkorb-Symbol auf der Arbeitsfläche anzeigen"
#: desktopGrid.js:320
msgid "New Folder"
msgstr "Neuer Ordner"
#: desktopGrid.js:322
msgid "Paste"
msgstr "Einfügen"
#: desktopGrid.js:323
msgid "Undo"
msgstr "Rückgängig"
#: desktopGrid.js:324
msgid "Redo"
msgstr "Wiederholen"
#: desktopGrid.js:326
msgid "Show Desktop in Files"
msgstr "Schreibtisch in Dateien anzeigen"
#: desktopGrid.js:327 fileItem.js:606
msgid "Open in Terminal"
msgstr "Im Terminal öffnen"
#: desktopGrid.js:329
msgid "Change Background…"
msgstr "Hintergrund ändern …"
#: desktopGrid.js:331
msgid "Display Settings"
msgstr "Anzeigeeinstellungen"
#: desktopGrid.js:332
msgid "Settings"
msgstr "Einstellungen"
#: desktopGrid.js:576
msgid "Enter file name…"
msgstr "Dateinamen eingeben …"
#: desktopGrid.js:580
msgid "OK"
msgstr "OK"
#: fileItem.js:490
msgid "Don’t Allow Launching"
msgstr "Start nicht erlauben"
#: fileItem.js:492
msgid "Allow Launching"
msgstr "Start erlauben"
#: fileItem.js:574
msgid "Open"
msgstr "Öffnen"
#: fileItem.js:578
msgid "Open With Other Application"
msgstr "Mit anderer Anwendung öffnen"
#: fileItem.js:582
msgid "Cut"
msgstr "Ausschneiden"
#: fileItem.js:583
msgid "Copy"
msgstr "Kopieren"
#: fileItem.js:585
msgid "Rename…"
msgstr "Umbenennen …"
#: fileItem.js:586
msgid "Move to Trash"
msgstr "In den Papierkorb verschieben"
#: fileItem.js:596
msgid "Empty Trash"
msgstr "Papierkorb leeren"
#: fileItem.js:602
msgid "Properties"
msgstr "Eigenschaften"
#: fileItem.js:604
msgid "Show in Files"
msgstr "In Dateiverwaltung anzeigen"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Symbolgröße"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Die Größe der Arbeitsflächensymbole festlegen."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Persönlichen Ordner anzeigen"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Den persönlichen Ordner auf der Arbeitsfläche anzeigen."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Papierkorb-Symbol anzeigen"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Das Papierkorb-Symbol auf der Arbeitsfläche anzeigen."
#~ msgid "Huge"
#~ msgstr "Riesig"
07070100000018000081A4000003E800000064000000015D9E5C1A0000118C000000000000000000000000000000000000002200000000desktop-icons-19.10.2/po/en_GB.po# British English translation for desktop-icons.
# Copyright (C) 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Zander Brown <zbrown@gnome.org>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-08-22 15:53+0000\n"
"PO-Revision-Date: 2019-08-23 21:48+0100\n"
"Last-Translator: Zander Brown <zbrown@gnome.org>\n"
"Language-Team: English - United Kingdom <en_GB@li.org>\n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 3.32.1\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "New folder name"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Create"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Cancel"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Folder names cannot contain “/”."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "A folder cannot be called “.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "A folder cannot be called “..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Folders with “.” at the beginning of their name are hidden."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "There is already a file or folder with that name."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Size for the desktop icons"
#: prefs.js:102
msgid "Small"
msgstr "Small"
#: prefs.js:102
msgid "Standard"
msgstr "Standard"
#: prefs.js:102
msgid "Large"
msgstr "Large"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Show the personal folder on the desktop"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Show the wastebasket icon on the desktop"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "New Folder"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Paste"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Undo"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Redo"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Show Desktop in Files"
#: desktopGrid.js:330 fileItem.js:626
msgid "Open in Terminal"
msgstr "Open in Terminal"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Change Background…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Display Settings"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Settings"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Enter file name…"
#: desktopGrid.js:586
msgid "OK"
msgstr "OK"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Command not found"
#: fileItem.js:499
msgid "Don’t Allow Launching"
msgstr "Don’t Allow Launching"
#: fileItem.js:501
msgid "Allow Launching"
msgstr "Allow Launching"
#: fileItem.js:594
msgid "Open"
msgstr "Open"
#: fileItem.js:598
msgid "Open With Other Application"
msgstr "Open With Other Application"
#: fileItem.js:602
msgid "Cut"
msgstr "Cut"
#: fileItem.js:603
msgid "Copy"
msgstr "Copy"
#: fileItem.js:605
msgid "Rename…"
msgstr "Rename…"
#: fileItem.js:606
msgid "Move to Trash"
msgstr "Move to Wastebasket"
#: fileItem.js:616
msgid "Empty Trash"
msgstr "Empty Wastebasket"
#: fileItem.js:622
msgid "Properties"
msgstr "Properties"
#: fileItem.js:624
msgid "Show in Files"
msgstr "Show in Files"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Icon size"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Set the size for the desktop icons."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Show personal folder"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Show the personal folder on the desktop."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Show wastebasket icon"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Show the trash icon on the desktop."
07070100000019000081A4000003E800000064000000015D9E5C1A0000156C000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/es.po# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Sergio Costas <rastersoft@gmail.com>, 2018.
# Daniel Mustieles <daniel.mustieles@gmail.com>, 2018-2019.
#
msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-05-13 15:13+0200\n"
"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
"Language-Team: es <gnome-es-list@gnome.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Gtranslator 3.32.0\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Nombre de la nueva carpeta"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Crear"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Cancelar"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Los nombres de carpetas no pueden contener «/»."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Una carpeta no se puede llamar «.»."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Una carpeta no se puede llamar «..»."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Las carpetas cuyo nombre empieza por «.» están ocultas."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Ya hay un archivo o carpeta con ese nombre."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Tamaño de los iconos del escritorio"
#: prefs.js:102
msgid "Small"
msgstr "Pequeño"
#: prefs.js:102
msgid "Standard"
msgstr "Estándar"
#: prefs.js:102
msgid "Large"
msgstr "Grande"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Mostrar la carpeta personal en el escritorio"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Mostrar la papelera en el escritorio"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Nueva carpeta"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Pegar"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Deshacer"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Rehacer"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Mostrar el escritorio en Archivos"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Abrir en una terminal"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Cambiar el fondo..."
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Configuración de pantalla"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Configuración"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Introduzca el nombre del archivo…"
#: desktopGrid.js:586
msgid "OK"
msgstr "Aceptar"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Comando no encontrado"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "No permitir lanzar"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Permitir lanzar"
#: fileItem.js:578
msgid "Open"
msgstr "Abrir"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Abrir con otra aplicación"
#: fileItem.js:586
msgid "Cut"
msgstr "Cortar"
#: fileItem.js:587
msgid "Copy"
msgstr "Copiar"
#: fileItem.js:589
msgid "Rename…"
msgstr "Renombrar…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Mover a la papelera"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Vaciar la papelera"
#: fileItem.js:606
msgid "Properties"
msgstr "Propiedades"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Mostrar en Files"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Tamaño de los iconos"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Establece el tamaño de los iconos del escritorio."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Mostrar la carpeta personal"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Mostrar la carpeta personal en el escritorio."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Mostrar la papelera"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Mostrar la papelera en el escritorio."
#~ msgid "Huge"
#~ msgstr "Inmenso"
#~ msgid "Ok"
#~ msgstr "Aceptar"
#~ msgid "huge"
#~ msgstr "inmenso"
#~ msgid "Maximum width for the icons and filename."
#~ msgstr "Ancho máximo de los iconos y el nombre de fichero."
#~ msgid "Shows the Documents folder in the desktop."
#~ msgstr "Muestra la carpeta Documentos en el escritorio."
#~ msgid "Shows the Downloads folder in the desktop."
#~ msgstr "Muestra la carpeta Descargas en el escritorio."
#~ msgid "Shows the Music folder in the desktop."
#~ msgstr "Muestra la carpeta Música en el escritorio."
#~ msgid "Shows the Pictures folder in the desktop."
#~ msgstr "Muestra la carpeta Imágenes en el escritorio."
#~ msgid "Shows the Videos folder in the desktop."
#~ msgstr "Muestra la carpeta Vídeos en el escritorio."
0707010000001A000081A4000003E800000064000000015D9E5C1A000011D1000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/eu.po# Basque translation for desktop-icons.
# Copyright (C) 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Asier Sarasua Garmendia <asier.sarasua@gmail.com>, 2019.
#
msgid ""
msgstr "Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/issues\n"
"POT-Creation-Date: 2019-09-09 06:12+0000\n"
"PO-Revision-Date: 2019-09-15 10:00+0100\n"
"Last-Translator: Asier Sarasua Garmendia <asier.sarasua@gmail.com>\n"
"Language-Team: Basque <librezale@librezale.eus>\n"
"Language: eu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Karpetaren izen berria"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Sorrera"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Utzi"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Karpeta-izenak ezin du '/' karaktererik eduki."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Karpeta ezin da '.' gisa deitu."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Karpeta ezin da '..' gisa deitu."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Izenaren hasieran \".\" duten karpetak ezkutuan daude."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Badago izen hori duen fitxategi edo karpeta bat."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Mahaigaineko ikonoen tamaina"
#: prefs.js:102
msgid "Small"
msgstr "Txikia"
#: prefs.js:102
msgid "Standard"
msgstr "Arrunta"
#: prefs.js:102
msgid "Large"
msgstr "Handia"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Erakutsi karpeta pertsonala mahaigainean"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Erakutsi zakarrontziaren ikonoa mahaigainean"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Karpeta berria"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Itsatsi"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Desegin"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Berregin"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Erakutsi mahaigaina Fitxategiak aplikazioan"
#: desktopGrid.js:330 fileItem.js:626
msgid "Open in Terminal"
msgstr "Ireki terminalean"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Aldatu atzeko planoa…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Pantailaren ezarpenak"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Ezarpenak"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Sartu fitxategi-izena…"
#: desktopGrid.js:586
msgid "OK"
msgstr "Ados"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Ez da komandoa aurkitu"
#: fileItem.js:499
msgid "Don’t Allow Launching"
msgstr "Ez baimendu abiaraztea"
#: fileItem.js:501
msgid "Allow Launching"
msgstr "Baimendu abiaraztea"
#: fileItem.js:594
msgid "Open"
msgstr "Ireki"
#: fileItem.js:598
msgid "Open With Other Application"
msgstr "Ireki beste aplikazio batekin"
#: fileItem.js:602
msgid "Cut"
msgstr "Ebaki"
#: fileItem.js:603
msgid "Copy"
msgstr "Kopiatu"
#: fileItem.js:605
msgid "Rename…"
msgstr "Aldatu izena…"
#: fileItem.js:606
msgid "Move to Trash"
msgstr "Bota zakarrontzira"
#: fileItem.js:616
msgid "Empty Trash"
msgstr "Hustu zakarrontzia"
#: fileItem.js:622
msgid "Properties"
msgstr "Propietateak"
#: fileItem.js:624
msgid "Show in Files"
msgstr "Erakutsi Fitxategiak aplikazioan"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Ikonoaren tamaina"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Ezarri mahaigaineko ikonoen tamaina."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Erakutsi karpeta pertsonala"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Erakutsi karpeta pertsonala mahaigainean."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Erakutsi zakarrontziaren ikonoa"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Erakutsi zakarrontziaren ikonoa mahaigainean."
0707010000001B000081A4000003E800000064000000015D9E5C1A0000121B000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/fi.po# Finnish translation for desktop-icons.
# Copyright (C) 2018 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Jiri Grönroos <jiri.gronroos@iki.fi>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-06-02 15:23+0300\n"
"Last-Translator: Jiri Grönroos <jiri.gronroos+l10n@iki.fi>\n"
"Language-Team: Finnish <lokalisointi-lista@googlegroups.com>\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.6\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Uusi kansion nimi"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Luo"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Peru"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Kansion nimi ei voi sisältää merkkiä “/”."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Kansion nimi ei voi olla “.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Kansion nimi ei voi olla “..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Kansiot, joiden nimi alkaa merkillä “.”, ovat piilotettuja."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Nimi on jo toisen tiedoston tai kansion käytössä."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Työpöytäkuvakkeiden koko"
#: prefs.js:102
msgid "Small"
msgstr "Pieni"
#: prefs.js:102
msgid "Standard"
msgstr "Normaali"
#: prefs.js:102
msgid "Large"
msgstr "Suuri"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Näytä kotikansio työpöydällä"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Näytä roskakorin kuvake työpöydällä"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Uusi kansio"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Liitä"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Kumoa"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Tee uudeleen"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Näytä työpöytä tiedostonhallinnassa"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Avaa päätteessä"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Vaihda taustakuvaa…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Näytön asetukset"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Asetukset"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Anna tiedostonimi…"
#: desktopGrid.js:586
msgid "OK"
msgstr "OK"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Komentoa ei löydy"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Älä salli käynnistämistä"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Salli käynnistäminen"
#: fileItem.js:578
msgid "Open"
msgstr "Avaa"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Avaa toisella sovelluksella"
#: fileItem.js:586
msgid "Cut"
msgstr "Leikkaa"
#: fileItem.js:587
msgid "Copy"
msgstr "Kopioi"
#: fileItem.js:589
msgid "Rename…"
msgstr "Nimeä uudelleen…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Siirrä roskakoriin"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Tyhjennä roskakori"
#: fileItem.js:606
msgid "Properties"
msgstr "Ominaisuudet"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Näytä tiedostonhallinnassa"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Kuvakekoko"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Aseta työpöytäkuvakkeiden koko."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Näytä kotikansio"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Näytä kotikansio työpöydällä."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Näytä roskakorin kuvake"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Näytä roskakorin kuvake työpöydällä."
#~ msgid "Huge"
#~ msgstr "Valtava"
0707010000001C000081A4000003E800000064000000015D9E5C1A00000EA5000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/fr.po# French translation for desktop-icons.
# Copyright (C) 2018 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# ghentdebian <ghent.debian@gmail.com>, 2018.
# Charles Monzat <charles.monzat@numericable.fr>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2018-12-14 09:12+0000\n"
"PO-Revision-Date: 2018-12-16 17:47+0100\n"
"Last-Translator: Charles Monzat <charles.monzat@numericable.fr>\n"
"Language-Team: GNOME French Team <gnomefr@traduc.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"X-Generator: Gtranslator 3.30.0\n"
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Taille des icônes du bureau"
#: prefs.js:102
msgid "Small"
msgstr "Petite"
#: prefs.js:102
msgid "Standard"
msgstr "Normale"
#: prefs.js:102
msgid "Large"
msgstr "Grande"
#: prefs.js:102
msgid "Huge"
msgstr "Immense"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Montrer le dossier personnel sur le bureau"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Montrer la corbeille sur le bureau"
#: desktopGrid.js:182 desktopGrid.js:301
msgid "New Folder"
msgstr "Nouveau dossier"
#: desktopGrid.js:303
msgid "Paste"
msgstr "Coller"
#: desktopGrid.js:304
msgid "Undo"
msgstr "Annuler"
#: desktopGrid.js:305
msgid "Redo"
msgstr "Refaire"
#: desktopGrid.js:307
msgid "Open Desktop in Files"
msgstr "Ouvrir le bureau dans Fichiers"
#: desktopGrid.js:308
msgid "Open Terminal"
msgstr "Ouvrir un terminal"
#: desktopGrid.js:310
msgid "Change Background…"
msgstr "Changer l’arrière-plan…"
#: desktopGrid.js:311
msgid "Display Settings"
msgstr "Configuration d’affichage"
#: desktopGrid.js:312
msgid "Settings"
msgstr "Paramètres"
#: desktopGrid.js:568
msgid "Enter file name…"
msgstr "Saisir un nom de fichier…"
#: desktopGrid.js:572
msgid "OK"
msgstr "Valider"
#: desktopGrid.js:578
msgid "Cancel"
msgstr "Annuler"
#: fileItem.js:485
msgid "Don’t Allow Launching"
msgstr "Ne pas autoriser le lancement"
#: fileItem.js:487
msgid "Allow Launching"
msgstr "Autoriser le lancement"
#: fileItem.js:550
msgid "Open"
msgstr "Ouvrir"
#: fileItem.js:553
msgid "Cut"
msgstr "Couper"
#: fileItem.js:554
msgid "Copy"
msgstr "Copier"
#: fileItem.js:556
msgid "Rename"
msgstr "Renommer"
#: fileItem.js:557
msgid "Move to Trash"
msgstr "Mettre à la corbeille"
#: fileItem.js:567
msgid "Empty Trash"
msgstr "Vider la corbeille"
#: fileItem.js:573
msgid "Properties"
msgstr "Propriétés"
#: fileItem.js:575
msgid "Show in Files"
msgstr "Montrer dans Fichiers"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Icon size"
msgstr "Taille d’icônes"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:13
msgid "Set the size for the desktop icons."
msgstr "Définir la taille des icônes du bureau."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show personal folder"
msgstr "Montrer le dossier personnel"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:18
msgid "Show the personal folder in the desktop."
msgstr "Montrer le dossier personnel sur le bureau."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show trash icon"
msgstr "Montrer l’icône de la corbeille"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:23
msgid "Show the trash icon in the desktop."
msgstr "Montrer la corbeille sur le bureau."
#~ msgid "Ok"
#~ msgstr "Valider"
0707010000001D000081A4000003E800000064000000015D9E5C1A0000117D000000000000000000000000000000000000002000000000desktop-icons-19.10.2/po/fur.po# Friulian translation for desktop-icons.
# Copyright (C) 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Fabio Tomat <f.t.public@gmail.com>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-03-01 12:11+0000\n"
"PO-Revision-Date: 2019-03-05 22:20+0100\n"
"Last-Translator: Fabio Tomat <f.t.public@gmail.com>\n"
"Language-Team: Friulian <fur@li.org>\n"
"Language: fur\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Gnûf non de cartele"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Cree"
#: createFolderDialog.js:74 desktopGrid.js:586
msgid "Cancel"
msgstr "Anule"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "I nons des cartelis no puedin contignî il caratar “/”"
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Une cartele no pues jessi clamade “.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Une cartele no pues jessi clamade “..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Lis cartelis cul “.” al inizi dal lôr non a son platadis."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Un file o une cartele cul stes non e esist za."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Dimension pes iconis dal scritori"
#: prefs.js:102
msgid "Small"
msgstr "Piçule"
#: prefs.js:102
msgid "Standard"
msgstr "Standard"
#: prefs.js:102
msgid "Large"
msgstr "Largje"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Mostre la cartele personâl intal scritori"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Mostre la icone de scovacere intal scritori"
#: desktopGrid.js:320
msgid "New Folder"
msgstr "Gnove cartele"
#: desktopGrid.js:322
msgid "Paste"
msgstr "Tache"
#: desktopGrid.js:323
msgid "Undo"
msgstr "Anule"
#: desktopGrid.js:324
msgid "Redo"
msgstr "Torne fâ"
#: desktopGrid.js:326
msgid "Show Desktop in Files"
msgstr "Mostre Scritori in File"
#: desktopGrid.js:327 fileItem.js:606
msgid "Open in Terminal"
msgstr "Vierç in Terminâl"
#: desktopGrid.js:329
msgid "Change Background…"
msgstr "Cambie sfont…"
#: desktopGrid.js:331
msgid "Display Settings"
msgstr "Impostazions visôr"
#: desktopGrid.js:332
msgid "Settings"
msgstr "Impostazions"
#: desktopGrid.js:576
msgid "Enter file name…"
msgstr "Inserìs il non dal file…"
#: desktopGrid.js:580
msgid "OK"
msgstr "Va ben"
#: fileItem.js:490
msgid "Don’t Allow Launching"
msgstr "No sta permeti inviament"
#: fileItem.js:492
msgid "Allow Launching"
msgstr "Permet inviament"
#: fileItem.js:574
msgid "Open"
msgstr "Vierç"
#: fileItem.js:578
msgid "Open With Other Application"
msgstr "Vierç cuntune altre aplicazion"
#: fileItem.js:582
msgid "Cut"
msgstr "Taie"
#: fileItem.js:583
msgid "Copy"
msgstr "Copie"
#: fileItem.js:585
msgid "Rename…"
msgstr "Cambie non..."
#: fileItem.js:586
msgid "Move to Trash"
msgstr "Sposte te scovacere"
#: fileItem.js:596
msgid "Empty Trash"
msgstr "Disvuede scovacere"
#: fileItem.js:602
msgid "Properties"
msgstr "Propietâts"
#: fileItem.js:604
msgid "Show in Files"
msgstr "Mostre in File"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Dimension icone"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Stabilìs la dimension pes iconis dal scritori."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Mostre cartele personâl"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Mostre la cartele personâl intal scritori."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Mostre la icone de scovacere"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Mostre la icone de scovacere intal scritori."
0707010000001E000081A4000003E800000064000000015D9E5C1A000011FC000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/hr.po# Croatian translation for gnome-shell-extension-desktop-icons
# Copyright (c) 2019 Rosetta Contributors and Canonical Ltd 2019
# This file is distributed under the same license as the gnome-shell-extension-desktop-icons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extension-desktop-icons\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-06-22 18:52+0200\n"
"Last-Translator: gogo <trebelnik2@gmail.com>\n"
"Language-Team: Croatian <hr@li.org>\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2019-03-27 09:36+0000\n"
"X-Generator: Poedit 2.2.1\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Novi naziv mape"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Stvori"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Odustani"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Naziv mape ne može sadržavati “/”."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Mapa se ne može nazvati “.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Mapa se ne može nazvati “..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Mape sa “.” na početku njihovih naziva su skrivene."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Već postoji datoteka ili mapa s tim nazivom."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Veličina ikona radne površine"
#: prefs.js:102
msgid "Small"
msgstr "Male"
#: prefs.js:102
msgid "Standard"
msgstr "Standardne"
#: prefs.js:102
msgid "Large"
msgstr "Velike"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Prikaži osobnu mapu na radnoj površini"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Prikaži mapu smeća na radnoj površini"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Nova mapa"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Zalijepi"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Poništi"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Ponovi"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Prikaži radnu površinu u Datotekama"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Otvori u Terminalu"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Promijeni pozadinu…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Postavke zaslona"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Postavke"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Upiši naziv datoteke…"
#: desktopGrid.js:586
msgid "OK"
msgstr "U redu"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Naredba nije pronađena"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Ne dopuštaj pokretanje"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Dopusti pokretanje"
#: fileItem.js:578
msgid "Open"
msgstr "Otvori"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Otvori s drugom aplikacijom"
#: fileItem.js:586
msgid "Cut"
msgstr "Izreži"
#: fileItem.js:587
msgid "Copy"
msgstr "Kopiraj"
#: fileItem.js:589
msgid "Rename…"
msgstr "Preimenuj…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Premjesti u smeće"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Isprazni smeće"
#: fileItem.js:606
msgid "Properties"
msgstr "Svojstva"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Prikaži u Datotekama"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Veličina ikona"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Postavi veličinu ikona radne površine."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Prikaži osobnu mapu"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Prikaži osobnu mapu na radnoj površini."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Prikaži ikonu smeća"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Prikaži ikonu smeća na radnoj površini."
0707010000001F000081A4000003E800000064000000015D9E5C1A00001266000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/hu.po# Hungarian translation for desktop-icons.
# Copyright (C) 2019 The Free Software Foundation, inc.
# This file is distributed under the same license as the desktop-icons package.
#
# Balázs Úr <ur.balazs at fsf dot hu>, 2019.
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-i"
"cons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-06-01 18:50+0200\n"
"Last-Translator: Balázs Úr <ur.balazs at fsf dot hu>\n"
"Language-Team: Hungarian <gnome-hu-list at gnome dot org>\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 18.12.3\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Új mappa neve"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Létrehozás"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Mégse"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "A mappanevek nem tartalmazhatnak „/” karaktert."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Egy mappának nem lehet „.” a neve."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Egy mappának nem lehet „..” a neve."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "A „.” karakterrel kezdődő nevű mappák rejtettek."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Már van egy fájl vagy mappa azzal a névvel."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Az asztali ikonok mérete"
#: prefs.js:102
msgid "Small"
msgstr "Kicsi"
#: prefs.js:102
msgid "Standard"
msgstr "Szabványos"
#: prefs.js:102
msgid "Large"
msgstr "Nagy"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "A személyes mappa megjelenítése az asztalon"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "A kuka ikon megjelenítése az asztalon"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Új mappa"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Beillesztés"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Visszavonás"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Újra"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Asztal megjelenítése a Fájlokban"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Megnyitás terminálban"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Háttér megváltoztatása…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Megjelenítés beállításai"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Beállítások"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Adjon meg egy fájlnevet…"
#: desktopGrid.js:586
msgid "OK"
msgstr "Rendben"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "A parancs nem található"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Ne engedélyezzen indítást"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Indítás engedélyezése"
#: fileItem.js:578
msgid "Open"
msgstr "Megnyitás"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Megnyitás egyéb alkalmazással"
#: fileItem.js:586
msgid "Cut"
msgstr "Kivágás"
#: fileItem.js:587
msgid "Copy"
msgstr "Másolás"
#: fileItem.js:589
msgid "Rename…"
msgstr "Átnevezés…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Áthelyezés a Kukába"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Kuka ürítése"
#: fileItem.js:606
msgid "Properties"
msgstr "Tulajdonságok"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Megjelenítés a Fájlokban"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Ikonméret"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Az asztali ikonok méretének beállítása."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Személyes mappa megjelenítése"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "A személyes mappa megjelenítése az asztalon."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Kuka ikon megjelenítése"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "A kuka ikon megjelenítése az asztalon."
07070100000020000081A4000003E800000064000000015D9E5C1A000011B3000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/id.po# Indonesian translation for desktop-icons.
# Copyright (C) 2018 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Kukuh Syafaat <kukuhsyafaat@gnome.org>, 2018, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-07-11 13:57+0700\n"
"Last-Translator: Kukuh Syafaat <kukuhsyafaat@gnome.org>\n"
"Language-Team: Indonesian <gnome-l10n-id@googlegroups.com>\n"
"Language: id\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.3\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Nama folder baru"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Buat"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Batal"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Nama folder tak boleh memuat \"/\"."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Sebuah folder tak bisa dinamai \".\"."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Sebuah folder tak bisa dinamai \"..\"."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Folder dengan \".\" di awal nama mereka disembunyikan."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Folder dengan nama itu sudah ada."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Ukuran untuk ikon destop"
#: prefs.js:102
msgid "Small"
msgstr "Kecil"
#: prefs.js:102
msgid "Standard"
msgstr "Standar"
#: prefs.js:102
msgid "Large"
msgstr "Besar"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Tampilkan folder pribadi di destop"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Tampilkan ikon tong sampah di destop"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Folder Baru"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Tempel"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Tak Jadi"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Jadi Lagi"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Tampilkan Destop pada Berkas"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Buka dalam Terminal"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Ubah Latar Belakang…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Pengaturan Tampilan"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Pengaturan"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Masukkan nama berkas…"
#: desktopGrid.js:586
msgid "OK"
msgstr "OK"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Perintah tidak ditemukan"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Jangan Izinkan Peluncuran"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Izinkan Peluncuran"
#: fileItem.js:578
msgid "Open"
msgstr "Buka"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Buka Dengan Aplikasi Lain"
#: fileItem.js:586
msgid "Cut"
msgstr "Potong"
#: fileItem.js:587
msgid "Copy"
msgstr "Salin"
#: fileItem.js:589
msgid "Rename…"
msgstr "Ganti Nama…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Pindahkan ke Tong Sampah"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Kosongkan Tong Sampah"
#: fileItem.js:606
msgid "Properties"
msgstr "Properti"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Tampilkan pada Berkas"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Ukuran ikon"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Set ukuran untuk ikon destop."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Tampilkan folder pribadi"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Tampilkan folder pribadi di destop."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Tampilkan ikon tong sampah"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Tampilkan ikon tong sampah di destop."
#~ msgid "Huge"
#~ msgstr "Sangat besar"
07070100000021000081A4000003E800000064000000015D9E5C1A000011DE000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/it.po# Italian translation for desktop-icons.
# Copyright (C) 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Massimo Branchini <max.bra.gtalk@gmail.com>, 2019.
# Milo Casagrande <milo@milo.name>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-03-01 12:11+0000\n"
"PO-Revision-Date: 2019-03-12 09:51+0100\n"
"Last-Translator: Milo Casagrande <milo@milo.name>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.2.1\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Nuova cartella"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Crea"
#: createFolderDialog.js:74 desktopGrid.js:586
msgid "Cancel"
msgstr "Annulla"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "I nomi di cartelle non possono contenere il carattere «/»"
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Una cartella non può essere chiamata «.»."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Una cartella non può essere chiamata «..»."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Cartelle il cui nome inizia con «.» sono nascoste."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Esiste già un file o una cartella con quel nome."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Dimensione delle icone della scrivania"
#: prefs.js:102
msgid "Small"
msgstr "Piccola"
#: prefs.js:102
msgid "Standard"
msgstr "Normale"
#: prefs.js:102
msgid "Large"
msgstr "Grande"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Mostra la cartella personale sulla scrivania"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Mostra il cestino sulla scrivania"
#: desktopGrid.js:320
msgid "New Folder"
msgstr "Nuova cartella"
#: desktopGrid.js:322
msgid "Paste"
msgstr "Incolla"
#: desktopGrid.js:323
msgid "Undo"
msgstr "Annulla"
#: desktopGrid.js:324
msgid "Redo"
msgstr "Ripeti"
#: desktopGrid.js:326
msgid "Show Desktop in Files"
msgstr "Mostra la scrivania in File"
#: desktopGrid.js:327 fileItem.js:606
msgid "Open in Terminal"
msgstr "Apri in Terminale"
#: desktopGrid.js:329
msgid "Change Background…"
msgstr "Cambia lo sfondo…"
#: desktopGrid.js:331
msgid "Display Settings"
msgstr "Impostazioni dello schermo"
#: desktopGrid.js:332
msgid "Settings"
msgstr "Impostazioni"
#: desktopGrid.js:576
msgid "Enter file name…"
msgstr "Indicare un nome per il file…"
#: desktopGrid.js:580
msgid "OK"
msgstr "Ok"
#: fileItem.js:490
msgid "Don’t Allow Launching"
msgstr "Non permettere l'esecuzione"
#: fileItem.js:492
msgid "Allow Launching"
msgstr "Permetti l'esecuzione"
#: fileItem.js:574
msgid "Open"
msgstr "Apri"
#: fileItem.js:578
msgid "Open With Other Application"
msgstr "Apri con altra applicazione"
#: fileItem.js:582
msgid "Cut"
msgstr "Taglia"
#: fileItem.js:583
msgid "Copy"
msgstr "Copia"
#: fileItem.js:585
msgid "Rename…"
msgstr "Rinomina…"
#: fileItem.js:586
msgid "Move to Trash"
msgstr "Sposta nel cestino"
#: fileItem.js:596
msgid "Empty Trash"
msgstr "Svuota il cestino"
#: fileItem.js:602
msgid "Properties"
msgstr "Proprietà"
#: fileItem.js:604
msgid "Show in Files"
msgstr "Mostra in File"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Dimensione dell'icona"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Imposta la grandezza delle icone della scrivania."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Mostra la cartella personale"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Mostra la cartella personale sulla scrivania."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Mostra il cestino"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Mostra il cestino sulla scrivania."
07070100000022000081A4000003E800000064000000015D9E5C1A00001378000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/ja.po# Japanese translation for desktop-icons.
# Copyright (C) 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# sicklylife <translation@sicklylife.jp>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-08-29 12:49+0000\n"
"PO-Revision-Date: 2019-09-17 21:30+0900\n"
"Last-Translator: sicklylife <translation@sicklylife.jp>\n"
"Language-Team: Japanese <gnome-translation@gnome.gr.jp>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "新しいフォルダー名"
#: createFolderDialog.js:72
msgid "Create"
msgstr "作成"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "キャンセル"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "“/”は、フォルダー名に含められません。"
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "“.”という名前をフォルダーに付けられません。"
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "“..”という名前をフォルダーに付けられません。"
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "名前が“.”で始まるフォルダーは、隠しフォルダーになります。"
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "その名前のファイルかフォルダーがすでに存在します。"
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "デスクトップアイコンのサイズ"
#: prefs.js:102
msgid "Small"
msgstr "小さい"
#: prefs.js:102
msgid "Standard"
msgstr "標準"
#: prefs.js:102
msgid "Large"
msgstr "大きい"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "デスクトップにホームフォルダーを表示する"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "デスクトップにゴミ箱を表示する"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "新しいフォルダー"
#: desktopGrid.js:325
msgid "Paste"
msgstr "貼り付け"
#: desktopGrid.js:326
msgid "Undo"
msgstr "元に戻す"
#: desktopGrid.js:327
msgid "Redo"
msgstr "やり直す"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "“ファイル”でデスクトップを表示"
#: desktopGrid.js:330 fileItem.js:626
msgid "Open in Terminal"
msgstr "端末で開く"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "背景の変更…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "ディスプレイの設定"
#: desktopGrid.js:335
msgid "Settings"
msgstr "設定"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "ファイル名を入力してください…"
#: desktopGrid.js:586
msgid "OK"
msgstr "OK"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "コマンドが見つかりません"
#: fileItem.js:499
msgid "Don’t Allow Launching"
msgstr "起動を許可しない"
#: fileItem.js:501
msgid "Allow Launching"
msgstr "起動を許可する"
#: fileItem.js:594
msgid "Open"
msgstr "開く"
#: fileItem.js:598
msgid "Open With Other Application"
msgstr "別のアプリケーションで開く"
#: fileItem.js:602
msgid "Cut"
msgstr "切り取り"
#: fileItem.js:603
msgid "Copy"
msgstr "コピー"
#: fileItem.js:605
msgid "Rename…"
msgstr "名前の変更…"
#: fileItem.js:606
msgid "Move to Trash"
msgstr "ゴミ箱へ移動する"
#: fileItem.js:616
msgid "Empty Trash"
msgstr "ゴミ箱を空にする"
#: fileItem.js:622
msgid "Properties"
msgstr "プロパティ"
#: fileItem.js:624
msgid "Show in Files"
msgstr "“ファイル”で表示"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "アイコンサイズ"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "デスクトップのアイコンサイズを設定します。"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "ホームフォルダーを表示する"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "デスクトップにホームフォルダーを表示します。"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "ゴミ箱アイコンを表示する"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "デスクトップにゴミ箱のアイコンを表示します。"
07070100000023000081A4000003E800000064000000015D9E5C1A00000035000000000000000000000000000000000000002500000000desktop-icons-19.10.2/po/meson.buildi18n.gettext (meson.project_name (), preset: 'glib')
07070100000024000081A4000003E800000064000000015D9E5C1A000011CE000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/nl.po# Dutch translation for desktop-icons.
# Copyright (C) 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Nathan Follens <nthn@unseen.is>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-03-01 12:11+0000\n"
"PO-Revision-Date: 2019-03-04 19:46+0100\n"
"Last-Translator: Nathan Follens <nthn@unseen.is>\n"
"Language-Team: Dutch <gnome-nl-list@gnome.org>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.2.1\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Nieuwe mapnaam"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Aanmaken"
#: createFolderDialog.js:74 desktopGrid.js:586
msgid "Cancel"
msgstr "Annuleren"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Mapnamen kunnen geen ‘/’ bevatten."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Een map kan niet ‘.’ worden genoemd."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Een map kan niet ‘..’ worden genoemd."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Mappen waarvan de naam begint met ‘.’ zijn verborgen."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Er bestaat al een bestand of map met die naam."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Grootte van bureaubladpictogrammen"
#: prefs.js:102
msgid "Small"
msgstr "Klein"
#: prefs.js:102
msgid "Standard"
msgstr "Standaard"
#: prefs.js:102
msgid "Large"
msgstr "Groot"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Toon de persoonlijke map op het bureaublad"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Toon het prullenbakpictogram op het bureaublad"
#: desktopGrid.js:320
msgid "New Folder"
msgstr "Nieuwe map"
#: desktopGrid.js:322
msgid "Paste"
msgstr "Plakken"
#: desktopGrid.js:323
msgid "Undo"
msgstr "Ongedaan maken"
#: desktopGrid.js:324
msgid "Redo"
msgstr "Opnieuw"
#: desktopGrid.js:326
msgid "Show Desktop in Files"
msgstr "Bureaublad tonen in Bestanden"
#: desktopGrid.js:327 fileItem.js:606
msgid "Open in Terminal"
msgstr "Openen in terminalvenster"
#: desktopGrid.js:329
msgid "Change Background…"
msgstr "Achtergrond aanpassen…"
#: desktopGrid.js:331
msgid "Display Settings"
msgstr "Scherminstellingen"
#: desktopGrid.js:332
msgid "Settings"
msgstr "Instellingen"
#: desktopGrid.js:576
msgid "Enter file name…"
msgstr "Voer bestandsnaam in…"
#: desktopGrid.js:580
msgid "OK"
msgstr "Oké"
#: fileItem.js:490
msgid "Don’t Allow Launching"
msgstr "Toepassingen starten niet toestaan"
#: fileItem.js:492
msgid "Allow Launching"
msgstr "Toepassingen starten toestaan"
#: fileItem.js:574
msgid "Open"
msgstr "Openen"
#: fileItem.js:578
msgid "Open With Other Application"
msgstr "Met andere toepassing openen"
#: fileItem.js:582
msgid "Cut"
msgstr "Knippen"
#: fileItem.js:583
msgid "Copy"
msgstr "Kopiëren"
#: fileItem.js:585
msgid "Rename…"
msgstr "Hernoemen…"
#: fileItem.js:586
msgid "Move to Trash"
msgstr "Verplaatsen naar prullenbak"
#: fileItem.js:596
msgid "Empty Trash"
msgstr "Prullenbak legen"
#: fileItem.js:602
msgid "Properties"
msgstr "Eigenschappen"
#: fileItem.js:604
msgid "Show in Files"
msgstr "Tonen in Bestanden"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Pictogramgrootte"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Stel de grootte van de bureaubladpictogrammen in."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Persoonlijke map tonen"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Toon de persoonlijke map op het bureaublad."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Prullenbakpictogram tonen"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Toon het prullenbakpictogram op het bureaublad."
07070100000025000081A4000003E800000064000000015D9E5C1A000011ED000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/pl.po# Polish translation for desktop-icons.
# Copyright © 2018-2019 the desktop-icons authors.
# This file is distributed under the same license as the desktop-icons package.
# Piotr Drąg <piotrdrag@gmail.com>, 2018-2019.
# Aviary.pl <community-poland@mozilla.org>, 2018-2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-05-01 13:03+0200\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <community-poland@mozilla.org>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Nazwa nowego katalogu"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Utwórz"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Anuluj"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Nazwy katalogów nie mogą zawierać znaku „/”."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Katalog nie może mieć nazwy „.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Katalog nie może mieć nazwy „..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Katalogi z „.” na początku nazwy są ukryte."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Plik lub katalog o tej nazwie już istnieje."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Rozmiar ikon na pulpicie"
#: prefs.js:102
msgid "Small"
msgstr "Mały"
#: prefs.js:102
msgid "Standard"
msgstr "Standardowy"
#: prefs.js:102
msgid "Large"
msgstr "Duży"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Katalog domowy na pulpicie"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Kosz na pulpicie"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Nowy katalog"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Wklej"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Cofnij"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Ponów"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Wyświetl pulpit w menedżerze plików"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Otwórz w terminalu"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Zmień tło…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Ustawienia ekranu"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Ustawienia"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Nazwa pliku…"
#: desktopGrid.js:586
msgid "OK"
msgstr "OK"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Nie odnaleziono polecenia"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Nie zezwalaj na uruchamianie"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Zezwól na uruchamianie"
#: fileItem.js:578
msgid "Open"
msgstr "Otwórz"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Otwórz za pomocą innego programu"
#: fileItem.js:586
msgid "Cut"
msgstr "Wytnij"
#: fileItem.js:587
msgid "Copy"
msgstr "Skopiuj"
#: fileItem.js:589
msgid "Rename…"
msgstr "Zmień nazwę…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Przenieś do kosza"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Opróżnij kosz"
#: fileItem.js:606
msgid "Properties"
msgstr "Właściwości"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Wyświetl w menedżerze plików"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Rozmiar ikon"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Ustawia rozmiar ikon na pulpicie."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Katalog domowy"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Wyświetla katalog domowy na pulpicie."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Kosz"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Wyświetla kosz na pulpicie."
07070100000026000081A4000003E800000064000000015D9E5C1A000012D1000000000000000000000000000000000000002200000000desktop-icons-19.10.2/po/pt_BR.po# Brazilian Portuguese translation for desktop-icons.
# Copyright (C) 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Enrico Nicoletto <liverig@gmail.com>, 2018.
# Rafael Fontenelle <rafaelff@gnome.org>, 2018-2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-04-29 17:35-0300\n"
"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"X-Generator: Gtranslator 3.32.0\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Nome da nova pasta"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Criar"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Cancelar"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Nomes de pastas não podem conter “/”."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Uma pasta não pode ser chamada “.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Uma pasta não pode ser chamada “..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Pastas com “.” no começo de seus nomes são ocultas."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Já existe um arquivo ou uma pasta com esse nome."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Tamanho para os ícones da área de trabalho"
#: prefs.js:102
msgid "Small"
msgstr "Pequeno"
#: prefs.js:102
msgid "Standard"
msgstr "Padrão"
#: prefs.js:102
msgid "Large"
msgstr "Grande"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Mostrar a pasta pessoal na área de trabalho"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Mostrar o ícone da lixeira na área de trabalho"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Nova pasta"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Colar"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Desfazer"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Refazer"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Mostrar a área de trabalho no Arquivos"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Abrir no terminal"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Alterar plano de fundo…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Configurações de exibição"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Configurações"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Insira um nome de arquivo…"
#: desktopGrid.js:586
msgid "OK"
msgstr "OK"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Comando não encontrado"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Não permitir iniciar"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Permitir iniciar"
#: fileItem.js:578
msgid "Open"
msgstr "Abrir"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Abrir com outro aplicativo"
#: fileItem.js:586
msgid "Cut"
msgstr "Recortar"
#: fileItem.js:587
msgid "Copy"
msgstr "Copiar"
#: fileItem.js:589
msgid "Rename…"
msgstr "Renomear…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Mover para a lixeira"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Esvaziar lixeira"
#: fileItem.js:606
msgid "Properties"
msgstr "Propriedades"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Mostrar no Arquivos"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Tamanho do ícone"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Define o tamanho para os ícones da área de trabalho."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Mostrar pasta pessoal"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Mostra a pasta pessoal na área de trabalho."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Mostrar ícone da lixeira"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Mostra o ícone da lixeira na área de trabalho."
#~ msgid "Huge"
#~ msgstr "Enorme"
#~ msgid "Ok"
#~ msgstr "Ok"
07070100000027000081A4000003E800000064000000015D9E5C1A00000F8D000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/ru.po# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Eaglers <eaglersdeveloper@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2018-11-22 08:42+0000\n"
"PO-Revision-Date: 2018-11-22 22:02+0300\n"
"Last-Translator: Stas Solovey <whats_up@tut.by>\n"
"Language-Team: Russian <gnome-cyr@gnome.org>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 2.2\n"
#: prefs.js:89
msgid "Size for the desktop icons"
msgstr "Размер значков"
#: prefs.js:89
msgid "Small"
msgstr "Маленький"
#: prefs.js:89
msgid "Standard"
msgstr "Стандартный"
#: prefs.js:89
msgid "Large"
msgstr "Большой"
#: prefs.js:89
msgid "Huge"
msgstr "Огромный"
#: prefs.js:90
msgid "Show the personal folder in the desktop"
msgstr "Показывать домашнюю папку на рабочем столе"
#: prefs.js:91
msgid "Show the trash icon in the desktop"
msgstr "Показывать «Корзину» на рабочем столе"
#: desktopGrid.js:185 desktopGrid.js:304
msgid "New Folder"
msgstr "Создать папку"
#: desktopGrid.js:306
msgid "Paste"
msgstr "Вставить"
#: desktopGrid.js:307
msgid "Undo"
msgstr "Отменить"
#: desktopGrid.js:308
msgid "Redo"
msgstr "Повторить"
#: desktopGrid.js:310
msgid "Open Desktop in Files"
msgstr "Открыть «Рабочий стол» в «Файлах»"
#: desktopGrid.js:311
msgid "Open Terminal"
msgstr "Открыть терминал"
#: desktopGrid.js:313
msgid "Change Background…"
msgstr "Изменить фон…"
#: desktopGrid.js:314
msgid "Display Settings"
msgstr "Настройки дисплея"
#: desktopGrid.js:315
msgid "Settings"
msgstr "Параметры"
#: desktopGrid.js:569
msgid "Enter file name…"
msgstr "Ввести имя файла…"
#: desktopGrid.js:573
msgid "Ok"
msgstr "ОК"
#: desktopGrid.js:579
msgid "Cancel"
msgstr "Отмена"
#: fileItem.js:390
msgid "Open"
msgstr "Открыть"
#: fileItem.js:393
msgid "Cut"
msgstr "Вырезать"
#: fileItem.js:394
msgid "Copy"
msgstr "Вставить"
#: fileItem.js:395
msgid "Rename"
msgstr "Переименовать"
#: fileItem.js:396
msgid "Move to Trash"
msgstr "Переместить в корзину"
#: fileItem.js:400
msgid "Empty trash"
msgstr "Очистить корзину"
#: fileItem.js:406
msgid "Properties"
msgstr "Свойства"
#: fileItem.js:408
msgid "Show in Files"
msgstr "Показать в «Файлах»"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Icon size"
msgstr "Размер значков"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:13
msgid "Set the size for the desktop icons."
msgstr "Установить размер значков на рабочем столе."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show personal folder"
msgstr "Показывать домашнюю папку"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:18
msgid "Show the personal folder in the desktop."
msgstr "Показывать значок домашней папки на рабочем столе."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show trash icon"
msgstr "Показывать значок корзины"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:23
msgid "Show the trash icon in the desktop."
msgstr "Показывать значок корзины на рабочем столе."
07070100000028000081A4000003E800000064000000015D9E5C1A000012A7000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/sv.po# Swedish translation for desktop-icons.
# Copyright © 2018, 2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Anders Jonsson <anders.jonsson@norsjovallen.se>, 2018, 2019.
# Josef Andersson <l10nl18nsweja@gmail.com>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-08-22 17:52+0200\n"
"Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.2.3\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Nytt mappnamn"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Skapa"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "Avbryt"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Mappnamn kan inte innehålla ”/”."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "En mapp kan inte kallas ”.”."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "En mapp kan inte kallas ”..”."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Mappar med ”.” i början på sitt namn är dolda."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Det finns redan en fil eller mapp med det namnet"
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Storlek för skrivbordsikonerna"
#: prefs.js:102
msgid "Small"
msgstr "Liten"
#: prefs.js:102
msgid "Standard"
msgstr "Standard"
#: prefs.js:102
msgid "Large"
msgstr "Stor"
# TODO: *ON* the desktop?
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Visa den personliga mappen på skrivbordet"
# TODO: *ON* the desktop?
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Visa papperskorgsikonen på skrivbordet"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Ny mapp"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Klistra in"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Ångra"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Gör om"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Visa skrivbord i Filer"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Öppna i terminal"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Ändra bakgrund…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Visningsinställningar"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Inställningar"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Ange filnamn…"
#: desktopGrid.js:586
msgid "OK"
msgstr "OK"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Kommandot hittades inte"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Tillåt ej programstart"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Tillåt programstart"
#: fileItem.js:578
msgid "Open"
msgstr "Öppna"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Öppna med annat program"
#: fileItem.js:586
msgid "Cut"
msgstr "Klipp ut"
#: fileItem.js:587
msgid "Copy"
msgstr "Kopiera"
#: fileItem.js:589
msgid "Rename…"
msgstr "Byt namn…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Flytta till papperskorgen"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Töm papperskorgen"
#: fileItem.js:606
msgid "Properties"
msgstr "Egenskaper"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Visa i Filer"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Ikonstorlek"
# TODO: *ON* the desktop?
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Ställ in storleken för skrivbordsikonerna."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Visa personlig mapp"
# TODO: *ON* the desktop?
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Visa den personliga mappen på skrivbordet."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Visa papperskorgsikon"
# TODO: *ON* the desktop?
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Visa papperskorgsikonen på skrivbordet."
#~ msgid "Huge"
#~ msgstr "Enorm"
07070100000029000081A4000003E800000064000000015D9E5C1A0000121C000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/po/tr.po# Turkish translation for desktop-icons.
# Copyright (C) 2000-2019 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
#
# Sabri Ünal <libreajans@gmail.com>, 2019.
# Serdar Sağlam <teknomobil@yandex.com>, 2019
# Emin Tufan Çetin <etcetin@gmail.com>, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2019-04-29 14:11+0000\n"
"PO-Revision-Date: 2019-09-08 19:49+0300\n"
"Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
"Language-Team: Türkçe <gnome-turk@gnome.org>\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.6\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: createFolderDialog.js:48
msgid "New folder name"
msgstr "Yeni klasör adı"
#: createFolderDialog.js:72
msgid "Create"
msgstr "Oluştur"
#: createFolderDialog.js:74 desktopGrid.js:592
msgid "Cancel"
msgstr "İptal"
#: createFolderDialog.js:145
msgid "Folder names cannot contain “/”."
msgstr "Klasör adları “/” içeremez."
#: createFolderDialog.js:148
msgid "A folder cannot be called “.”."
msgstr "Bir klasör “.” olarak adlandırılamaz."
#: createFolderDialog.js:151
msgid "A folder cannot be called “..”."
msgstr "Bir klasör “..” olarak adlandırılamaz."
#: createFolderDialog.js:153
msgid "Folders with “.” at the beginning of their name are hidden."
msgstr "Adlarının başında “.” bulunan klasörler gizlenir."
#: createFolderDialog.js:155
msgid "There is already a file or folder with that name."
msgstr "Zaten bu adda bir dosya veya klasör var."
#: prefs.js:102
msgid "Size for the desktop icons"
msgstr "Masaüstü simgeleri boyutu"
#: prefs.js:102
msgid "Small"
msgstr "Küçük"
#: prefs.js:102
msgid "Standard"
msgstr "Standart"
#: prefs.js:102
msgid "Large"
msgstr "Büyük"
#: prefs.js:103
msgid "Show the personal folder in the desktop"
msgstr "Kişisel klasörü masaüstünde göster"
#: prefs.js:104
msgid "Show the trash icon in the desktop"
msgstr "Çöp kutusunu masaüstünde göster"
#: desktopGrid.js:323
msgid "New Folder"
msgstr "Yeni Klasör"
#: desktopGrid.js:325
msgid "Paste"
msgstr "Yapıştır"
#: desktopGrid.js:326
msgid "Undo"
msgstr "Geri Al"
#: desktopGrid.js:327
msgid "Redo"
msgstr "Yinele"
#: desktopGrid.js:329
msgid "Show Desktop in Files"
msgstr "Masaüstünü Dosyalarʼda Göster"
#: desktopGrid.js:330 fileItem.js:610
msgid "Open in Terminal"
msgstr "Uçbirimde Aç"
#: desktopGrid.js:332
msgid "Change Background…"
msgstr "Arka Planı Değiştir…"
#: desktopGrid.js:334
msgid "Display Settings"
msgstr "Görüntü Ayarları"
#: desktopGrid.js:335
msgid "Settings"
msgstr "Ayarlar"
#: desktopGrid.js:582
msgid "Enter file name…"
msgstr "Dosya adını gir…"
#: desktopGrid.js:586
msgid "OK"
msgstr "Tamam"
#: desktopIconsUtil.js:61
msgid "Command not found"
msgstr "Komut bulunamadı"
#: fileItem.js:494
msgid "Don’t Allow Launching"
msgstr "Başlatmaya İzin Verme"
#: fileItem.js:496
msgid "Allow Launching"
msgstr "Başlatmaya İzin Ver"
#: fileItem.js:578
msgid "Open"
msgstr "Aç"
#: fileItem.js:582
msgid "Open With Other Application"
msgstr "Başka Uygulamayla Aç"
#: fileItem.js:586
msgid "Cut"
msgstr "Kes"
#: fileItem.js:587
msgid "Copy"
msgstr "Kopyala"
#: fileItem.js:589
msgid "Rename…"
msgstr "Yeniden Adlandır…"
#: fileItem.js:590
msgid "Move to Trash"
msgstr "Çöpe Taşı"
#: fileItem.js:600
msgid "Empty Trash"
msgstr "Çöpü Boşalt"
#: fileItem.js:606
msgid "Properties"
msgstr "Özellikler"
#: fileItem.js:608
msgid "Show in Files"
msgstr "Dosyalarʼda Göster"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:11
msgid "Icon size"
msgstr "Simge boyutu"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Set the size for the desktop icons."
msgstr "Masaüstü simgelerinin boyutunu ayarla."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:16
msgid "Show personal folder"
msgstr "Kişisel klasörü göster"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show the personal folder in the desktop."
msgstr "Kişisel klasörü masaüstünde göster."
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:21
msgid "Show trash icon"
msgstr "Çöp kutusunu göster"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show the trash icon in the desktop."
msgstr "Çöp kutusu simgesini masaüstünde göster."
0707010000002A000081A4000003E800000064000000015D9E5C1A00000C17000000000000000000000000000000000000002200000000desktop-icons-19.10.2/po/zh_TW.po# Chinese (Taiwan) translation for desktop-icons.
# Copyright (C) 2018 desktop-icons's COPYRIGHT HOLDER
# This file is distributed under the same license as the desktop-icons package.
# Yi-Jyun Pan <pan93412@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: desktop-icons master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/ShellExtensions/desktop-"
"icons/issues\n"
"POT-Creation-Date: 2018-10-22 14:12+0000\n"
"PO-Revision-Date: 2018-10-24 21:31+0800\n"
"Language-Team: Chinese (Taiwan) <chinese-l10n@googlegroups.com>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: pan93412 <pan93412@gmail.com>\n"
"X-Generator: Poedit 2.2\n"
#: prefs.js:89
msgid "Size for the desktop icons"
msgstr "桌面圖示的大小"
#: prefs.js:89
msgid "Small"
msgstr "小圖示"
#: prefs.js:89
msgid "Standard"
msgstr "標準大小圖示"
#: prefs.js:89
msgid "Large"
msgstr "大圖示"
#: prefs.js:89
msgid "Huge"
msgstr "巨大圖示"
#: prefs.js:90
msgid "Show the personal folder in the desktop"
msgstr "在桌面顯示個人資料夾"
#: prefs.js:91
msgid "Show the trash icon in the desktop"
msgstr "在桌面顯示垃圾桶圖示"
#: desktopGrid.js:178 desktopGrid.js:297
msgid "New Folder"
msgstr "新增資料夾"
#: desktopGrid.js:299
msgid "Paste"
msgstr "貼上"
#: desktopGrid.js:300
msgid "Undo"
msgstr "復原"
#: desktopGrid.js:301
msgid "Redo"
msgstr "重做"
#: desktopGrid.js:303
msgid "Open Desktop in Files"
msgstr "在《檔案》中開啟桌面"
#: desktopGrid.js:304
msgid "Open Terminal"
msgstr "開啟終端器"
#: desktopGrid.js:306
msgid "Change Background…"
msgstr "變更背景圖片…"
#: desktopGrid.js:307
msgid "Display Settings"
msgstr "顯示設定"
#: desktopGrid.js:308
msgid "Settings"
msgstr "設定"
#: fileItem.js:223
msgid "Open"
msgstr "開啟"
#: fileItem.js:226
msgid "Cut"
msgstr "剪下"
#: fileItem.js:227
msgid "Copy"
msgstr "複製"
#: fileItem.js:228
msgid "Move to Trash"
msgstr "移動到垃圾桶"
#: fileItem.js:232
msgid "Empty trash"
msgstr "清空回收桶"
#: fileItem.js:238
msgid "Properties"
msgstr "屬性"
#: fileItem.js:240
msgid "Show in Files"
msgstr "在《檔案》中顯示"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:12
msgid "Icon size"
msgstr "圖示大小"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:13
msgid "Set the size for the desktop icons."
msgstr "設定桌面圖示的大小。"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:17
msgid "Show personal folder"
msgstr "顯示個人資料夾"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:18
msgid "Show the personal folder in the desktop."
msgstr "在桌面顯示個人資料夾。"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:22
msgid "Show trash icon"
msgstr "顯示垃圾桶圖示"
#: schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml:23
msgid "Show the trash icon in the desktop."
msgstr "在桌面顯示垃圾桶圖示。"
0707010000002B000081A4000003E800000064000000015D9E5C1A000017D7000000000000000000000000000000000000001F00000000desktop-icons-19.10.2/prefs.js
/* Desktop Icons GNOME Shell extension
*
* Copyright (C) 2017 Carlos Soriano <csoriano@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const Gtk = imports.gi.Gtk;
const GObject = imports.gi.GObject;
const Gio = imports.gi.Gio;
const GioSSS = Gio.SettingsSchemaSource;
const ExtensionUtils = imports.misc.extensionUtils;
const Gettext = imports.gettext;
const Config = imports.misc.config;
var _ = Gettext.domain('desktop-icons').gettext;
const SCHEMA_NAUTILUS = 'org.gnome.nautilus.preferences';
const SCHEMA_GTK = 'org.gtk.Settings.FileChooser';
const SCHEMA = 'org.gnome.shell.extensions.desktop-icons';
const ICON_SIZE = { 'small': 48, 'standard': 64, 'large': 96 };
const ICON_WIDTH = { 'small': 108, 'standard': 116, 'large': 116 };
const ICON_HEIGHT = { 'small': 86, 'standard': 102, 'large': 134 };
var FileType = {
NONE: null,
USER_DIRECTORY_HOME: 'show-home',
USER_DIRECTORY_TRASH: 'show-trash',
}
var nautilusSettings;
var gtkSettings;
var settings;
// This is already in Nautilus settings, so it should not be made tweakable here
var CLICK_POLICY_SINGLE = false;
function initTranslations() {
let extension = ExtensionUtils.getCurrentExtension();
let localedir = extension.dir.get_child('locale');
if (localedir.query_exists(null))
Gettext.bindtextdomain('desktop-icons', localedir.get_path());
else
Gettext.bindtextdomain('desktop-icons', Config.LOCALEDIR);
}
function init() {
let schemaSource = GioSSS.get_default();
let schemaGtk = schemaSource.lookup(SCHEMA_GTK, true);
gtkSettings = new Gio.Settings({ settings_schema: schemaGtk });
let schemaObj = schemaSource.lookup(SCHEMA_NAUTILUS, true);
if (!schemaObj) {
nautilusSettings = null;
} else {
nautilusSettings = new Gio.Settings({ settings_schema: schemaObj });;
nautilusSettings.connect('changed', _onNautilusSettingsChanged);
_onNautilusSettingsChanged();
}
settings = get_schema(SCHEMA);
}
function get_schema(schema) {
let extension = ExtensionUtils.getCurrentExtension();
// check if this extension was built with "make zip-file", and thus
// has the schema files in a subfolder
// otherwise assume that extension has been installed in the
// same prefix as gnome-shell (and therefore schemas are available
// in the standard folders)
let schemaDir = extension.dir.get_child('schemas');
let schemaSource;
if (schemaDir.query_exists(null))
schemaSource = GioSSS.new_from_directory(schemaDir.get_path(), GioSSS.get_default(), false);
else
schemaSource = GioSSS.get_default();
let schemaObj = schemaSource.lookup(schema, true);
if (!schemaObj)
throw new Error('Schema ' + schema + ' could not be found for extension ' + extension.metadata.uuid + '. Please check your installation.');
return new Gio.Settings({ settings_schema: schemaObj });
}
function buildPrefsWidget() {
initTranslations();
let frame = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL, border_width: 10, spacing: 10 });
frame.add(buildSelector('icon-size', _("Size for the desktop icons"), { 'small': _("Small"), 'standard': _("Standard"), 'large': _("Large") }));
frame.add(buildSwitcher('show-home', _("Show the personal folder in the desktop")));
frame.add(buildSwitcher('show-trash', _("Show the trash icon in the desktop")));
frame.show_all();
return frame;
}
function buildSwitcher(key, labelText) {
let hbox = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL, spacing: 10 });
let label = new Gtk.Label({ label: labelText, xalign: 0 });
let switcher = new Gtk.Switch({ active: settings.get_boolean(key) });
settings.bind(key, switcher, 'active', 3);
hbox.pack_start(label, true, true, 0);
hbox.add(switcher);
return hbox;
}
function buildSelector(key, labelText, elements) {
let listStore = new Gtk.ListStore();
listStore.set_column_types ([GObject.TYPE_STRING, GObject.TYPE_STRING]);
let schemaKey = settings.settings_schema.get_key(key);
let values = schemaKey.get_range().get_child_value(1).get_child_value(0).get_strv();
for (let val of values) {
let iter = listStore.append();
let visibleText = val;
if (visibleText in elements)
visibleText = elements[visibleText];
listStore.set (iter, [0, 1], [visibleText, val]);
}
let hbox = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL, spacing: 10 });
let label = new Gtk.Label({ label: labelText, xalign: 0 });
let combo = new Gtk.ComboBox({model: listStore});
let rendererText = new Gtk.CellRendererText();
combo.pack_start (rendererText, false);
combo.add_attribute (rendererText, 'text', 0);
combo.set_id_column(1);
settings.bind(key, combo, 'active-id', 3);
hbox.pack_start(label, true, true, 0);
hbox.add(combo);
return hbox;
}
function _onNautilusSettingsChanged() {
CLICK_POLICY_SINGLE = nautilusSettings.get_string('click-policy') == 'single';
}
function get_icon_size() {
// this one doesn't need scaling because Gnome Shell automagically scales the icons
return ICON_SIZE[settings.get_string('icon-size')];
}
function getDesiredWidth(scale_factor, margin) {
return (ICON_WIDTH[settings.get_string('icon-size')] + margin) * scale_factor;
}
function getDesiredHeight(scale_factor, margin) {
return (ICON_HEIGHT[settings.get_string('icon-size')] + margin) * scale_factor;
}
0707010000002C000041ED000003E800000064000000025D9E5C1A00000000000000000000000000000000000000000000001E00000000desktop-icons-19.10.2/schemas0707010000002D000081A4000003E800000064000000015D9E5C1A0000007E000000000000000000000000000000000000002A00000000desktop-icons-19.10.2/schemas/meson.buildgnome.compile_schemas()
install_data(
'org.gnome.shell.extensions.desktop-icons.gschema.xml',
install_dir : schema_dir
)
0707010000002E000081A4000003E800000064000000015D9E5C1A0000041B000000000000000000000000000000000000005300000000desktop-icons-19.10.2/schemas/org.gnome.shell.extensions.desktop-icons.gschema.xml<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="desktop-icons">
<enum id="org.gnome.shell.extension.desktop-icons.ZoomLevel">
<value value="0" nick="small"/>
<value value="1" nick="standard"/>
<value value="2" nick="large"/>
</enum>
<schema path="/org/gnome/shell/extensions/desktop-icons/" id="org.gnome.shell.extensions.desktop-icons">
<key name="icon-size" enum="org.gnome.shell.extension.desktop-icons.ZoomLevel">
<default>'standard'</default>
<summary>Icon size</summary>
<description>Set the size for the desktop icons.</description>
</key>
<key type="b" name="show-home">
<default>true</default>
<summary>Show personal folder</summary>
<description>Show the personal folder in the desktop.</description>
</key>
<key type="b" name="show-trash">
<default>true</default>
<summary>Show trash icon</summary>
<description>Show the trash icon in the desktop.</description>
</key>
</schema>
</schemalist>
0707010000002F000081A4000003E800000064000000015D9E5C1A000002B6000000000000000000000000000000000000002500000000desktop-icons-19.10.2/stylesheet.css.file-item {
padding: 4px;
border: 1px;
margin: 1px;
}
.file-item:hover {
background-color: rgba(238, 238, 238, 0.2);
}
.name-label {
text-shadow: 1px 1px black;
color: white;
text-align: center;
}
.draggable {
background-color: red;
}
.rename-popup {
min-width: 300px;
margin: 6px;
}
.rename-popup .rename-popup-item {
spacing: 6px;
}
.rename-popup .rename-popup-item:ltr,
.rename-popup .rename-popup-item:rtl {
padding: 0, 12px;
}
.create-folder-dialog-entry {
width: 20em;
margin-bottom: 6px;
}
.create-folder-dialog-label {
padding-bottom: .4em;
}
.create-folder-dialog-error-box {
padding-top: 16px;
spacing: 6px;
}
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!514 blocks