diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..20d40b6
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ 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.
+
+
+ Copyright (C)
+
+ 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 .
+
+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:
+
+ Copyright (C)
+ 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
+.
+
+ 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
+.
\ No newline at end of file
diff --git a/README b/README
new file mode 100644
index 0000000..ed46ee2
--- /dev/null
+++ b/README
@@ -0,0 +1,74 @@
+
+
+About
+-------------------
+
+Project Browser is a Cross-platform file browsing tool designed for use in
+Visual Effects Production. For more information on how to setup custom Projects
+see the examples in project_browser/projects/
+.
+
+Features
+-------------------
+
+-Simple PyQt interface
+-Customizable file browsing
+-Thumbnail and file sequence sorting
+-drag and drop support with Foundry Nuke
+
+
+Installing
+-------------------
+
+todo
+
+
+Requirements
+-------------------
+
+Python http://www.python.org/ 2.6 or 2.7 (3.0 and up not supported)
+PyQt http://www.riverbankcomputing.co.uk/software/pyqt/download
+FFmpeg http://www.ffmpeg.org/ (latest version is best)
+ImageMagick http://www.imagemagick.org/ (latest version is best)
+
+
+License information
+-------------------
+
+see COPYING for more information about the GNU General Public License Version 3
+
+Project Browser also includes Icons from the Tango Desktop Project
+see below for more information.
+
+Project Browser
+-------------------
+
+Project Browser 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.
+
+Project Browser 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 Project Browser. If not, see .
+
+Tango Desktop Project
+-------------------
+
+http://tango.freedesktop.org/Tango_Desktop_Project
+
+
+FFmpeg
+-------------------
+
+http://www.ffmpeg.org
+
+ImageMagick
+-------------------
+
+http://www.imagemagick.org/script/license.php
+
diff --git a/artwork/project_browser.png b/artwork/project_browser.png
new file mode 100644
index 0000000..6f73a84
Binary files /dev/null and b/artwork/project_browser.png differ
diff --git a/artwork/project_browser.psd b/artwork/project_browser.psd
new file mode 100644
index 0000000..1198df5
Binary files /dev/null and b/artwork/project_browser.psd differ
diff --git a/project_browser.py b/project_browser.py
new file mode 100644
index 0000000..cca1dd2
--- /dev/null
+++ b/project_browser.py
@@ -0,0 +1,20 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+from project_browser import main
+
+main.run()
\ No newline at end of file
diff --git a/project_browser/__init__.py b/project_browser/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/project_browser/busy_indicator.py b/project_browser/busy_indicator.py
new file mode 100644
index 0000000..ef6523e
--- /dev/null
+++ b/project_browser/busy_indicator.py
@@ -0,0 +1,330 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import sys
+import os
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import utilities
+
+
+def get_indicator_pixmaps(width=64,height=64,color=None):
+
+ if not color:
+ color = QColor(102, 205, 170)
+
+ pixmaps = []
+
+
+ for angle in xrange(0,360,30):
+ #print angle
+
+ image = QPixmap(width,height)
+ image.fill(Qt.transparent)
+
+ painter = QPainter()
+ painter.begin(image)
+
+ painter.setRenderHint(QPainter.Antialiasing)
+
+ width = min([image.width(),image.height()])
+
+ outerRadius = (width-1)*0.5
+ innerRadius = (width-1)*0.5*0.38
+
+ capsuleHeight = outerRadius - innerRadius
+ if width > 32:
+ capsuleWidth = capsuleHeight *.23
+ else:
+ capsuleWidth = capsuleHeight *.35
+
+ capsuleRadius = capsuleWidth/2.0
+
+
+ for i in xrange(12):
+ color.setAlphaF(1.0 - (i/12.0))
+
+ painter.setPen(Qt.NoPen)
+
+ painter.setBrush(color)
+ painter.save()
+
+ painter.translate(image.rect().center())
+ painter.rotate(angle - i*30.0)
+
+ painter.drawRoundedRect(-capsuleWidth*0.5,
+ -(innerRadius+capsuleHeight),
+ capsuleWidth, capsuleHeight,
+ capsuleRadius, capsuleRadius)
+ painter.restore()
+
+
+ painter.end()
+
+
+ pixmaps.append(image)
+
+
+ return pixmaps
+
+
+class Busy_QEdit(QLineEdit):
+
+ def __init__(self,parent=None):
+ super(Busy_QEdit,self).__init__(parent)
+
+ self.angle = 0
+ #self.color = QColor(102, 205, 170)
+ self.color = QColor(125,161,200)
+ self.delay = 100
+
+ self.timer_id = None
+
+
+
+ def startAnimation(self):
+
+ if not self.timer_id:
+ #print 'starting timer'
+ self.angle = 0
+ self.timer_id = self.startTimer(self.delay)
+
+
+ def stopAnimation(self):
+
+ if self.timer_id:
+ self.killTimer(self.timer_id)
+ self.timer_id = None
+ self.update()
+
+
+ def timerEvent(self,event):
+
+ self.angle = (self.angle + 30) % 360
+
+ self.update()
+
+ QLineEdit.timerEvent(self,event)
+
+ def contextMenuEvent(self,event):
+
+
+ #QMenu.actions
+
+ menu = self.createStandardContextMenu()
+
+ actions = menu.actions()
+
+ reveal_action = QAction("Show in %s" % utilities.filebrowser_name().capitalize(),self)
+
+
+ self.connect(reveal_action, SIGNAL('triggered()'),self.reveal_path)
+ action = menu.insertAction(actions[0],reveal_action)
+ menu.insertSeparator(actions[0])
+ #menu.addAction("Go to Location")
+ menu.exec_(event.globalPos())
+
+ def reveal_path(self):
+ path = str(self.text())
+
+ if os.path.exists(path):
+
+ utilities.show_file_in_folder(path)
+
+ def paintEvent(self,event):
+
+ QLineEdit.paintEvent(self,event)
+ if self.timer_id:
+ self.paintBusy()
+
+ def paintBusy(self):
+
+ painter = QPainter()
+ painter.begin(self)
+
+ painter.setRenderHint(QPainter.Antialiasing)
+
+ width = self.height()
+ outerRadius = (width-1)*0.5
+ innerRadius = (width-1)*0.5*0.38
+
+ capsuleHeight = outerRadius - innerRadius
+ if width > 32:
+ capsuleWidth = capsuleHeight *.23
+ else:
+ capsuleWidth = capsuleHeight *.35
+
+ capsuleRadius = capsuleWidth/2.0
+
+
+ rect = QRectF(self.rect())
+ center = rect.center()
+ y = center.y()
+ x = rect.right() - outerRadius
+
+
+ rect.moveLeft(rect.width() * .5)
+
+ linearGradient = QLinearGradient(rect.bottomLeft(), rect.bottomRight())
+ linearGradient.setColorAt(0.0, QColor(255,255,255,0))
+ linearGradient.setColorAt(0.5, QColor(176,226,255,225))
+ linearGradient.setColorAt(1.0, QColor(0,0,0,0))
+
+ painter.setPen(Qt.NoPen)
+
+ painter.setBrush(linearGradient)
+
+ painter.drawRoundedRect(rect,10,10)
+
+ for i in xrange(12):
+ color = self.color
+
+ color.setAlphaF(1.0 - (i/12.0))
+
+ painter.setPen(Qt.NoPen)
+
+ painter.setBrush(color)
+ painter.save()
+
+ painter.translate(x,y)
+ painter.rotate(self.angle - i*30.0)
+
+ painter.drawRoundedRect(-capsuleWidth*0.5,
+ -(innerRadius+capsuleHeight),
+ capsuleWidth, capsuleHeight,
+ capsuleRadius, capsuleRadius)
+ painter.restore()
+
+ painter.end()
+
+
+
+class Busy_Indicator_Widget(QWidget):
+
+ def __init__(self,parent=None):
+ super(Busy_Indicator_Widget,self).__init__(parent)
+
+ self.angle = 0
+ self.color = QColor(102, 205, 170)
+ self.delay = 100
+
+ self.timer_id = None
+ #self.isRunning = False
+
+ #self.setM
+
+ #self.startTimer(self.delay)
+ #self.timer = QTimer()
+ #self.connect(self.timer, SIGNAL(' timeout ()'),self.timerEvent)
+ #self.timer.start(300)
+
+ def startAnimation(self):
+
+ if not self.timer_id:
+ #print 'starting timer'
+ self.angle = 0
+ self.timer_id = self.startTimer(self.delay)
+
+
+ def stopAnimation(self):
+
+ if self.timer_id:
+ self.killTimer(self.timer_id)
+ self.timer_id = None
+ self.update()
+
+
+ def timerEvent(self,event):
+
+ self.angle = (self.angle + 30) % 360
+
+ self.update()
+
+ def sizeHint(self):
+ return QSize(20,20);
+
+ def paintEvent(self,event):
+
+
+ painter = QPainter()
+ painter.begin(self)
+
+ painter.setRenderHint(QPainter.Antialiasing)
+
+ width = min([self.width(),self.height()])
+
+ outerRadius = (width-1)*0.5
+ innerRadius = (width-1)*0.5*0.38
+
+ capsuleHeight = outerRadius - innerRadius
+ if width > 32:
+ capsuleWidth = capsuleHeight *.23
+ else:
+ capsuleWidth = capsuleHeight *.35
+
+ capsuleRadius = capsuleWidth/2.0
+
+
+ if self.timer_id:
+
+ for i in xrange(12):
+ color = self.color
+
+ color.setAlphaF(1.0 - (i/12.0))
+
+ painter.setPen(Qt.NoPen)
+
+ painter.setBrush(color)
+ painter.save()
+
+ painter.translate(self.rect().center())
+ painter.rotate(self.angle - i*30.0)
+
+ painter.drawRoundedRect(-capsuleWidth*0.5,
+ -(innerRadius+capsuleHeight),
+ capsuleWidth, capsuleHeight,
+ capsuleRadius, capsuleRadius)
+ painter.restore()
+ else:
+ for i in xrange(12):
+ #color = self.color
+
+ #color.setAlphaF(1.0 - (i/12.0))
+ color = QColor(0,0,0)
+ color.setAlphaF(.2)
+
+ painter.setPen(Qt.NoPen)
+
+ painter.setBrush(color)
+ painter.save()
+
+ painter.translate(self.rect().center())
+ painter.rotate(self.angle - i*30.0)
+
+ painter.drawRoundedRect(-capsuleWidth*0.5,
+ -(innerRadius+capsuleHeight),
+ capsuleWidth, capsuleHeight,
+ capsuleRadius, capsuleRadius)
+ painter.restore()
+
+
+ painter.end()
+
+
+
\ No newline at end of file
diff --git a/project_browser/content_finder.py b/project_browser/content_finder.py
new file mode 100644
index 0000000..a00a882
--- /dev/null
+++ b/project_browser/content_finder.py
@@ -0,0 +1,435 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+
+import os
+import mimetypes
+from collections import defaultdict
+import re
+
+import sequence
+
+import content_types
+
+import utilities
+
+mimetypes.knownfiles = [utilities.find_mime_types_file()]
+mimetypes.init()
+
+class Content_Finder_Object(object):
+
+ def __init__(self):
+ self._stop=False
+
+ def stop(self):
+ return self._stop
+
+ def setStop(self,value=True):
+ self._stop = value
+
+ def progress(self,progress_min=0,progress_max=0,progress_value=0):
+
+
+ pass
+
+
+ def message(self,**kargs):
+ pass
+
+
+ def run(self):
+ pass
+
+ def start(self):
+ return self.run()
+
+
+def split_mimetype(file_type):
+
+ return file_type.split('/')
+
+
+class Content_Sorter(Content_Finder_Object):
+
+ def __init__(self,path_dict=None):
+
+ super(Content_Sorter,self).__init__()
+ self.numPos = -1
+
+
+ if isinstance(path_dict, Content_Finder):
+ self.path_dict = path_dict.path_dict
+ self.file_count = path_dict.file_count
+
+ else:
+
+ self.path_dict = path_dict
+ self.file_count = 0
+ self.calculate_file_count()
+
+
+ self.file_index = 0
+
+ self.sorted_content = {}
+
+ self.mimetypes = {}
+
+ def calculate_file_count(self):
+ self.file_count = 0
+ for filenames in self.path_dict.values():
+ self.file_count += len(filenames)
+
+ def add_content(self,content_dict):
+ for key,value in content_dict.items():
+ if self.sorted_content.has_key(key):
+ self.sorted_content[key].extend(value)
+
+ else:
+ self.sorted_content[key] = value
+
+
+ def run(self):
+
+ for dirname,files in self.path_dict.items():
+ sorted_files = self.sort_files(dirname, files)
+ self.add_content(sorted_files)
+ self.file_index += len(files)
+ self.progress(0, self.file_count, self.file_index)
+
+ self.message(sort_filecount=self.file_count,sort_fileindex=self.file_index)
+
+
+ def sort_files(self,dirname,files):
+
+ sorted_files = defaultdict(list)
+ for filename in files:
+
+ file_type,encoding = mimetypes.guess_type(filename)
+
+ if file_type == None:
+ file_type = 'unkown/unkown'
+ #print file_type,filename
+
+ fullpath = os.path.join(dirname,filename)
+
+ main_type,subtype = split_mimetype(file_type)
+
+ if main_type == 'image':
+ FileItem = content_types.ImageFile(dirname,filename,mimetype=(file_type,encoding))
+ elif main_type == 'video':
+ FileItem = content_types.VideoFile(dirname,filename,mimetype=(file_type,encoding))
+ elif main_type == 'audio':
+ FileItem = content_types.AudioFile(dirname,filename,mimetype=(file_type,encoding))
+ else:
+ FileItem = content_types.File(dirname,filename,mimetype=(file_type,encoding))
+
+ #FileItem.blame()
+ #FileItem.create_time()
+
+ FileItem.set_common_prefix(files.common_prefix)
+ sorted_files[file_type].append(FileItem)
+
+
+
+ #print files.common_prefix
+ #print file_type,filename
+
+ for key in sorted_files.keys():
+
+ main_type,subtype = split_mimetype(key)
+
+ if main_type in ['image']:
+
+ files = sorted_files[key]
+ content_list = self.sort_sequence(files)
+
+ sorted_files[key] = content_list
+
+
+ return sorted_files
+
+
+
+ def sort_sequence(self,files):
+ #print ''
+
+ res = []
+
+ currentSeq = sequence.Sequence()
+ for file_item in files:
+
+ name = sequence.SeqString(file_item.basename())
+
+ sequenceSplit = False
+
+ if not currentSeq.match(name, self.numPos):
+ sequenceSplit = True
+
+
+ if sequenceSplit:
+ res.append(currentSeq)
+ currentSeq = sequence.Sequence()
+
+
+ currentSeq.append(name, file_item)
+
+ if len(currentSeq) > 0:
+ res.append(currentSeq)
+
+ content_list = []
+
+
+ for item in res:
+
+ if len(item) <= 1:
+ content_list.append(item[0])
+
+ else:
+ f = item[0]
+
+ if isinstance(f, content_types.ImageFile):
+ c = content_types.ImageSequence
+ else:
+ c = content_types.FileSequence
+
+ content_item = c(dirname=f.dirname(),
+ sequence_object=item,
+ mimetype = f.mimetype())
+
+ content_item.set_common_prefix(f.common_prefix())
+
+
+ #print content_item[0]
+ #for item in content_item:
+ #print item
+ #print content_item
+
+ #print item.ranges()
+ #print item.sequenceName()
+
+ content_list.append(content_item)
+
+ return content_list
+
+
+class File_Path_List(list):
+
+ def __init__(self):
+
+ super(File_Path_List,self).__init__()
+
+ self.common_prefix = None
+
+
+class Content_Finder(Content_Finder_Object):
+
+ def __init__(self,search_dirs=None):
+
+ super(Content_Finder,self).__init__()
+ self.file_count = 0
+ self.path_dict = {}
+ self.fname_ignore = ['[.].*']
+ self.recursive = True
+ self.common_prefix = ''
+ if search_dirs:
+ self.search_dirs = search_dirs
+
+ def set_search_dirs(self,paths):
+
+ self.search_dirs = paths
+
+ def run(self):
+
+
+ for item in self.search_dirs:
+
+ item_dict = description_to_dict(item)
+ self.recursive = item_dict['recursive']
+
+ p_dict = self.get_path_dict(item_dict['path'])
+
+ if self.stop():
+ return None
+ self.path_dict.update(p_dict)
+
+
+ if self.stop():
+ return None
+
+
+
+ return self.path_dict
+
+ #for key,value in self.path_dict
+
+ pass
+
+
+
+ def get_path_dict(self,path):
+
+ if os.path.isfile(path):
+ dirname = os.path.dirname(path)
+ else:
+ dirname = path
+
+ def get_file_path_list():
+ p= File_Path_List()
+ p.common_prefix = self.common_prefix
+ return p
+
+ path_dict = defaultdict(get_file_path_list)
+
+ for root,dirs,files in os.walk(dirname):
+ for filename in files:
+ #full_path = os.path.join(root,filename)
+
+ if self.path_dict.has_key(root):
+ pass
+ elif self.ignore_file(root, filename):
+ pass
+ else:
+ path_dict[root].append(filename)
+ self.file_count += 1
+
+ self.message(message='',listing=self.file_count)
+ #self.progress(progress_value=self.file_count)
+ if self.stop():
+ return None
+ if self.stop():
+ return None
+
+ if not self.recursive:
+ break
+
+ return path_dict
+
+ def ignore_file(self,dirname,filename):
+
+ for item in self.fname_ignore:
+ p = re.compile(item)
+ if p.match(filename):
+ #print 'ignoring', filename
+ return True
+
+ return False
+
+
+
+def description_to_dict(item):
+
+ if isinstance(item, dict):
+ item_path = item['path']
+ item_dict = item.copy()
+ if not item_dict.has_key('recursive'):
+ item_dict['recursive'] = True
+ else:
+ item_dict = {'recursive':True,'path':item}
+
+
+ return item_dict
+
+
+
+def description_to_content_dirs(item_data,description):
+
+
+ content_description = defaultdict(list)
+ content_description.update(description)
+ assert item_data['path']
+
+ base_path = item_data['path']
+
+
+ content_dirs = []
+
+
+ for item in content_description['relative_paths']:
+
+ item_dict = description_to_dict(item)
+
+ rel_path = os.path.join(base_path,item_dict['path'])
+
+ if os.path.exists(rel_path):
+ item_dict['path'] = rel_path
+ content_dirs.append(item_dict)
+
+ for item in content_description['child_relative_paths']:
+
+ item_dict = description_to_dict(item)
+
+ for child in item_data['children']:
+ child_path = child['path']
+ rel_path = os.path.join(child_path,item_dict['path'])
+ if os.path.exists(rel_path):
+
+ new_item_dict = item_dict.copy()
+ new_item_dict['path'] = rel_path
+ content_dirs.append(new_item_dict)
+
+
+ return content_dirs
+
+
+
+
+
+
+
+def get_content(paths):
+
+
+ cf = Content_Finder(paths)
+ cf.start()
+
+ cs = Content_Sorter(cf)
+ cs.start()
+
+ return cs.sorted_content
+
+def create_model_root():
+
+ root = content_types.File_Model_Item()
+ for item in root.column_names:
+ root.properties[item] = item
+ root.data_loaded.append(item)
+
+ root.data_loaded.append('Thumbnail')
+
+ return root
+
+def create_model_data(content):
+
+ root = create_model_root()
+
+
+
+ for key,value in content.items():
+ main_type,sub_type = split_mimetype(key)
+
+ if main_type in ['image','video']:
+ #print value
+ for item in value:
+ c = content_types.File_Model_Item(item,root)
+
+ root.addChild(c)
+
+
+ root.sort_by('Path')
+ return root
+
+
diff --git a/project_browser/content_finder_manager.py b/project_browser/content_finder_manager.py
new file mode 100644
index 0000000..352a4b2
--- /dev/null
+++ b/project_browser/content_finder_manager.py
@@ -0,0 +1,106 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import sys
+import os
+
+import traceback
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+from content_finder_thread import Content_Finder_Thread
+
+class Content_Finder_Manager(QObject):
+
+ def __init__(self, parent=None):
+ super(Content_Finder_Manager, self).__init__(parent)
+
+ self.content_finder = Content_Finder_Thread()
+
+
+ self.connect(self.content_finder, SIGNAL("work_done"),self.work_done)
+ self.connect(self.content_finder, SIGNAL("work_stoped"),self.work_stoped)
+ self.connect(self.content_finder, SIGNAL("work_error"),self.work_error)
+
+ self.connect(self.content_finder, SIGNAL("work_message"),self.work_message)
+ self.connect(self.content_finder, SIGNAL("work_progress"),self.work_progress)
+
+
+ def connect_to_view(self,view):
+ pass
+ #self.connect(self, SIGNAL("work_progress"),view.
+
+ def set_context(self,data,mode):
+ #print "&&& CONTEXT"
+ print data
+
+ print mode
+
+
+
+
+ if not mode.has_key('context'):
+
+ mode['context'] = 'Footage'
+
+
+ self.emit(SIGNAL(mode['context'] + "_load_started"))
+ self.add_work(data, mode)
+
+
+ def work_progress(self,progress_min,progress_max,progress_value):
+
+ self.emit(SIGNAL("work_progress"),progress_min,progress_max,progress_value)
+
+
+ def work_message(self,message,details=''):
+ self.emit(SIGNAL("work_message"),message,details)
+
+ def add_work(self,data,mode):
+ self.content_finder.clear()
+
+ self.content_finder.add_work(data,mode)
+
+ if not self.content_finder.isRunning():
+ self.content_finder.start()
+
+
+ def work_done(self,item):
+
+ mode = item.mode
+
+ self.emit(SIGNAL(mode['context'] + "_load_finished"),item.work)
+
+
+
+
+
+
+ def work_error(self,trace,item):
+ print trace
+
+ def work_stoped(self,work):
+
+ print 'stoped'
+
+
+
+
+
+
\ No newline at end of file
diff --git a/project_browser/content_finder_thread.py b/project_browser/content_finder_thread.py
new file mode 100644
index 0000000..57f306e
--- /dev/null
+++ b/project_browser/content_finder_thread.py
@@ -0,0 +1,209 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import sys
+import os
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import traceback
+import content_finder
+
+import time
+from collections import defaultdict
+
+class Work_Item(object):
+
+ def __init__(self,data,mode):
+
+ self._stop = False
+ self.data = data
+ self.mode = mode
+
+
+ self.work = None
+
+ def stop(self):
+
+ return self._stop
+
+ def set_stop(self,value=True):
+ self._stop = True
+
+class Content_Finder_Thread(QThread):
+ def __init__(self,parent=None):
+
+ super(Content_Finder_Thread, self).__init__(parent)
+ self.current_item = None
+ self.work = []
+ self.details = ''
+
+ def set_stop(self,value=True):
+ if self.current_item:
+ self.current_item.set_stop(value)
+
+ def clear(self):
+ work_items = []
+ while self.work:
+ item = self.work.pop()
+ self.clean_item(item)
+ work_items.append(item)
+
+ self.set_stop()
+
+ return work_items
+
+ def add_work(self,data,mode):
+
+
+ self.work.append(Work_Item(data,mode))
+
+ def run(self):
+
+ while self.work:
+ item =self.work.pop(0)
+ self.current_item = item
+
+ try:
+ #time.sleep(2)
+ self.func()
+
+ if self.current_item.stop():
+ self.work_stoped(self.current_item)
+
+ else:
+ self.work_done(self.current_item)
+
+ except:
+ trace = traceback.format_exc()
+ self.work_error(trace, item)
+
+ self.current_item = None
+
+ def func(self):
+
+
+
+ if self.current_item.mode['context'] == 'Footage':
+
+ self.load_footage()
+ #content = content_finder.run_test()
+
+ def load_footage(self):
+
+ self.message(message="Loading Footage")
+ self.work_progress(0, 0, 0)
+
+ item_data = self.current_item.data
+
+ description = self.current_item.mode
+
+ content_dirs = content_finder.description_to_content_dirs(item_data,description)
+
+ if not content_dirs:
+ model = content_finder.create_model_root()
+ self.current_item.work = model
+ return None
+
+ if self.current_item.stop():
+ return None
+
+ self.details = item_data['name']
+
+ cf = content_finder.Content_Finder(search_dirs=content_dirs)
+ cf.progress = self.work_progress
+ cf.message = self.message
+ cf.common_prefix = item_data['path']
+
+ cf.stop = self.current_item.stop
+
+ cf.start()
+
+ if self.current_item.stop():
+ return None
+
+ cs = content_finder.Content_Sorter(cf)
+ cs.progress = self.work_progress
+ cs.message = self.message
+
+ cs.stop = self.current_item.stop
+
+ cs.start()
+
+ if self.current_item.stop():
+ return None
+
+ self.message(message='Loading into View')
+ self.work_progress(progress_min=0, progress_max=0, progress_value=0)
+
+ model = content_finder.create_model_data(cs.sorted_content)
+
+ if self.current_item.stop():
+ return None
+
+ self.current_item.work = model
+
+
+
+
+
+ def clean_item(self,item):
+
+ pass
+
+ def message(self,**kargs):
+ details = ''
+
+ if self.current_item:
+ item_data = self.current_item.data
+ mode = self.current_item.mode
+ details = 'Item: %s Mode: %s' % (item_data['name'],mode['name'])
+
+ if kargs.has_key('message'):
+ message = kargs['message']
+
+ if kargs.has_key('listing'):
+
+ message = 'Listing Files: %i' % (kargs['listing'])
+
+
+ if kargs.has_key('sort_filecount'):
+ message = 'Sorting Files: %i/%i' % (kargs['sort_fileindex'],kargs['sort_filecount'])
+
+
+
+
+
+ self.emit(SIGNAL("work_message"),message,details)
+
+ def work_progress(self,progress_min=0,progress_max=0,progress_value=0):
+
+ self.emit(SIGNAL("work_progress"),progress_min,progress_max,progress_value)
+
+ def work_error(self,trace,item):
+ self.clean_item(item)
+ self.emit(SIGNAL("work_error"),trace,item)
+
+ def work_stoped(self,item):
+ self.clean_item(item)
+ self.emit(SIGNAL("work_stoped"),item)
+
+ def work_done(self,item):
+ print 'work done'
+ self.emit(SIGNAL("work_done"),item)
\ No newline at end of file
diff --git a/project_browser/content_treeview.py b/project_browser/content_treeview.py
new file mode 100644
index 0000000..6a318f1
--- /dev/null
+++ b/project_browser/content_treeview.py
@@ -0,0 +1,988 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import sys
+import os
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import traceback
+import content_finder
+import content_types
+
+import utilities
+import tool_actions
+from gui_utilities import draw_with_shadow,fit_font
+from progress_overlay import Progress_Overlay_Painter
+
+from information_finder import Information_Finder_Manager
+
+class Content_Model(QAbstractItemModel):
+ def __init__(self, parent=None):
+ super(Content_Model, self).__init__(parent)
+ self.root_item= content_finder.create_model_root()
+
+ self.default_icon = QIcon.fromTheme('image')
+
+ self.rejected= []
+
+ self.rejected_timer = False
+
+ self.requested_data = []
+ self.data_change_queue = []
+
+ self.current_item = None
+
+ def set_model_data(self,model_data):
+ self.root_item = model_data
+
+ def startAnimation(self):
+
+ if not self.timer_id:
+ self.timer_id = self.startTimer(self.busy_delay)
+
+
+ def stopAnimation(self):
+
+ if self.timer_id:
+ self.killTimer(self.timer_id)
+ self.timer_id = None
+
+ def timerEvent(self,event):
+ pass
+ #self.loading_pixmap = self.busy_pixmaps[self.busy_index]
+ #self.busy_index = (self.busy_index + 1 ) % len(self.busy_pixmaps)
+
+ #if self.selected_item:
+
+ #self.update_item_view(self.selected_item)
+
+ def columnCount(self, parent):
+ if parent.isValid():
+ return parent.internalPointer().columnCount()
+ else:
+ return self.root_item.columnCount()
+
+
+ def set_current_item(self,item):
+ self.current_item = item
+
+ def request_children_data_loaded(self,index):
+
+ if index:
+ item_data = index.internalPointer()
+ else:
+ item_data = self.root_item
+
+ requests = []
+ if not item_data:
+ item_data = self.root_item
+
+ for child in item_data.children:
+ columns = []
+
+ columns.extend(child.column_names)
+
+ columns.insert(0,'Thumbnail')
+
+ for key in columns:
+ requests.append((child,key))
+
+ #if not self.requested_data:
+ # QTimer.singleShot(50,self._data_request)
+
+ #self.requested_data.extend(requests)
+
+ requests.reverse()
+ self._data_request(requests,priority=True)
+
+ def priority_data_request(self,index,preview=False):
+
+ if index:
+ item_data = index.internalPointer()
+ else:
+ item_data = self.root_item
+
+ columns = []
+
+ columns.extend(item_data.column_names)
+ columns.append('Thumbnail')
+
+ requests = []
+
+ for key in columns:
+ if item_data.dataReady(key):
+ pass
+ else:
+ requests.append((item_data,key))
+
+ preview_keys = ['Preview_0','Preview_1','Preview_2','Preview_3']
+ preview_keys.reverse()
+ for key in preview_keys:
+ requests.append((item_data,key))
+
+ requests.reverse()
+ #print 'sending priority request',requests
+ self._data_request(requests,priority=True)
+
+
+ def data_request(self,item,key):
+
+ if item:
+ #print 'requesting',item.properties['name'], key
+
+ #item.data_queued.extend(keys)
+ if not self.requested_data:
+ #pass
+ QTimer.singleShot(10,self._data_request)
+
+
+
+ if (item,key) in self.requested_data:
+ pass
+ else:
+ self.requested_data.append((item,key))
+
+
+
+
+ def _data_request(self,request=None,priority=False):
+
+ if not request:
+ request = self.requested_data
+
+
+ self.emit(SIGNAL("data_request"),request,priority)
+
+ def remove_data_request(self,index):
+ item_data = index.internalPointer()
+
+ removal_list =[]
+
+
+ removal_list.extend( item_data.children)
+
+
+ self.emit(SIGNAL("remove_data_request"),removal_list)
+
+
+
+
+ def needsLoading(self,item,key):
+ if item.dataReady(key):
+ return False
+ elif item.dataLoading(key):
+ return False
+
+ else:
+ return True
+
+
+ def data_failed(self,item,key):
+
+ preview_keys = ['Preview_0','Preview_1','Preview_2','Preview_3']
+
+ if key in preview_keys:
+
+ if item == self.current_item:
+ print 'Failed'
+ index = preview_keys.index(key)
+ self.emit(SIGNAL('preview_ready'),{'status':'failed','preview_index':index,'preview':None})
+
+ def data_ready(self,item,key):
+ #print '***',key,'loaded!'
+ self.update_item_view_column(item,key)
+ #self.update_item_view(item)
+
+ def data(self, index, role):
+ if not index.isValid():
+
+ v = QVariant()
+ v.clear()
+ return v
+
+ item = index.internalPointer()
+
+
+
+ if role == Qt.DecorationRole:
+
+ if index.column() == 0:
+ key = 'Thumbnail'
+ if item.dataReady(key):
+
+ icon = item.get_data(key)
+
+ if icon:
+ return QIcon(QPixmap.fromImage(icon))
+
+ elif not item.dataLoading(key):
+ self.data_request(item, key)
+
+ return self.default_icon
+
+ else:
+ v = QVariant()
+ v.clear()
+ return v
+
+ if role != Qt.DisplayRole:
+
+ v = QVariant()
+ v.clear()
+ return v
+
+
+
+ key = item.column_names[index.column()]
+
+ item_data = None
+
+ if item.dataReady(key):
+ item_data = item.get_data(key)
+
+ elif not item.dataLoading(key):
+ #print key,index,role
+ self.data_request(item, key)
+
+ if item_data:
+ return QVariant(item_data)
+
+
+ return item_data
+
+ def flags(self, index):
+ if not index.isValid():
+ return Qt.NoItemFlags
+
+ return Qt.ItemIsEnabled | Qt.ItemIsSelectable | Qt.ItemIsDragEnabled
+
+ def headerData(self, section, orientation, role):
+ if orientation == Qt.Horizontal and role == Qt.DisplayRole:
+ return self.root_item.data(section)
+
+ return None
+
+
+ def index(self, row, column, parent):
+
+ if not self.hasIndex(row, column, parent):
+ return QModelIndex()
+
+ if not parent.isValid():
+ parent_item = self.root_item
+ else:
+ parent_item = parent.internalPointer()
+
+ child_item = parent_item.child(row)
+ if child_item:
+ return self.createIndex(row, column, child_item)
+ else:
+ return QModelIndex()
+
+ def hasChildren(self,parent):
+ item_data = parent.internalPointer()
+ #print 'checking for children',parent,item_data
+
+ if not item_data:
+ item_data = self.root_item
+
+
+ if item_data.children:
+ return True
+
+ return False
+
+ def parent(self, index):
+ if not index.isValid():
+ return QModelIndex()
+
+ child_item = index.internalPointer()
+ parent_item = child_item.parent()
+
+ if parent_item == self.root_item:
+ return QModelIndex()
+
+ return self.createIndex(parent_item.row(), 0, parent_item)
+
+ def rowCount(self, parent):
+ if parent.column() > 0:
+ return 0
+
+ if not parent.isValid():
+ parent_item = self.root_item
+ else:
+ parent_item = parent.internalPointer()
+
+
+ childcount = parent_item.childCount()
+ return childcount
+
+
+ def sort(self, column,order):
+
+
+ column_name = self.root_item.column_names[column]
+ reverse = False
+
+ if order == Qt.AscendingOrder:
+ reverse = True
+
+
+ self.emit(SIGNAL("layoutAboutToBeChanged ()"))
+
+ self.root_item.sort_by(column_name, reverse)
+
+
+ self.emit(SIGNAL("layoutChanged()"))
+
+ #for item in self.root_item.children:
+
+ #self.update_item_view(item)
+ #self.reset()
+ def mimeTypes(self):
+
+ return ['application/x-qabstractitemmodeldatalist',"text/uri-list"]
+
+ def mimeData(self,indexes):
+
+
+ mimeData = QMimeData()
+ #encodedData = QByteArray()
+
+
+ #stream = QDataStream(encodedData,QIODevice.WriteOnly)
+ urls = []
+ text = ''
+ for index in indexes:
+ if index.isValid():
+
+ if index.column() == 0:
+ path = index.internalPointer().content.path()
+ url = QUrl.fromLocalFile(path)
+ urls.append(url)
+
+ #text += '%s\n' % (path)
+ #stream.writeQString(url)
+ #stream.writeString(text)
+
+ #mimeData.setData("text/uri-list", encodedData)
+ mimeData.setUrls(urls)
+ mimeData.setData('application/x-qabstractitemmodeldatalist',QByteArray())
+
+ #mimeData.setText(text)
+ return mimeData
+
+
+ def update_item_view(self,item):
+ """send a dataChanged signal to the view"""
+ index_start = self.createIndex(item.row(), 0, item)
+ index_end = self.createIndex(item.row(), item.columnCount(), item)
+
+ self._dataChanged(index_start, index_end)
+
+ def update_item_view_column(self,item,key):
+ if key in ['Thumbnail']:
+ index = self.createIndex(item.row(), 0, item)
+ self._dataChanged(index,index)
+
+ elif key in ['Preview_0','Preview_1','Preview_2','Preview_3']:
+
+ if item == self.current_item:
+ self.emit(SIGNAL('preview_ready'),item.properties[key])
+
+ else:
+ column = item.column_names.index(key)
+ left = max(0,column-1)
+ right = min(column+1,item.columnCount())
+
+ index_start = self.createIndex(item.row(), left, item)
+ index_end = self.createIndex(item.row(), right, item)
+
+ self._dataChanged(index_start, index_end)
+
+
+
+ def _dataChanged(self,index_start,index_end):
+
+
+ if not self.data_change_queue:
+ QTimer.singleShot(10,self._emitDataChanged)
+
+ #print 'sending update'
+ self.data_change_queue.append((index_start,index_end))
+
+
+ def _emitDataChanged(self):
+
+ while self.data_change_queue:
+ index_start,index_end = self.data_change_queue.pop(0)
+ self.emit(SIGNAL('dataChanged(const QModelIndex &, const QModelIndex &)'), index_start, index_end)
+
+
+
+ def set_modal_data(self,data):
+
+ self.root_item= data
+ #self.emit(SIGNAL('layoutChanged ()'))
+ #self.update_item_view(self.root_item)
+
+
+
+
+class Content_Treeview(QTreeView):
+ def __init__(self,parent=None):
+ super(Content_Treeview,self).__init__(parent)
+
+ self.overlay_painter = Progress_Overlay_Painter()
+ self.overlay_painter.set_paint_device(self)
+
+ #self.overlay_painter.show()
+ self.setAlternatingRowColors(True)
+ scale = .045
+ self.setIconSize(QSize(1920*scale,1080*scale))
+
+ self.setDragEnabled(True)
+ self.setSelectionMode(QAbstractItemView.ExtendedSelection)
+ #self.setSortingEnabled(True)
+
+ #self.setModel(Content_Model())
+ self.connect(self, SIGNAL("collapsed (const QModelIndex&)"),self.stop_loading)
+ self.connect(self, SIGNAL("expanded (const QModelIndex&)"),self.start_loading)
+
+ self.connect(self, SIGNAL("doubleClicked (const QModelIndex&)"),self.double_clicked)
+ self.auto_size()
+ def stop_loading(self,index):
+
+ self.model().remove_data_request(index)
+
+
+ def start_loading(self,index):
+
+ self.model().request_children_data_loaded(index)
+
+ def double_clicked(self,index):
+
+ item_data = index.internalPointer()
+
+ if not isinstance(item_data.content, content_types.FileSequence):
+
+ url = item_data.content.url()
+ QDesktopServices.openUrl(QUrl(url))
+
+ def auto_size(self):
+ for i in [0,1,2,3,4]:
+ self.resizeColumnToContents(i)
+
+ #self.setColumnWidth(0,200)
+
+ def currentChanged(self,current,previous):
+
+ self.emit(SIGNAL('current_changed'),current,previous)
+
+ QTreeView.currentChanged(self,current,previous)
+
+
+ self.model().set_current_item(current.internalPointer())
+ if current:
+ self.model().priority_data_request(current)
+
+ def dataChanged(self,topLeft,bottomRight):
+
+ QTreeView.dataChanged(self,topLeft,bottomRight)
+
+ for i in [1,2,3,4]:
+ self.resizeColumnToContents(i)
+
+
+ def get_selected_items(self):
+
+
+ selected_items = []
+ #print self.selectedIndexes()
+
+ selection_model = self.selectionModel()
+
+ #print selection_model.selectedRows()
+ for index in selection_model.selectedRows():
+
+ item_data = index.internalPointer()
+
+ selected_items.append(item_data)
+
+ return selected_items
+
+ def sizeHint(self):
+ return QSize(800,400)
+
+ def setModel(self,model):
+
+ QTreeView.setModel(self,model)
+ self.setSortingEnabled(True)
+ self.start_loading(None)
+
+ def keyPressEvent(self,event):
+
+ if event == QKeySequence.Copy:
+ items = self.get_selected_items()
+
+ paths = []
+ for item in items:
+ paths.append(item.content.path())
+
+ app = QApplication.instance()
+
+ app.clipboard().setText("\n".join(paths))
+ print paths
+ event.accept()
+ else:
+ QTreeView.keyPressEvent(self,event)
+
+ def paintEvent(self,event):
+
+ QTreeView.paintEvent(self,event)
+ self.overlay_painter.paint_overlay()
+#Notification
+class Content_Notification_Bar_Widget(QWidget):
+ def __init__(self,parent=None):
+ super(Content_Notification_Bar_Widget,self).__init__(parent)
+
+
+ self.progress_bar = QProgressBar()
+
+ self.progress_bar.setFixedSize(QSize(150,10))
+
+ self.message = QLabel()
+
+ layout = QHBoxLayout()
+
+ layout.addWidget(self.progress_bar)
+ layout.addWidget(self.message,Qt.AlignLeft)
+
+ layout.setMargin(0)
+ #layout.setAlignment()
+ self.setLayout(layout)
+
+
+ def set_progress(self,min,max,value):
+ self.progress_bar.setMinimum(min)
+ self.progress_bar.setMaximum(max)
+ self.progress_bar.setValue(value)
+
+ def set_message(self,message):
+ self.message.setText(message)
+
+
+class Preview_Widget(QWidget):
+
+ def __init__(self,parent=None):
+ super(Preview_Widget,self).__init__(parent)
+
+ self.preview_data = {}
+
+ self.preview_count = 4
+
+ self.clear()
+ #layout.setSpacing(2)
+ #layout.setMargin(2)
+
+
+ def preview_ready(self,data):
+
+
+ index = data['preview_index']
+
+ self.preview_data[index] = data
+
+ self.update()
+
+
+ def clear(self):
+ for i in range(self.preview_count):
+ self.preview_ready({'preview_index':i,'preview':None,'status':'no image'})
+
+ self.update()
+
+ def set_loading(self):
+ for i in range(self.preview_count):
+ self.preview_ready({'preview_index':i,'preview':None,'status':'loading'})
+
+ self.update()
+
+ def set_size(self):
+ width = self.width()
+
+ height = (width * 9/(16*4.0)) + 26.0
+
+ self.setFixedHeight(height)
+
+
+ def resizeEvent(self,event):
+
+ self.set_size()
+
+
+ def paintEvent(self, event):
+ painter = QPainter()
+
+ painter.begin(self)
+ painter.setRenderHint(QPainter.Antialiasing)
+
+ fullrect = QRectF(self.rect())
+
+
+
+ border = 3
+
+
+ bg_rect = QRectF(QPointF(border,border),QPointF(fullrect.width()-border,fullrect.height()-border,))
+
+ painter.setPen(QPen(QColor(128,128,128),.5,Qt.SolidLine))
+ painter.setBrush(Qt.NoBrush)
+ painter.drawRoundedRect(bg_rect, 5, 5,)
+
+
+ spacing = 4
+ height = bg_rect.height()
+ p_width = (bg_rect.width() * 1.0/self.preview_count) - border
+
+
+ for i in xrange(self.preview_count):
+
+ p_rect = QRectF(QPointF(0,spacing),QPointF(p_width-spacing,height-spacing))
+ p_rect.translate((p_width*i) + (border*3) + spacing/2.0 ,border)
+
+
+ image_width = p_rect.width()-8.0
+ image_height = image_width *9.0/16.0
+ i_rect = QRectF(QPointF(0,0),QPointF(image_width,image_height))
+
+ i_rect.moveCenter(p_rect.center())
+
+
+ painter.setBrush(QColor(0,0,0))
+ painter.setPen(QPen(QColor(128,128,128),2,Qt.SolidLine))
+ painter.drawRoundedRect(p_rect, 10, 10,)
+
+ #painter.fillRect(p_rect, QColor(0,0,0))
+
+
+ image = self.preview_data[i]['preview']
+
+ font = QFont('Serif', 15, QFont.Light)
+ font_color = QColor(255, 255, 255)
+
+
+ if image:
+
+ scaled_image = image.scaledToWidth(i_rect.width(),Qt.SmoothTransformation)
+
+ painter.drawImage(i_rect, scaled_image)
+
+
+ frame_num = str(self.preview_data[i]['frame'])
+
+
+ f_rect =QRectF(QPointF(i_rect.right()-40, i_rect.bottom()-15),i_rect.bottomRight())
+
+ f_rect.translate(-4, -2)
+
+
+ painter.setFont(fit_font(f_rect,font,frame_num))
+
+ #painter.setFont(font)
+ painter.setPen(font_color)
+
+ draw_with_shadow(painter,painter.drawText,[f_rect,Qt.AlignRight,frame_num])
+
+ #painter.drawText(i_rect.center(),str(frame_num))
+ elif self.preview_data[i]['status'] == 'loading':
+ painter.fillRect(i_rect, QColor(128, 128,128))
+
+ painter.setFont(font)
+ painter.setPen(font_color)
+
+ draw_with_shadow(painter,painter.drawText,[i_rect,Qt.AlignCenter,str("Loading Image")])
+
+ elif self.preview_data[i]['status'] == 'failed':
+ painter.fillRect(i_rect, QColor(128, 128,128))
+
+ painter.setFont(font)
+ painter.setPen(QColor(255,128,128))
+
+ draw_with_shadow(painter,painter.drawText,[i_rect,Qt.AlignCenter,str("Loading Failed")])
+
+
+ else:
+ pass
+
+ painter.fillRect(i_rect, QColor(128, 128,128))
+
+ painter.setFont(font)
+ painter.setPen(font_color)
+
+ draw_with_shadow(painter,painter.drawText,[i_rect,Qt.AlignCenter,str("No Image")])
+
+
+
+
+
+
+ painter.end()
+
+
+ #self.repaint()
+
+ #self.setFixedSize(QSize(width,height))
+
+class Content_Treeview_Widget(QWidget):
+
+ def __init__(self,parent=None):
+ super(Content_Treeview_Widget,self).__init__(parent)
+
+ self.view = Content_Treeview()
+ self.preview = Preview_Widget()
+ self.context_menu = None
+
+
+
+ self.information_finder = Information_Finder_Manager()
+
+ self.connect(self, SIGNAL("clear"),self.information_finder.clear)
+ self.connect(self.view, SIGNAL('current_changed'), self.current_changed)
+
+
+
+ self.notification_bar = Content_Notification_Bar_Widget()
+ self.notification_bar.hide()
+ self.timer_id = None
+ self.delay = 100
+
+ self.overlay_timeout = 0
+ self.show_overlay_delay = 500
+
+ #self.notification_bar.hide()
+
+ layout = QVBoxLayout()
+ layout.setMargin(0)
+
+ viewPreviewSplitter = QSplitter(Qt.Vertical)
+
+ #sizePolicy = QSizePolicy(QSizePolicy.Ignored, QSizePolicy.Ignored)
+ #viewPreviewSplitter.setSizePolicy(sizePolicy)
+
+
+ viewPreviewSplitter.addWidget(self.view)
+ viewPreviewSplitter.addWidget(self.preview)
+
+
+ layout.addWidget(viewPreviewSplitter)
+ #layout.addWidget(self.view)
+ #layout.addWidget(self.preview)
+ #layout.addWidget(self.notification_bar)
+ #layout.setAlignment(Qt.AlignLeft)
+
+
+
+ self.setLayout(layout)
+ self.preview.set_size()
+ #self.information_finder.start()
+ self.clear()
+
+ self.setup_context_menu()
+ #self.update()
+
+ def current_changed(self,current,prevous):
+
+ if current:
+ self.preview.set_loading()
+ else:
+
+ self.preview.clear()
+
+ def connect_to_information_finder(self,new_model,old_model):
+ sig = 'data_request'
+ if old_model:
+ self.disconnect(old_model, SIGNAL(sig),self.information_finder.data_request)
+ self.connect(new_model, SIGNAL(sig),self.information_finder.data_request)
+
+
+ sig = 'remove_data_request'
+ if old_model:
+ self.disconnect(old_model, SIGNAL(sig),self.information_finder.remove_data_request)
+ self.connect(new_model, SIGNAL(sig),self.information_finder.remove_data_request)
+
+
+ sig = 'data_ready'
+ if old_model:
+ self.disconnect(self.information_finder, SIGNAL(sig),old_model.data_ready)
+ self.connect(self.information_finder, SIGNAL(sig),new_model.data_ready)
+
+ sig = 'data_failed'
+ if old_model:
+ self.disconnect(self.information_finder, SIGNAL(sig),old_model.data_failed)
+ self.connect(self.information_finder, SIGNAL(sig),new_model.data_failed)
+
+ sig = 'preview_ready'
+ if old_model:
+ self.disconnect(old_model, SIGNAL(sig),self.preview.preview_ready)
+ self.connect(new_model, SIGNAL(sig),self.preview.preview_ready)
+
+
+ def context_menu_action(self,description):
+ description['content'] = self.view.get_selected_items()
+ self.emit(SIGNAL("context_menu_action"),description)
+
+
+
+ #print description
+
+ def setup_context_menu(self):
+
+ menu = QMenu()
+
+ #actions = menu.actions()
+ action_list = tool_actions.content_treeview_contextmenu_actions()
+
+
+ for item in action_list:
+
+ if item:
+ action = QAction(item['name'],self)
+ self.connect(action, SIGNAL('triggered()'),
+ lambda description=item:self.context_menu_action(description))
+ menu.addAction(action)
+
+ else:
+ menu.addSeparator()
+
+ self.context_menu = menu
+
+ def contextMenuEvent(self,event):
+ if self.view.get_selected_items():
+ self.context_menu.exec_(event.globalPos())
+
+ def clear(self):
+
+ self.emit(SIGNAL('clear'))
+ old_model = self.view.model()
+ new_model = Content_Model()
+
+ self.connect_to_information_finder(new_model, old_model)
+ self.view.setModel(new_model)
+
+ #self.preview.preview_ready(None)
+ self.preview.clear()
+ #self.preview.set_size()
+
+ del old_model
+ #self.view.setEnabled(False)
+
+ def show_overlay(self):
+ #self.view.overlay_painter.set_angle(0)
+ self.view.overlay_painter.show()
+
+
+ def hide_overlay(self):
+ self.view.overlay_painter.hide()
+ self.stop_animation()
+
+ def set_progress(self,progress_min,progress_max,progress_value):
+
+ self.view.overlay_painter.set_progress(progress_min, progress_max, progress_value)
+
+
+ def set_message(self,message,details=''):
+ self.view.overlay_painter.set_message(message, details)
+
+
+ def show_progress(self):
+ pass
+
+
+ def hide_progress(self):
+ self.hide_overlay()
+
+ def set_modal_data(self,modal_data):
+ self.view.setEnabled(True)
+
+ old_model = self.view.model()
+ new_model = Content_Model()
+ self.connect_to_information_finder(new_model, old_model)
+
+ new_model.set_model_data(modal_data)
+ self.view.setModel(new_model)
+
+ del old_model
+
+ self.view.auto_size()
+
+ def load_started(self,item=None):
+ self.clear()
+ self.show_progress()
+ self.start_animation()
+
+ def load_finished(self,item=None):
+ self.hide_overlay()
+ if item:
+ self.set_modal_data(item)
+
+ def load_error(self,item=None):
+ self.hide_overlay()
+
+ def loading_stop(self,item=None):
+ self.hide_overlay()
+
+
+
+ def start_animation(self):
+
+ if not self.timer_id:
+ self.timer_id = self.startTimer(self.delay)
+
+
+ def stop_animation(self):
+
+ if self.timer_id:
+ self.killTimer(self.timer_id)
+ self.timer_id = None
+ self.overlay_timeout = 0
+
+ def timerEvent(self,event):
+
+ self.overlay_timeout += self.delay
+
+ if self.overlay_timeout > self.show_overlay_delay:
+ self.show_overlay()
+
+ percent = self.view.overlay_painter.get_progress_percent()
+
+ if percent == None:
+ angle = self.view.overlay_painter.get_angle()
+ self.view.overlay_painter.set_angle(angle + 30 )
+
+ self.view.viewport().update()
+
+ #def sizeHint(self):
+
+ #return QSize(500,500)
+
+
+
+
diff --git a/project_browser/content_types.py b/project_browser/content_types.py
new file mode 100644
index 0000000..297946a
--- /dev/null
+++ b/project_browser/content_types.py
@@ -0,0 +1,523 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import os
+from collections import defaultdict
+import time
+import ffmpeg
+import imagemagick
+import sequence
+from project_browser import utilities
+
+def return_none():
+ return None
+
+class File_Model_Item(object):
+ def __init__(self,Content_Item=None,parent=None):
+ self.parent_item = parent
+
+ self.content = Content_Item
+
+ self.column_names = ['Path','Frames','Resolution','Kind','Created']
+
+ self.data_loaded = ['Path','Kind']
+ self.data_loading = []
+ self.data_queued = []
+ self._stop = False
+ self.lock = None
+
+ self.properties = defaultdict(return_none)
+
+ self.children = []
+
+ if isinstance(self.content,File):
+ if not isinstance(self.content,VideoFile):
+ self.data_loaded.append('Frames')
+
+ if isinstance(self.content,FileSequence):
+ self.data_loaded.append('Frames')
+ for item in self.content:
+ f = File_Model_Item(item,self)
+ self.addChild(f)
+
+ def stop(self):
+ return self._stop
+
+ def addChild(self,item):
+ self.children.append(item)
+
+ def parent(self):
+ return self.parent_item
+
+ def child(self, row):
+ return self.children[row]
+
+ def row(self):
+ if self.parent_item:
+ return self.parent_item.children.index(self)
+
+ return 0
+
+ def columnCount(self):
+ return len(self.column_names)
+
+ def childCount(self):
+
+ if self.children:
+
+ return len(self.children)
+
+ return 0
+
+ def dataReady(self,key):
+
+ if key in self.data_loaded:
+ return True
+ return False
+ def dataLoading(self,key):
+ if key in self.data_queued:
+ return True
+ if key in self.data_loading:
+ return True
+
+
+
+ return False
+
+ def data(self, column):
+
+ key = self.column_names[column]
+ d = self.get_data(key)
+ return d
+
+ def get_data(self,key):
+ if self.content:
+ if not self.properties[key]:
+
+ if key == 'Path':
+ self.properties[key] = self.content.nice_name()
+
+ elif key == 'Kind':
+ self.properties[key] = self.content.mimetype()[0]
+
+ elif key == 'Frames':
+ self.properties[key] = self.content.frames()
+
+ elif key == 'Blame':
+ self.properties[key] = self.content.blame()
+
+ elif key == 'Resolution':
+ self.properties[key] = self.content.resolution()
+
+ elif key == 'Created':
+ clean_time = time.strftime("%Y-%m-%d %H:%M",self.content.create_time())
+ self.properties[key] = clean_time
+
+ elif key == 'Url':
+ self.properties[key] = self.content.url()
+
+
+ return self.properties[key]
+
+ def sort_by(self,key,reverse=False):
+
+ def sort_key(item):
+ item.children.sort(key=sort_key,reverse=reverse)
+
+ return item.get_data(key)
+
+ self.children.sort(key=sort_key, reverse=reverse)
+
+
+
+def get_create_time(path):
+ return time.gmtime(os.path.getctime(path))
+
+def get_owner(path):
+ return 'Not Implemented'
+
+
+class File(object):
+
+ def __init__(self,dirname,basename,mimetype=None):
+ self._dirname = dirname
+ self._basename = basename
+ self._mimetype= mimetype
+ self._create_time = None
+ self._blame = None
+ self._common_prefix = None
+ self._frames = 1
+ self._properties = None
+ self._size = None
+
+ def __str__(self):
+ return str(os.path.join(self.dirname(),self.basename()))
+
+ def mimetype(self):
+ return self._mimetype
+
+ def basename(self):
+ return self._basename
+
+ def url(self):
+
+ url = 'file://' + os.path.join(self._dirname,self._basename)
+ return url
+
+ def dirname(self):
+ return self._dirname
+
+ def range(self):
+ return 1
+
+ def size(self):
+
+ return os.path.getsize(self.path())
+ def pretty_size(self):
+
+ return utilities.pretty_filesize(self.size())
+ def resolution(self):
+ return str(self.pretty_size())
+
+ def pretty_range(self):
+ return str(self.range())
+
+ def frames(self):
+
+ return int(self._frames)
+
+ def nice_name(self):
+ path = str(self.path())
+
+ nice_name = path.replace(self.common_prefix(), '')
+
+ nice_name = str(nice_name.lstrip(os.sep))
+ #print '"%s"' % path
+ #print '"%s"' % nice_name
+ return nice_name
+
+ def nice_path(self):
+ return self.path()
+
+ def path(self):
+ return str(os.path.join(self.dirname(),self.basename()))
+ def blame(self):
+ if not self._blame:
+ self._blame = get_owner(self.path())
+
+ return self._blame
+
+
+ def shake_path(self):
+ return self.path()
+
+
+ def create_time(self):
+ if not self._create_time:
+ self._create_time = get_create_time(self.path())
+
+ return self._create_time
+
+ def common_prefix(self):
+ return self._common_prefix
+
+ def set_common_prefix(self,path):
+ self._common_prefix = str(path)
+
+
+ def frame_num(self):
+
+
+ seq = sequence.SeqString(self.basename())
+
+ nums = seq.getNums()
+
+
+ if nums:
+ return nums[-1]
+
+ else:
+
+ return 1
+
+
+
+
+
+class ImageFile(File):
+ def __init__(self,dirname,basename,mimetype=None):
+ super(ImageFile,self).__init__(dirname,basename,mimetype)
+ self._width = None
+ self._height = None
+ self._depth = None
+
+
+ def properties(self):
+ if not self._properties:
+ p = imagemagick.get_image_properties(self.path())
+ self._properties = p
+ self._width = p['width']
+ self._height = p['height']
+ self._depth = p['depth']
+
+
+ return self._properties
+
+ def resolution(self):
+
+ return '%ix%i %ibit %s' % (self._width,self._height,self._depth,str(self.pretty_size()))
+
+
+ def thumbnail(self,width=None,height=None,frame=None,indexF=None):
+ return imagemagick.make_thumbnail(self.path(),width,height)
+
+
+
+
+
+
+
+
+class VideoFile(File):
+ def __init__(self,dirname,basename,mimetype=None):
+ super(VideoFile,self).__init__(dirname,basename,mimetype)
+
+
+ self._frames = 0
+ self._rate = None
+ self._duration = None
+
+ self._size = None
+
+ self._width = None
+ self._height = None
+ self._depth = 8
+
+ def properties(self):
+
+ if not self._properties:
+ p = ffmpeg.get_video_properties(self.path())
+ self._properties = p
+ self._rate = p['rate']
+ self._duration = p['duration']
+ self._width = p ['width']
+ self._height = p['height']
+ self._frames = p['frames']
+
+
+ return self._properties
+
+ def resolution(self):
+ fps = '%.2ffps' % (self._rate)
+ return '%ix%i %s %s' % (self._width,self._height,fps,str(self.pretty_size()))
+
+ def frames(self):
+
+ return self._frames
+
+ def pretty_range(self):
+ return '1-%i' % self.frames()
+
+ def thumbnail(self,width=None,height=None,frame=None,indexF=None):
+
+ if indexF != None:
+ percent= indexF
+
+ elif frame != None:
+ percent = frame / float(self.properties()['frames'])
+
+ else:
+ percent=.5
+
+ image = ffmpeg.frame_grab_percent(self.path(), percent=percent, properties=self.properties())
+ scaled_image = imagemagick.make_thumbnail(image,width=width,height=height,use_stdin=True)
+ return scaled_image
+
+
+ def frameF(self,indexF):
+
+ return int(self.properties()['frames'] * indexF) + 1
+
+
+
+class AudioFile(File):
+
+ pass
+
+
+class FileSequence(object):
+ def __init__(self,dirname,sequence_object,mimetype=None):
+
+ self._dirname = dirname
+
+ self._sequence_object = sequence_object
+ self._mimetype = mimetype
+
+ basename,range = self._sequence_object.sequenceName()
+ self._basename = basename
+ self._range = range
+ self._create_time = None
+ self._blame = None
+ self._common_prefix = ''
+
+ self._width = None
+ self._height= None
+ self._depth = None
+
+ self._properties = None
+ #self._range = self._sequence_object.
+
+ def __str__(self):
+ return os.path.join(self.dirname(),str(self._sequence_object))
+
+ def __len__(self):
+ return self._sequence_object.__len__()
+
+ def __getitem__(self,idx):
+ return self._sequence_object[idx]
+
+ def mimetype(self):
+ return self._mimetype
+
+ def dirname(self):
+ return self._dirname
+
+ def basename(self):
+ return self._basename
+
+ def range(self):
+ return self._range
+
+ def frames(self):
+ return len(self._sequence_object)
+
+ def indexF(self,value):
+
+ index = int(len(self) * value)
+
+ return self[index]
+
+ def frameF(self,indexF):
+
+ item = self.indexF(indexF)
+ return item.frame_num()
+
+ def resolution(self):
+ return self.indexF(.5).resolution()
+
+
+ def properties(self):
+
+ if not self._properties:
+
+ test_file = self.indexF(.5)
+
+ p = test_file.properties()
+
+ self._properties = p
+ self._properties['frames'] = len(self)
+
+ return self._properties
+
+ def thumbnail(self,width=None,height=None,frame=None,indexF=None):
+
+ if indexF != None:
+ image = self.indexF(float(indexF))
+ elif frame != None:
+
+ image = self[frame]
+ else:
+ image = self.indexF(.5)
+
+ return image.thumbnail(width=width,height=height)
+
+ def nice_name(self):
+
+ path = str(self.path())
+
+ nice_name = path.replace(self.common_prefix(), '')
+
+ nice_name = nice_name.lstrip(os.sep)
+
+
+ return nice_name
+
+ def pretty_range(self):
+
+ return ','.join(self.range())
+
+ def url(self):
+ #print type(self._range)
+ url = 'file://' + self.path()
+ return url
+
+ def nice_path(self):
+ return self[0].nice_path()
+
+ def path(self):
+
+ #return self.shake_path()
+ return os.path.join(self.dirname(),str(self._basename) + ' ' + self.pretty_range() )
+
+ def shake_path(self):
+
+ padder = None
+ for pad_item in ['#','@','*']:
+
+ if self.basename().count(pad_item):
+ padder = pad_item * self.basename().count(pad_item)
+ break
+
+ if padder:
+ range = self.pretty_range()
+ shake_padder = '@' * len(padder)
+ shake_basename = self.basename().replace(padder,range + shake_padder)
+
+ return os.path.join(self.dirname(),shake_basename)
+
+ else:
+ return self.path()
+
+ def blame(self):
+ if not self._blame:
+ test_file = self[0]
+ self._blame = test_file.blame()
+
+ return self._blame
+
+
+
+ def create_time(self):
+ if not self._create_time:
+ test_file = self[0]
+ self._create_time = test_file.create_time()
+
+ return self._create_time
+
+ def common_prefix(self):
+ return self._common_prefix
+
+ def set_common_prefix(self,path):
+ self._common_prefix = str(path)
+
+
+
+class ImageSequence(FileSequence):
+ pass
+
+
+
diff --git a/project_browser/ffmpeg.py b/project_browser/ffmpeg.py
new file mode 100644
index 0000000..9d3924c
--- /dev/null
+++ b/project_browser/ffmpeg.py
@@ -0,0 +1,260 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import os
+import platform
+import re
+
+from pprint import pprint
+
+from timeout_process import timeout_process
+
+import utilities
+
+
+def get_ffprobe():
+ ffprobe = utilities.find_executable_path('ffprobe')
+
+ assert ffprobe
+ return ffprobe
+
+def get_ffmpeg():
+ ffmpeg = utilities.find_executable_path('ffmpeg')
+ assert ffmpeg
+ return ffmpeg
+
+def parse_ffmpeg_stderr_duration(output):
+ d = ''
+ for line in output.splitlines():
+ if line.count('Duration:'):
+ d = line.replace('Duration:','')
+ d = d.split('start:')
+ d = d[0].replace(',','')
+ d = d.rstrip().lstrip()
+ break
+ d = d.split(':')
+
+ time = 0.0
+ if d[0]:
+ time += float(d[0]) * 60 * 60
+ if d[1]:
+ time += float(d[1]) *60
+ if d[2]:
+ time += float(d[2])
+ return time
+
+def decode_fraction(string):
+
+
+ try:
+ a,b = string.split('/')
+ result = float(a) / float(b)
+ return result
+
+ except:
+ return None
+
+def decode_value(key,value):
+
+ if value == 'N/A':
+ return None
+
+ elif key in ['height','width','nb_frames','index']:
+ return int(value)
+
+ elif key in ['duration','start_time']:
+ return float(value)
+
+ elif key in ['codec_time_base','time_base','r_frame_rate','avg_frame_rate']:
+
+ return decode_fraction(value)
+
+ else:
+
+ return value
+
+def parse_ffprobe_output(output):
+
+ assert output
+ pattern = re.compile("[[].*?[]].*?[[][/].*?[]]",re.DOTALL)
+
+ section_list = pattern.findall(output)
+
+
+ sections = []
+
+ for item in section_list:
+ key_list = item.splitlines()
+
+ section = {}
+
+ section['SECTION'] = key_list[0].replace('[','').replace(']','')
+
+ for line in key_list[1:-1]:
+ key,value = line.split('=')
+
+ section[key] = decode_value(key,value)
+
+ sections.append(section)
+
+ #pprint(sections)
+
+ return sections
+
+
+
+def get_video_stream(path):
+
+ streams = get_streams(path)
+
+ for stream in streams:
+
+ if stream['codec_type'] == 'video':
+ return stream
+
+ else:
+ return None
+
+def slow_durations(path):
+
+ cmd = [get_ffmpeg(),'-i',path,'-f','null',os.devnull]
+
+ stdout,stderr = timeout_process(cmd,timeout=60)
+
+ print stdout
+ print stderr
+
+
+def check_key(section,key):
+
+ if section.has_key(key):
+ if section[key] == None:
+ pass
+ else:
+ return section[key]
+ return None
+
+
+def get_video_properties(path):
+
+ """get all sorts of details about a video file, rate,duration,frames and resolution. also much much more"""
+ video_stream = get_video_stream(path)
+
+ rate = None
+ duration = None
+ frames = None
+ size = (None,None)
+
+ width = None
+ height = None
+
+ if not video_stream:
+ return (rate,duration,frames,size)
+
+ rate = check_key(video_stream,'r_frame_rate')
+ duration = check_key(video_stream,'duration')
+ frames = check_key(video_stream,'nb_frames')
+
+ width = check_key(video_stream,'width')
+ height = check_key(video_stream,'height')
+
+
+ if width and height:
+ size = (width,height)
+
+
+ if not duration:
+ output = get_ffmpeg_details(path)
+ duration = parse_ffmpeg_stderr_duration(output)
+
+
+ if not frames:
+ if rate and duration:
+ frames = int(duration*rate)
+
+
+ video_stream['rate'] = rate
+ video_stream['duration'] = duration
+ video_stream['frames'] = frames
+ video_stream['width'] = width
+ video_stream['height'] = height
+
+
+ return video_stream
+
+
+def get_streams(path):
+
+ cmd = [get_ffprobe(), '-show_streams',path]
+
+ stdout,stderr = timeout_process(cmd,timeout=12)
+
+ return parse_ffprobe_output(stdout)
+
+def get_ffmpeg_details(path):
+
+ cmd = [get_ffprobe(),path]
+
+ stdout,stderr = timeout_process(cmd,timeout=12)
+
+ return stderr
+
+
+def frame_grab(path,frame,properties=None,format='png'):
+ """grabs a still image form the video file at 'path' at specified frame.
+ 'properties' are the video file properites (from get_video_properties) if
+ you pass them in it won't recalculate them.
+ 'format' is the image format, options are ppm,png and mjpeg (for jpeg)"""
+
+ if not properties:
+ properties = get_video_properties(path)
+
+ percent = frame / float(properties['frames'])
+
+
+ return frame_grab_percent(path,percent,properties=properties,format=format)
+
+def frame_grab_percent(path,percent=.5,properties=None,format='png'):
+ """grabs a still image form the video file at 'path' at specified 'percent' (between 0-1).
+ 'properties' are the video file properites (from get_video_properties) if
+ you pass them in it won't recalculate them.
+ 'format' is the image format, options are ppm,png and mjpeg (for jpeg)"""
+
+ if not properties:
+ properties = get_video_properties(path)
+
+
+ seconds = properties['duration'] * float(percent)
+
+ return frame_grab_seconds(path,seconds,format)
+
+
+def frame_grab_seconds(path,seconds=0,format='png'):
+ """grabs a still image from the video file at 'path' at specified 'seconds' in.
+ 'format' is the image format, options are ppm,png and mjpeg (for jpeg)"""
+
+ cmd = [get_ffmpeg(),'-ss',str(seconds),'-vframes','1','-i',path,'-f','image2','-vcodec', format,'-']
+
+
+ stdout,stderr = timeout_process(cmd,timeout=12)
+
+
+ return stdout
+
+
+
+
\ No newline at end of file
diff --git a/project_browser/flipbook.py b/project_browser/flipbook.py
new file mode 100644
index 0000000..088b16e
--- /dev/null
+++ b/project_browser/flipbook.py
@@ -0,0 +1,91 @@
+import os
+import platform
+import subprocess
+
+import utilities
+import timeout_process
+
+def get_avaible_flipbooks():
+
+ return ['Shake','RV']
+
+
+
+def get_shake():
+
+ shake = utilities.find_executable_path('shake')
+
+ if shake:
+ return shake
+
+ if platform.system() == 'Darwin':
+ path = '/Applications/Shake/shake.app/Contents/MacOS/shake'
+ if os.path.exists(path):
+ return path
+
+ return None
+
+
+
+def get_rv():
+ rv_exe = ['RV64']
+ if platform.machine() == 'i386':
+ rv_exe.insert(0, 'RV')
+ for exe in rv_exe:
+ rv = utilities.find_executable_path(exe)
+ if rv:
+ return rv
+ if platform.system() == 'Darwin':
+ rv_paths = ['/Applications/RV64.app/Contents/MacOS/RV64']
+ if platform.machine() == 'i386':
+ rv_paths.insert(0,'/Applications/RV.app/Contents/MacOS/RV')
+
+ for path in rv_paths:
+ if os.path.exists(path):
+ return path
+
+
+
+def shake_flipbook(file_item,options):
+
+
+ shake = get_shake()
+
+ cmd = [shake,'-t',options['range'], file_item.content.shake_path()]
+
+
+ proxy = options.get('proxy')
+
+ if proxy == "P1":
+ cmd.extend(['-zoom','.5'])
+
+ elif proxy == "P2":
+ cmd.extend(['-zoom','.25'])
+
+ #print subprocess.list2cmdline(cmd)
+
+ return timeout_process.launch_process(cmd)
+
+
+
+
+
+def rv_flipbook(file_items,options):
+ rv = get_rv()
+ #print options
+
+ cmd = [rv,'-c','-sRGB']
+
+ mode = options.get('mode')
+
+ if mode:
+ cmd.append(mode)
+
+ for item in file_items:
+
+ cmd.extend(['[', item.content.shake_path(),']'])
+
+ #print subprocess.list2cmdline(cmd)
+
+ return timeout_process.launch_process(cmd)
+
\ No newline at end of file
diff --git a/project_browser/flipbook_tool.py b/project_browser/flipbook_tool.py
new file mode 100644
index 0000000..5b8ed89
--- /dev/null
+++ b/project_browser/flipbook_tool.py
@@ -0,0 +1,140 @@
+import sys
+import os
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+
+import flipbook
+
+DEFAULT_FLIPBOOK='Shake'
+DEFAULT_PROXY='Base'
+
+
+def get_proxy_levels():
+
+ return ['Base','P1','P2']
+
+class Flipbook_Tool_Widget(QDialog):
+ def __init__(self,parent=None):
+
+ super(Flipbook_Tool_Widget,self).__init__(parent)
+
+
+ self.setWindowTitle("Flipbook Tool")
+
+ self.range_label = QLabel("Range:")
+ self.range_lineEdit = QLineEdit()
+
+ proxy_levels = get_proxy_levels()
+ self.proxy_comboBox = QComboBox()
+ self.proxy_comboBox.addItems(proxy_levels)
+ self.proxy_comboBox.setCurrentIndex(proxy_levels.index( DEFAULT_PROXY))
+
+ flipbooks = flipbook.get_avaible_flipbooks()
+
+
+ self.flipbook_comboBox = QComboBox()
+ self.flipbook_comboBox.addItems(flipbooks)
+
+ self.flipbook_comboBox.setCurrentIndex(flipbooks.index(DEFAULT_FLIPBOOK))
+ #self.flipbook_comboBox.setcu(DEFAULT_FLIPBOOK)
+
+ self.flipbook_button = QPushButton('Flipbook')
+ self.cancel_button = QPushButton('Cancel')
+
+
+ self.connect(self.flipbook_button, SIGNAL('clicked()'),self.accept)
+ self.connect(self.cancel_button, SIGNAL('clicked()'),self.reject)
+
+ self.connect(self.flipbook_comboBox, SIGNAL('currentIndexChanged (const QString&)'),self.flipbook_change)
+ self.connect(self.proxy_comboBox, SIGNAL('currentIndexChanged (const QString&)'),self.proxy_change)
+
+ main_layout = QHBoxLayout()
+ main_layout.addWidget(self.range_label)
+ main_layout.addWidget(self.range_lineEdit)
+ main_layout.addWidget(QLabel("Proxy:"))
+ main_layout.addWidget(self.proxy_comboBox)
+ main_layout.addWidget(QLabel("Using:"))
+ main_layout.addWidget(self.flipbook_comboBox)
+
+
+ button_layout = QHBoxLayout()
+ button_layout.addWidget(self.flipbook_button)
+ button_layout.addWidget(self.cancel_button)
+
+ layout = QVBoxLayout()
+ layout.addLayout(main_layout)
+ layout.addLayout(button_layout)
+
+ self.setLayout(layout)
+
+ def flipbook_change(self,current):
+
+ DEFAULT_FLIPBOOK = str(current)
+
+ if str(current) == 'RV':
+
+ self.range_lineEdit.setEnabled(False)
+ else:
+ self.range_lineEdit.setEnabled(True)
+
+ def proxy_change(self,current):
+ DEFAULT_PROXY = str(current)
+
+
+ def set_file_item(self,file_item):
+
+ self.range_lineEdit.setText(str(file_item.content.pretty_range()))
+
+
+ def get_options(self):
+
+
+ options = {'flipbook':str(self.flipbook_comboBox.currentText()),
+ 'range':str(self.range_lineEdit.text()),
+ 'proxy':str(self.proxy_comboBox.currentText())
+ }
+
+ return options
+
+
+
+
+
+def launch_flipbook_tool(file_items):
+
+ dialog = Flipbook_Tool_Widget()
+ first_item = file_items[0]
+ dialog.set_file_item(first_item)
+
+ if dialog.exec_():
+ launch_flipbook(file_items,dialog.get_options())
+
+
+def launch_flipbook(file_items,options):
+ reload(flipbook)
+
+ first_item = file_items[0]
+ if options['flipbook'] == 'Shake':
+ flipbook.shake_flipbook(first_item, options)
+
+ elif options['flipbook'] == 'RV':
+ flipbook.rv_flipbook(file_items, options)
+
+
+
+
+
+
+if __name__ == '__main__':
+
+ app = QApplication(sys.argv)
+
+
+ main_widget = Flipbook_Tool_Widget()
+
+ main_widget.show()
+ main_widget.raise_()
+ sys.exit(app.exec_())
+
\ No newline at end of file
diff --git a/project_browser/gui_utilities.py b/project_browser/gui_utilities.py
new file mode 100644
index 0000000..092e9ba
--- /dev/null
+++ b/project_browser/gui_utilities.py
@@ -0,0 +1,154 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import sys
+import os
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import utilities
+
+def register_resources():
+ theme_resource = os.path.join(utilities.find_image_dir(),'themes.rcc')
+
+ resources = [theme_resource]
+
+ for item in resources:
+
+ QResource.registerResource(item)
+
+def set_theme():
+
+ if not QIcon.themeName():
+
+ QIcon.setThemeSearchPaths([':/themes/tango'])
+ QIcon.setThemeName('Tango')
+
+
+def draw_with_shadow(painter,paint_cmd,args,pen=True):
+ painter.save()
+ painter.save()
+
+ shadow_color = QColor(0,0,0,128)
+ if pen:
+ painter.setPen(shadow_color)
+
+ else:
+ painter.setPen(Qt.NoPen)
+
+ painter.setBrush(shadow_color)
+
+ painter.translate(QPointF(1,1))
+ paint_cmd(*args)
+ painter.restore()
+ paint_cmd(*args)
+ painter.restore()
+
+def fit_font(rect,font,string):
+ if not string:
+ string = ' '
+
+ width = rect.width()
+ height = rect.height()
+
+ font.setPixelSize(float(height))
+
+ fm = QFontMetricsF(font)
+ text_width = fm.width(string)
+
+ factor = width / float(text_width)
+ if text_width > width:
+ font.setPixelSize(font.pixelSize() * factor)
+ return font
+
+def message(message,title="Information",info=None,details=None):
+ dialog = QMessageBox()
+
+ dialog.setWindowTitle(title)
+ dialog.setText(message)
+
+ dialog.setIcon(QMessageBox.Information)
+ if info:
+ dialog.setInformativeText(info)
+ if details:
+ dialog.setDetailedText(details)
+
+
+
+ dialog.exec_()
+
+def error_message(message,title="Error Occurred",info=None,details=None):
+
+ dialog = QMessageBox()
+
+ dialog.setWindowTitle(title)
+ dialog.setText(message)
+
+ dialog.setIcon(QMessageBox.Critical)
+ if info:
+ dialog.setInformativeText(info)
+ if details:
+ dialog.setDetailedText(details)
+
+ print details
+ dialog.exec_()
+
+def file_directory_dialog(default_dir=None):
+
+
+
+ if not default_dir:
+ default_dir = os.path.expanduser('~')
+
+ elif not os.path.exists(default_dir):
+ default_dir = os.path.expanduser('~')
+
+
+
+ dialog = QFileDialog()
+
+
+ dialog.setDirectory(default_dir)
+ dialog.setFileMode(QFileDialog.Directory)
+ dialog.setViewMode(QFileDialog.Detail)
+
+ if dialog.exec_():
+
+ selected_files = []
+
+ for item in dialog.selectedFiles():
+ selected_files.append(str(QDir.toNativeSeparators(item)))
+ return selected_files
+
+ return None
+
+
+def copy_string_to_clipboard(string):
+
+ data = QMimeData()
+ data.setText(string)
+ app = QApplication.instance()
+
+ app.clipboard().setMimeData(data)
+
+
+
+if __name__ == '__main__':
+
+ register_resources()
diff --git a/project_browser/imagemagick.py b/project_browser/imagemagick.py
new file mode 100644
index 0000000..a213a9a
--- /dev/null
+++ b/project_browser/imagemagick.py
@@ -0,0 +1,140 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import os
+import platform
+import re
+
+from pprint import pprint
+
+from timeout_process import timeout_process
+
+import utilities
+
+
+def get_convert():
+ executable = utilities.find_executable_path('convert')
+
+ assert executable
+ return executable
+
+def get_identify():
+ executable = utilities.find_executable_path('identify')
+
+ assert executable
+ return executable
+
+
+def format_info(source,format,use_stdin=False):
+
+ if use_stdin:
+ path = '-'
+ stdin = source
+ else:
+ path = source
+ stdin = None
+
+ cmd = [get_convert(),'-ping',path,'-format' , format, 'info:-']
+ stdout,stderr = timeout_process(cmd, stdin=stdin)
+
+
+
+
+
+ return stdout,stderr
+
+
+def get_image_properties(source,use_stdin=False):
+
+ format = '%[width] %[height] %[depth] %[colorspace] %[channels] %C %Q\n%[*]'
+
+ stdout,stderr = format_info(source,format,use_stdin=use_stdin)
+
+
+ if not stdout:
+ raise Exception("failed to get Image Properties")
+
+ p = {}
+
+ splitlines = stdout.splitlines()
+ p['width'],p['height'],p['depth'],p['colorspace'],p['channels'],p['compression_type'],p['compression_quality'] = splitlines[0].split()
+
+
+ for line in splitlines[1:]:
+ if line:
+
+ split = line.split('=')
+
+ key = split[0]
+
+ value = '='.join(split[1:])
+ p[key] = value
+
+
+ for key in ['width','height','depth']:
+ if p.has_key(key):
+ p[key] = int(p[key])
+
+
+ return p
+
+
+def make_thumbnail(source,width=None,height=None,use_stdin=False):
+
+ scale = .05
+
+ default_width = int(1920 * scale)
+ default_height = int(1080 * scale)
+
+
+ if not width:
+ width = default_width
+
+ if not height:
+ height = default_height
+
+ if use_stdin:
+ path = '-'
+ stdin = source
+ ext = None
+
+ else:
+
+ name,ext = os.path.splitext(source)
+ ext = ext.lower()
+ path = source
+ stdin = None
+
+
+
+ resize = '%dx%d' % (width,height)
+
+
+ cmd = [get_convert(),path,'-gravity', 'Center','-background','black',
+ '-thumbnail', resize,'-strip','-extent',resize,'-colorspace','RGB', 'png:-']
+
+
+ if ext in ['.dpx']:
+ cmd = [get_convert(),path,'-gravity', 'Center','-background','black',
+ '-thumbnail', resize,'-strip','-extent',resize,'-set','colorspace','RGB', 'png:-']
+
+
+
+ stdout,stderr = timeout_process(cmd, stdin=stdin)
+
+ return stdout
+
\ No newline at end of file
diff --git a/project_browser/images/project_browser.png b/project_browser/images/project_browser.png
new file mode 100644
index 0000000..6f73a84
Binary files /dev/null and b/project_browser/images/project_browser.png differ
diff --git a/project_browser/images/themes.qrc b/project_browser/images/themes.qrc
new file mode 100644
index 0000000..688e763
--- /dev/null
+++ b/project_browser/images/themes.qrc
@@ -0,0 +1,4224 @@
+
+
+ themes/tango/index.theme
+themes/tango/16x16/actions/add.png
+themes/tango/16x16/actions/address-book-new.png
+themes/tango/16x16/actions/appointment-new.png
+themes/tango/16x16/actions/appointment.png
+themes/tango/16x16/actions/back.png
+themes/tango/16x16/actions/bookmark-new.png
+themes/tango/16x16/actions/bookmark_add.png
+themes/tango/16x16/actions/bookmarks_list_add.png
+themes/tango/16x16/actions/bottom.png
+themes/tango/16x16/actions/centrejust.png
+themes/tango/16x16/actions/contact-new.png
+themes/tango/16x16/actions/document-new.png
+themes/tango/16x16/actions/document-open.png
+themes/tango/16x16/actions/document-print-preview.png
+themes/tango/16x16/actions/document-print.png
+themes/tango/16x16/actions/document-properties.png
+themes/tango/16x16/actions/document-save-as.png
+themes/tango/16x16/actions/document-save.png
+themes/tango/16x16/actions/down.png
+themes/tango/16x16/actions/edit-clear.png
+themes/tango/16x16/actions/edit-copy.png
+themes/tango/16x16/actions/edit-cut.png
+themes/tango/16x16/actions/edit-delete.png
+themes/tango/16x16/actions/edit-find-replace.png
+themes/tango/16x16/actions/edit-find.png
+themes/tango/16x16/actions/edit-paste.png
+themes/tango/16x16/actions/edit-redo.png
+themes/tango/16x16/actions/edit-select-all.png
+themes/tango/16x16/actions/edit-undo.png
+themes/tango/16x16/actions/editclear.png
+themes/tango/16x16/actions/editcopy.png
+themes/tango/16x16/actions/editcut.png
+themes/tango/16x16/actions/editdelete.png
+themes/tango/16x16/actions/editpaste.png
+themes/tango/16x16/actions/exit.png
+themes/tango/16x16/actions/filefind.png
+themes/tango/16x16/actions/filenew.png
+themes/tango/16x16/actions/fileopen.png
+themes/tango/16x16/actions/fileprint.png
+themes/tango/16x16/actions/filequickprint.png
+themes/tango/16x16/actions/filesave.png
+themes/tango/16x16/actions/filesaveas.png
+themes/tango/16x16/actions/find.png
+themes/tango/16x16/actions/finish.png
+themes/tango/16x16/actions/folder-new.png
+themes/tango/16x16/actions/folder_new.png
+themes/tango/16x16/actions/format-indent-less.png
+themes/tango/16x16/actions/format-indent-more.png
+themes/tango/16x16/actions/format-justify-center.png
+themes/tango/16x16/actions/format-justify-fill.png
+themes/tango/16x16/actions/format-justify-left.png
+themes/tango/16x16/actions/format-justify-right.png
+themes/tango/16x16/actions/format-text-bold.png
+themes/tango/16x16/actions/format-text-italic.png
+themes/tango/16x16/actions/format-text-strikethrough.png
+themes/tango/16x16/actions/format-text-underline.png
+themes/tango/16x16/actions/forward.png
+themes/tango/16x16/actions/gnome-lockscreen.png
+themes/tango/16x16/actions/gnome-logout.png
+themes/tango/16x16/actions/gnome-searchtool.png
+themes/tango/16x16/actions/gnome-shutdown.png
+themes/tango/16x16/actions/gnome-stock-mail-fwd.png
+themes/tango/16x16/actions/gnome-stock-mail-new.png
+themes/tango/16x16/actions/gnome-stock-mail-rpl.png
+themes/tango/16x16/actions/gnome-stock-text-indent.png
+themes/tango/16x16/actions/gnome-stock-text-unindent.png
+themes/tango/16x16/actions/go-bottom.png
+themes/tango/16x16/actions/go-down.png
+themes/tango/16x16/actions/go-first.png
+themes/tango/16x16/actions/go-home.png
+themes/tango/16x16/actions/go-jump.png
+themes/tango/16x16/actions/go-last.png
+themes/tango/16x16/actions/go-next.png
+themes/tango/16x16/actions/go-previous.png
+themes/tango/16x16/actions/go-top.png
+themes/tango/16x16/actions/go-up.png
+themes/tango/16x16/actions/gohome.png
+themes/tango/16x16/actions/gtk-add.png
+themes/tango/16x16/actions/gtk-bold.png
+themes/tango/16x16/actions/gtk-cancel.png
+themes/tango/16x16/actions/gtk-clear.png
+themes/tango/16x16/actions/gtk-copy.png
+themes/tango/16x16/actions/gtk-cut.png
+themes/tango/16x16/actions/gtk-delete.png
+themes/tango/16x16/actions/gtk-find-and-replace.png
+themes/tango/16x16/actions/gtk-find.png
+themes/tango/16x16/actions/gtk-fullscreen.png
+themes/tango/16x16/actions/gtk-go-back-ltr.png
+themes/tango/16x16/actions/gtk-go-back-rtl.png
+themes/tango/16x16/actions/gtk-go-down.png
+themes/tango/16x16/actions/gtk-go-forward-ltr.png
+themes/tango/16x16/actions/gtk-go-forward-rtl.png
+themes/tango/16x16/actions/gtk-go-up.png
+themes/tango/16x16/actions/gtk-goto-bottom.png
+themes/tango/16x16/actions/gtk-goto-first-ltr.png
+themes/tango/16x16/actions/gtk-goto-first-rtl.png
+themes/tango/16x16/actions/gtk-goto-last-ltr.png
+themes/tango/16x16/actions/gtk-goto-last-rtl.png
+themes/tango/16x16/actions/gtk-goto-top.png
+themes/tango/16x16/actions/gtk-home.png
+themes/tango/16x16/actions/gtk-indent-ltr.png
+themes/tango/16x16/actions/gtk-indent-rtl.png
+themes/tango/16x16/actions/gtk-italic.png
+themes/tango/16x16/actions/gtk-jump-to-ltr.png
+themes/tango/16x16/actions/gtk-jump-to-rtl.png
+themes/tango/16x16/actions/gtk-justify-center.png
+themes/tango/16x16/actions/gtk-justify-fill.png
+themes/tango/16x16/actions/gtk-justify-left.png
+themes/tango/16x16/actions/gtk-justify-right.png
+themes/tango/16x16/actions/gtk-media-forward-ltr.png
+themes/tango/16x16/actions/gtk-media-forward-rtl.png
+themes/tango/16x16/actions/gtk-media-next-ltr.png
+themes/tango/16x16/actions/gtk-media-next-rtl.png
+themes/tango/16x16/actions/gtk-media-pause.png
+themes/tango/16x16/actions/gtk-media-play-ltr.png
+themes/tango/16x16/actions/gtk-media-previous-ltr.png
+themes/tango/16x16/actions/gtk-media-previous-rtl.png
+themes/tango/16x16/actions/gtk-media-record.png
+themes/tango/16x16/actions/gtk-media-rewind-ltr.png
+themes/tango/16x16/actions/gtk-media-rewind-rtl.png
+themes/tango/16x16/actions/gtk-media-stop.png
+themes/tango/16x16/actions/gtk-new.png
+themes/tango/16x16/actions/gtk-open.png
+themes/tango/16x16/actions/gtk-paste.png
+themes/tango/16x16/actions/gtk-print-preview.png
+themes/tango/16x16/actions/gtk-print.png
+themes/tango/16x16/actions/gtk-properties.png
+themes/tango/16x16/actions/gtk-redo-ltr.png
+themes/tango/16x16/actions/gtk-refresh.png
+themes/tango/16x16/actions/gtk-remove.png
+themes/tango/16x16/actions/gtk-save-as.png
+themes/tango/16x16/actions/gtk-save.png
+themes/tango/16x16/actions/gtk-select-all.png
+themes/tango/16x16/actions/gtk-stop.png
+themes/tango/16x16/actions/gtk-strikethrough.png
+themes/tango/16x16/actions/gtk-underline.png
+themes/tango/16x16/actions/gtk-undo-ltr.png
+themes/tango/16x16/actions/gtk-unindent-ltr.png
+themes/tango/16x16/actions/gtk-unindent-rtl.png
+themes/tango/16x16/actions/kfind.png
+themes/tango/16x16/actions/kfm_home.png
+themes/tango/16x16/actions/leftjust.png
+themes/tango/16x16/actions/list-add.png
+themes/tango/16x16/actions/list-remove.png
+themes/tango/16x16/actions/lock.png
+themes/tango/16x16/actions/mail-forward.png
+themes/tango/16x16/actions/mail-mark-junk.png
+themes/tango/16x16/actions/mail-mark-not-junk.png
+themes/tango/16x16/actions/mail-message-new.png
+themes/tango/16x16/actions/mail-reply-all.png
+themes/tango/16x16/actions/mail-reply-sender.png
+themes/tango/16x16/actions/mail-send-receive.png
+themes/tango/16x16/actions/mail_forward.png
+themes/tango/16x16/actions/mail_new.png
+themes/tango/16x16/actions/mail_reply.png
+themes/tango/16x16/actions/mail_replyall.png
+themes/tango/16x16/actions/mail_spam.png
+themes/tango/16x16/actions/media-eject.png
+themes/tango/16x16/actions/media-playback-pause.png
+themes/tango/16x16/actions/media-playback-start.png
+themes/tango/16x16/actions/media-playback-stop.png
+themes/tango/16x16/actions/media-record.png
+themes/tango/16x16/actions/media-seek-backward.png
+themes/tango/16x16/actions/media-seek-forward.png
+themes/tango/16x16/actions/media-skip-backward.png
+themes/tango/16x16/actions/media-skip-forward.png
+themes/tango/16x16/actions/next.png
+themes/tango/16x16/actions/player_eject.png
+themes/tango/16x16/actions/player_end.png
+themes/tango/16x16/actions/player_fwd.png
+themes/tango/16x16/actions/player_pause.png
+themes/tango/16x16/actions/player_play.png
+themes/tango/16x16/actions/player_record.png
+themes/tango/16x16/actions/player_rew.png
+themes/tango/16x16/actions/player_start.png
+themes/tango/16x16/actions/player_stop.png
+themes/tango/16x16/actions/previous.png
+themes/tango/16x16/actions/process-stop.png
+themes/tango/16x16/actions/redhat-home.png
+themes/tango/16x16/actions/redo.png
+themes/tango/16x16/actions/reload.png
+themes/tango/16x16/actions/reload3.png
+themes/tango/16x16/actions/reload_all_tabs.png
+themes/tango/16x16/actions/reload_page.png
+themes/tango/16x16/actions/remove.png
+themes/tango/16x16/actions/rightjust.png
+themes/tango/16x16/actions/search.png
+themes/tango/16x16/actions/start.png
+themes/tango/16x16/actions/stock_add-bookmark.png
+themes/tango/16x16/actions/stock_bottom.png
+themes/tango/16x16/actions/stock_copy.png
+themes/tango/16x16/actions/stock_cut.png
+themes/tango/16x16/actions/stock_delete.png
+themes/tango/16x16/actions/stock_down.png
+themes/tango/16x16/actions/stock_file-properites.png
+themes/tango/16x16/actions/stock_first.png
+themes/tango/16x16/actions/stock_fullscreen.png
+themes/tango/16x16/actions/stock_help-add-bookmark.png
+themes/tango/16x16/actions/stock_home.png
+themes/tango/16x16/actions/stock_last.png
+themes/tango/16x16/actions/stock_left.png
+themes/tango/16x16/actions/stock_mail-compose.png
+themes/tango/16x16/actions/stock_mail-forward.png
+themes/tango/16x16/actions/stock_mail-reply-to-all.png
+themes/tango/16x16/actions/stock_mail-reply.png
+themes/tango/16x16/actions/stock_mail-send-receive.png
+themes/tango/16x16/actions/stock_media-fwd.png
+themes/tango/16x16/actions/stock_media-next.png
+themes/tango/16x16/actions/stock_media-pause.png
+themes/tango/16x16/actions/stock_media-play.png
+themes/tango/16x16/actions/stock_media-prev.png
+themes/tango/16x16/actions/stock_media-rec.png
+themes/tango/16x16/actions/stock_media-rew.png
+themes/tango/16x16/actions/stock_media-stop.png
+themes/tango/16x16/actions/stock_new-address-book.png
+themes/tango/16x16/actions/stock_new-appointment.png
+themes/tango/16x16/actions/stock_new-bcard.png
+themes/tango/16x16/actions/stock_new-dir.png
+themes/tango/16x16/actions/stock_new-tab.png
+themes/tango/16x16/actions/stock_new-text.png
+themes/tango/16x16/actions/stock_new-window.png
+themes/tango/16x16/actions/stock_not-spam.png
+themes/tango/16x16/actions/stock_paste.png
+themes/tango/16x16/actions/stock_print-preview.png
+themes/tango/16x16/actions/stock_print.png
+themes/tango/16x16/actions/stock_properties.png
+themes/tango/16x16/actions/stock_redo.png
+themes/tango/16x16/actions/stock_refresh.png
+themes/tango/16x16/actions/stock_right.png
+themes/tango/16x16/actions/stock_save-as.png
+themes/tango/16x16/actions/stock_save.png
+themes/tango/16x16/actions/stock_search-and-replace.png
+themes/tango/16x16/actions/stock_search.png
+themes/tango/16x16/actions/stock_select-all.png
+themes/tango/16x16/actions/stock_spam.png
+themes/tango/16x16/actions/stock_stop.png
+themes/tango/16x16/actions/stock_text-strikethrough.png
+themes/tango/16x16/actions/stock_text_bold.png
+themes/tango/16x16/actions/stock_text_center.png
+themes/tango/16x16/actions/stock_text_indent.png
+themes/tango/16x16/actions/stock_text_italic.png
+themes/tango/16x16/actions/stock_text_justify.png
+themes/tango/16x16/actions/stock_text_left.png
+themes/tango/16x16/actions/stock_text_right.png
+themes/tango/16x16/actions/stock_text_underlined.png
+themes/tango/16x16/actions/stock_text_unindent.png
+themes/tango/16x16/actions/stock_top.png
+themes/tango/16x16/actions/stock_undo.png
+themes/tango/16x16/actions/stock_up.png
+themes/tango/16x16/actions/stop.png
+themes/tango/16x16/actions/system-lock-screen.png
+themes/tango/16x16/actions/system-log-out.png
+themes/tango/16x16/actions/system-search.png
+themes/tango/16x16/actions/system-shutdown.png
+themes/tango/16x16/actions/tab-new.png
+themes/tango/16x16/actions/tab_new.png
+themes/tango/16x16/actions/text_bold.png
+themes/tango/16x16/actions/text_italic.png
+themes/tango/16x16/actions/text_strike.png
+themes/tango/16x16/actions/text_under.png
+themes/tango/16x16/actions/top.png
+themes/tango/16x16/actions/undo.png
+themes/tango/16x16/actions/up.png
+themes/tango/16x16/actions/view-fullscreen.png
+themes/tango/16x16/actions/view-refresh.png
+themes/tango/16x16/actions/window-new.png
+themes/tango/16x16/actions/window_fullscreen.png
+themes/tango/16x16/actions/window_new.png
+themes/tango/16x16/actions/xfce-system-lock.png
+themes/tango/16x16/animations/gnome-spinner.png
+themes/tango/16x16/animations/process-working.png
+themes/tango/16x16/apps/access.png
+themes/tango/16x16/apps/accessibility-directory.png
+themes/tango/16x16/apps/accessories-calculator.png
+themes/tango/16x16/apps/accessories-character-map.png
+themes/tango/16x16/apps/accessories-text-editor.png
+themes/tango/16x16/apps/background.png
+themes/tango/16x16/apps/browser.png
+themes/tango/16x16/apps/calc.png
+themes/tango/16x16/apps/config-language.png
+themes/tango/16x16/apps/config-users.png
+themes/tango/16x16/apps/date.png
+themes/tango/16x16/apps/email.png
+themes/tango/16x16/apps/file-manager.png
+themes/tango/16x16/apps/fonts.png
+themes/tango/16x16/apps/gnome-calculator.png
+themes/tango/16x16/apps/gnome-character-map.png
+themes/tango/16x16/apps/gnome-help.png
+themes/tango/16x16/apps/gnome-monitor.png
+themes/tango/16x16/apps/gnome-remote-desktop.png
+themes/tango/16x16/apps/gnome-session.png
+themes/tango/16x16/apps/gnome-settings-accessibility-technologies.png
+themes/tango/16x16/apps/gnome-settings-background.png
+themes/tango/16x16/apps/gnome-settings-font.png
+themes/tango/16x16/apps/gnome-settings-keybindings.png
+themes/tango/16x16/apps/gnome-settings-theme.png
+themes/tango/16x16/apps/gnome-terminal.png
+themes/tango/16x16/apps/gnome-window-manager.png
+themes/tango/16x16/apps/gucharmap.png
+themes/tango/16x16/apps/help-browser.png
+themes/tango/16x16/apps/internet-group-chat.png
+themes/tango/16x16/apps/internet-mail.png
+themes/tango/16x16/apps/internet-news-reader.png
+themes/tango/16x16/apps/internet-web-browser.png
+themes/tango/16x16/apps/kcalc.png
+themes/tango/16x16/apps/kcharselect.png
+themes/tango/16x16/apps/kcmkwm.png
+themes/tango/16x16/apps/kedit.png
+themes/tango/16x16/apps/key_bindings.png
+themes/tango/16x16/apps/kfm.png
+themes/tango/16x16/apps/khelpcenter.png
+themes/tango/16x16/apps/konsole.png
+themes/tango/16x16/apps/krfb.png
+themes/tango/16x16/apps/kscreensaver.png
+themes/tango/16x16/apps/ksysguard.png
+themes/tango/16x16/apps/kuser.png
+themes/tango/16x16/apps/kwin.png
+themes/tango/16x16/apps/locale.png
+themes/tango/16x16/apps/mail_generic.png
+themes/tango/16x16/apps/office-calendar.png
+themes/tango/16x16/apps/openterm.png
+themes/tango/16x16/apps/preferences-desktop-accessibility.png
+themes/tango/16x16/apps/preferences-desktop-assistive-technology.png
+themes/tango/16x16/apps/preferences-desktop-font.png
+themes/tango/16x16/apps/preferences-desktop-keyboard-shortcuts.png
+themes/tango/16x16/apps/preferences-desktop-locale.png
+themes/tango/16x16/apps/preferences-desktop-multimedia.png
+themes/tango/16x16/apps/preferences-desktop-remote-desktop.png
+themes/tango/16x16/apps/preferences-desktop-screensaver.png
+themes/tango/16x16/apps/preferences-desktop-theme.png
+themes/tango/16x16/apps/preferences-desktop-wallpaper.png
+themes/tango/16x16/apps/preferences-system-network-proxy.png
+themes/tango/16x16/apps/preferences-system-session.png
+themes/tango/16x16/apps/preferences-system-windows.png
+themes/tango/16x16/apps/proxy-config.png
+themes/tango/16x16/apps/proxy.png
+themes/tango/16x16/apps/redhat-email.png
+themes/tango/16x16/apps/redhat-filemanager.png
+themes/tango/16x16/apps/redhat-web-browser.png
+themes/tango/16x16/apps/screensaver.png
+themes/tango/16x16/apps/stock_proxy.png
+themes/tango/16x16/apps/style.png
+themes/tango/16x16/apps/susehelpcenter.png
+themes/tango/16x16/apps/system-config-users.png
+themes/tango/16x16/apps/system-file-manager.png
+themes/tango/16x16/apps/system-installer.png
+themes/tango/16x16/apps/system-software-update.png
+themes/tango/16x16/apps/system-users.png
+themes/tango/16x16/apps/terminal.png
+themes/tango/16x16/apps/text-editor.png
+themes/tango/16x16/apps/update-manager.png
+themes/tango/16x16/apps/utilities-system-monitor.png
+themes/tango/16x16/apps/utilities-terminal.png
+themes/tango/16x16/apps/wallpaper.png
+themes/tango/16x16/apps/web-browser.png
+themes/tango/16x16/apps/xfcalendar.png
+themes/tango/16x16/apps/xfce-filemanager.png
+themes/tango/16x16/apps/xfce-mail.png
+themes/tango/16x16/apps/xfce-terminal.png
+themes/tango/16x16/apps/xfce4-backdrop.png
+themes/tango/16x16/apps/xfce4-session.png
+themes/tango/16x16/apps/xfwm4.png
+themes/tango/16x16/apps/ximian-evolution-calendar.png
+themes/tango/16x16/apps/xscreensaver.png
+themes/tango/16x16/apps/zen-icon.png
+themes/tango/16x16/categories/applications-accessories.png
+themes/tango/16x16/categories/applications-development.png
+themes/tango/16x16/categories/applications-games.png
+themes/tango/16x16/categories/applications-graphics.png
+themes/tango/16x16/categories/applications-internet.png
+themes/tango/16x16/categories/applications-multimedia.png
+themes/tango/16x16/categories/applications-office.png
+themes/tango/16x16/categories/applications-other.png
+themes/tango/16x16/categories/applications-system.png
+themes/tango/16x16/categories/gnome-applications.png
+themes/tango/16x16/categories/gnome-control-center.png
+themes/tango/16x16/categories/gnome-devel.png
+themes/tango/16x16/categories/gnome-globe.png
+themes/tango/16x16/categories/gnome-graphics.png
+themes/tango/16x16/categories/gnome-joystick.png
+themes/tango/16x16/categories/gnome-multimedia.png
+themes/tango/16x16/categories/gnome-other.png
+themes/tango/16x16/categories/gnome-settings.png
+themes/tango/16x16/categories/gnome-system.png
+themes/tango/16x16/categories/gnome-util.png
+themes/tango/16x16/categories/gtk-preferences.png
+themes/tango/16x16/categories/input_devices_settings.png
+themes/tango/16x16/categories/kcontrol.png
+themes/tango/16x16/categories/package_development.png
+themes/tango/16x16/categories/package_games.png
+themes/tango/16x16/categories/package_graphics.png
+themes/tango/16x16/categories/package_multimedia.png
+themes/tango/16x16/categories/package_network.png
+themes/tango/16x16/categories/package_office.png
+themes/tango/16x16/categories/package_settings.png
+themes/tango/16x16/categories/package_system.png
+themes/tango/16x16/categories/package_utilities.png
+themes/tango/16x16/categories/preferences-desktop-peripherals.png
+themes/tango/16x16/categories/preferences-desktop.png
+themes/tango/16x16/categories/preferences-system.png
+themes/tango/16x16/categories/redhat-accessories.png
+themes/tango/16x16/categories/redhat-games.png
+themes/tango/16x16/categories/redhat-graphics.png
+themes/tango/16x16/categories/redhat-internet.png
+themes/tango/16x16/categories/redhat-office.png
+themes/tango/16x16/categories/redhat-preferences.png
+themes/tango/16x16/categories/redhat-programming.png
+themes/tango/16x16/categories/redhat-sound_video.png
+themes/tango/16x16/categories/redhat-system_settings.png
+themes/tango/16x16/categories/redhat-system_tools.png
+themes/tango/16x16/categories/stock_internet.png
+themes/tango/16x16/categories/xfce-games.png
+themes/tango/16x16/categories/xfce-graphics.png
+themes/tango/16x16/categories/xfce-internet.png
+themes/tango/16x16/categories/xfce-multimedia.png
+themes/tango/16x16/categories/xfce-office.png
+themes/tango/16x16/categories/xfce-system-settings.png
+themes/tango/16x16/categories/xfce-utils.png
+themes/tango/16x16/categories/xfce4-settings.png
+themes/tango/16x16/devices/3floppy_unmount.png
+themes/tango/16x16/devices/audio-card.png
+themes/tango/16x16/devices/audio-input-microphone.png
+themes/tango/16x16/devices/battery.png
+themes/tango/16x16/devices/camera-photo.png
+themes/tango/16x16/devices/camera-video.png
+themes/tango/16x16/devices/camera.png
+themes/tango/16x16/devices/camera_unmount.png
+themes/tango/16x16/devices/cdrom_unmount.png
+themes/tango/16x16/devices/cdwriter_unmount.png
+themes/tango/16x16/devices/chardevice.png
+themes/tango/16x16/devices/computer.png
+themes/tango/16x16/devices/display.png
+themes/tango/16x16/devices/drive-cdrom.png
+themes/tango/16x16/devices/drive-harddisk.png
+themes/tango/16x16/devices/drive-optical.png
+themes/tango/16x16/devices/drive-removable-media.png
+themes/tango/16x16/devices/dvd_unmount.png
+themes/tango/16x16/devices/gnome-dev-battery.png
+themes/tango/16x16/devices/gnome-dev-cdrom-audio.png
+themes/tango/16x16/devices/gnome-dev-cdrom.png
+themes/tango/16x16/devices/gnome-dev-computer.png
+themes/tango/16x16/devices/gnome-dev-disc-cdr.png
+themes/tango/16x16/devices/gnome-dev-disc-cdrw.png
+themes/tango/16x16/devices/gnome-dev-disc-dvdr-plus.png
+themes/tango/16x16/devices/gnome-dev-disc-dvdr.png
+themes/tango/16x16/devices/gnome-dev-disc-dvdram.png
+themes/tango/16x16/devices/gnome-dev-disc-dvdrom.png
+themes/tango/16x16/devices/gnome-dev-disc-dvdrw.png
+themes/tango/16x16/devices/gnome-dev-dvd.png
+themes/tango/16x16/devices/gnome-dev-ethernet.png
+themes/tango/16x16/devices/gnome-dev-floppy.png
+themes/tango/16x16/devices/gnome-dev-harddisk-1394.png
+themes/tango/16x16/devices/gnome-dev-harddisk-usb.png
+themes/tango/16x16/devices/gnome-dev-harddisk.png
+themes/tango/16x16/devices/gnome-dev-ipod.png
+themes/tango/16x16/devices/gnome-dev-keyboard.png
+themes/tango/16x16/devices/gnome-dev-media-cf.png
+themes/tango/16x16/devices/gnome-dev-media-ms.png
+themes/tango/16x16/devices/gnome-dev-media-sdmmc.png
+themes/tango/16x16/devices/gnome-dev-media-sm.png
+themes/tango/16x16/devices/gnome-dev-mouse-ball.png
+themes/tango/16x16/devices/gnome-dev-mouse-optical.png
+themes/tango/16x16/devices/gnome-dev-printer.png
+themes/tango/16x16/devices/gnome-dev-removable-1394.png
+themes/tango/16x16/devices/gnome-dev-removable-usb.png
+themes/tango/16x16/devices/gnome-dev-removable.png
+themes/tango/16x16/devices/gnome-dev-wavelan.png
+themes/tango/16x16/devices/gnome-fs-client.png
+themes/tango/16x16/devices/gnome-stock-mic.png
+themes/tango/16x16/devices/gtk-cdrom.png
+themes/tango/16x16/devices/gtk-floppy.png
+themes/tango/16x16/devices/gtk-harddisk.png
+themes/tango/16x16/devices/harddrive.png
+themes/tango/16x16/devices/hdd_unmount.png
+themes/tango/16x16/devices/input-gaming.png
+themes/tango/16x16/devices/input-keyboard.png
+themes/tango/16x16/devices/input-mouse.png
+themes/tango/16x16/devices/ipod_mount.png
+themes/tango/16x16/devices/joystick.png
+themes/tango/16x16/devices/keyboard.png
+themes/tango/16x16/devices/kjobviewer.png
+themes/tango/16x16/devices/kxkb.png
+themes/tango/16x16/devices/media-cdrom.png
+themes/tango/16x16/devices/media-flash.png
+themes/tango/16x16/devices/media-floppy.png
+themes/tango/16x16/devices/media-optical.png
+themes/tango/16x16/devices/mouse.png
+themes/tango/16x16/devices/multimedia-player.png
+themes/tango/16x16/devices/network-wired.png
+themes/tango/16x16/devices/network-wireless.png
+themes/tango/16x16/devices/printer-remote.png
+themes/tango/16x16/devices/printer.png
+themes/tango/16x16/devices/printer1.png
+themes/tango/16x16/devices/printmgr.png
+themes/tango/16x16/devices/stock_mic.png
+themes/tango/16x16/devices/stock_printers.png
+themes/tango/16x16/devices/system-floppy.png
+themes/tango/16x16/devices/system.png
+themes/tango/16x16/devices/usbpendrive_unmount.png
+themes/tango/16x16/devices/video-display.png
+themes/tango/16x16/devices/xfce-printer.png
+themes/tango/16x16/devices/xfce4-display.png
+themes/tango/16x16/devices/xfce4-keyboard.png
+themes/tango/16x16/devices/xfce4-mouse.png
+themes/tango/16x16/devices/yast_HD.png
+themes/tango/16x16/devices/yast_idetude.png
+themes/tango/16x16/devices/yast_joystick.png
+themes/tango/16x16/devices/yast_mouse.png
+themes/tango/16x16/devices/yast_printer.png
+themes/tango/16x16/devices/yast_soundcard.png
+themes/tango/16x16/emblems/emblem-favorite.png
+themes/tango/16x16/emblems/emblem-important.png
+themes/tango/16x16/emblems/emblem-noread.png
+themes/tango/16x16/emblems/emblem-nowrite.png
+themes/tango/16x16/emblems/emblem-photos.png
+themes/tango/16x16/emblems/emblem-readonly.png
+themes/tango/16x16/emblems/emblem-symbolic-link.png
+themes/tango/16x16/emblems/emblem-system.png
+themes/tango/16x16/emblems/emblem-unreadable.png
+themes/tango/16x16/emotes/face-angel.png
+themes/tango/16x16/emotes/face-crying.png
+themes/tango/16x16/emotes/face-devilish.png
+themes/tango/16x16/emotes/face-glasses.png
+themes/tango/16x16/emotes/face-grin.png
+themes/tango/16x16/emotes/face-kiss.png
+themes/tango/16x16/emotes/face-monkey.png
+themes/tango/16x16/emotes/face-plain.png
+themes/tango/16x16/emotes/face-sad.png
+themes/tango/16x16/emotes/face-smile-big.png
+themes/tango/16x16/emotes/face-smile.png
+themes/tango/16x16/emotes/face-surprise.png
+themes/tango/16x16/emotes/face-wink.png
+themes/tango/16x16/emotes/stock_smiley-1.png
+themes/tango/16x16/emotes/stock_smiley-11.png
+themes/tango/16x16/emotes/stock_smiley-13.png
+themes/tango/16x16/emotes/stock_smiley-18.png
+themes/tango/16x16/emotes/stock_smiley-2.png
+themes/tango/16x16/emotes/stock_smiley-22.png
+themes/tango/16x16/emotes/stock_smiley-3.png
+themes/tango/16x16/emotes/stock_smiley-4.png
+themes/tango/16x16/emotes/stock_smiley-5.png
+themes/tango/16x16/emotes/stock_smiley-6.png
+themes/tango/16x16/emotes/stock_smiley-7.png
+themes/tango/16x16/emotes/stock_smiley-8.png
+themes/tango/16x16/mimetypes/application-certificate.png
+themes/tango/16x16/mimetypes/application-vnd.ms-excel.sheet.macroEnabled.12.png
+themes/tango/16x16/mimetypes/application-vnd.ms-powerpoint.presentation.macroEnabled.12.png
+themes/tango/16x16/mimetypes/application-vnd.ms-word.document.macroEnabled.12.png
+themes/tango/16x16/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.presentation.png
+themes/tango/16x16/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.template.png
+themes/tango/16x16/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.sheet.png
+themes/tango/16x16/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.template.png
+themes/tango/16x16/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.document.png
+themes/tango/16x16/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.template.png
+themes/tango/16x16/mimetypes/application-x-executable.png
+themes/tango/16x16/mimetypes/ascii.png
+themes/tango/16x16/mimetypes/audio-x-generic.png
+themes/tango/16x16/mimetypes/binary.png
+themes/tango/16x16/mimetypes/contents2.png
+themes/tango/16x16/mimetypes/deb.png
+themes/tango/16x16/mimetypes/document.png
+themes/tango/16x16/mimetypes/empty.png
+themes/tango/16x16/mimetypes/exec.png
+themes/tango/16x16/mimetypes/folder_tar.png
+themes/tango/16x16/mimetypes/font-x-generic.png
+themes/tango/16x16/mimetypes/font.png
+themes/tango/16x16/mimetypes/font_bitmap.png
+themes/tango/16x16/mimetypes/font_truetype.png
+themes/tango/16x16/mimetypes/font_type1.png
+themes/tango/16x16/mimetypes/gnome-fs-executable.png
+themes/tango/16x16/mimetypes/gnome-mime-application-magicpoint.png
+themes/tango/16x16/mimetypes/gnome-mime-application-msword.png
+themes/tango/16x16/mimetypes/gnome-mime-application-ogg.png
+themes/tango/16x16/mimetypes/gnome-mime-application-pdf.png
+themes/tango/16x16/mimetypes/gnome-mime-application-postscript.png
+themes/tango/16x16/mimetypes/gnome-mime-application-rtf.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.lotus-1-2-3.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.ms-excel.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.ms-powerpoint.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics-template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.image.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation-template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet-template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-web.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.rn-realmedia-secure.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.rn-realmedia-vbr.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.rn-realmedia.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.stardivision.calc.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.stardivision.impress.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.stardivision.writer.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.calc.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.calc.template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.draw.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.draw.template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.impress.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.impress.template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.writer.png
+themes/tango/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.writer.template.png
+themes/tango/16x16/mimetypes/gnome-mime-application-wordperfect.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-7z-compressed.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-abiword.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-applix-spreadsheet.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-applix-word.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-archive.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-arj.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-bzip-compressed-tar.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-bzip.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-compress.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-compressed-tar.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-cpio-compressed.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-cpio.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-deb.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-dvi.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-executable.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-font-afm.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-font-bdf.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-font-linux-psf.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-font-pcf.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-font-sunos-news.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-font-ttf.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-gnumeric.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-gzip.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-gzpostscript.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-jar.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-killustrator.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-kpresenter.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-kspread.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-kword.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-lha.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-lhz.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-lzma-compressed-tar.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-lzma.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-ms-dos-executable.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-perl.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-php.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-python-bytecode.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-rar.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-rpm.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-scribus.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-shellscript.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-shockwave-flash.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-stuffit.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-tar.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-tarz.png
+themes/tango/16x16/mimetypes/gnome-mime-application-x-tex.png
+themes/tango/16x16/mimetypes/gnome-mime-application-xhtml+xml.png
+themes/tango/16x16/mimetypes/gnome-mime-application-zip.png
+themes/tango/16x16/mimetypes/gnome-mime-audio.png
+themes/tango/16x16/mimetypes/gnome-mime-image.png
+themes/tango/16x16/mimetypes/gnome-mime-text-html.png
+themes/tango/16x16/mimetypes/gnome-mime-text-vnd.wap.wml.png
+themes/tango/16x16/mimetypes/gnome-mime-text-x-csh.png
+themes/tango/16x16/mimetypes/gnome-mime-text-x-python.png
+themes/tango/16x16/mimetypes/gnome-mime-text-x-sh.png
+themes/tango/16x16/mimetypes/gnome-mime-text-x-vcalendar.png
+themes/tango/16x16/mimetypes/gnome-mime-text-x-vcard.png
+themes/tango/16x16/mimetypes/gnome-mime-text-x-zsh.png
+themes/tango/16x16/mimetypes/gnome-mime-text.png
+themes/tango/16x16/mimetypes/gnome-mime-video.png
+themes/tango/16x16/mimetypes/gnome-mime-x-font-afm.png
+themes/tango/16x16/mimetypes/gnome-package.png
+themes/tango/16x16/mimetypes/html.png
+themes/tango/16x16/mimetypes/image-x-generic.png
+themes/tango/16x16/mimetypes/image.png
+themes/tango/16x16/mimetypes/kpresenter_kpr.png
+themes/tango/16x16/mimetypes/mime_ascii.png
+themes/tango/16x16/mimetypes/misc.png
+themes/tango/16x16/mimetypes/package-x-generic.png
+themes/tango/16x16/mimetypes/package.png
+themes/tango/16x16/mimetypes/package_editors.png
+themes/tango/16x16/mimetypes/package_wordprocessing.png
+themes/tango/16x16/mimetypes/plan.png
+themes/tango/16x16/mimetypes/rpm.png
+themes/tango/16x16/mimetypes/shellscript.png
+themes/tango/16x16/mimetypes/sound.png
+themes/tango/16x16/mimetypes/spreadsheet.png
+themes/tango/16x16/mimetypes/stock_addressbook.png
+themes/tango/16x16/mimetypes/stock_calendar.png
+themes/tango/16x16/mimetypes/stock_certificate.png
+themes/tango/16x16/mimetypes/stock_script.png
+themes/tango/16x16/mimetypes/tar.png
+themes/tango/16x16/mimetypes/template_source.png
+themes/tango/16x16/mimetypes/text-html.png
+themes/tango/16x16/mimetypes/text-x-generic-template.png
+themes/tango/16x16/mimetypes/text-x-generic.png
+themes/tango/16x16/mimetypes/text-x-script.png
+themes/tango/16x16/mimetypes/tgz.png
+themes/tango/16x16/mimetypes/txt.png
+themes/tango/16x16/mimetypes/txt2.png
+themes/tango/16x16/mimetypes/unknown.png
+themes/tango/16x16/mimetypes/vcalendar.png
+themes/tango/16x16/mimetypes/vcard.png
+themes/tango/16x16/mimetypes/video-x-generic.png
+themes/tango/16x16/mimetypes/video.png
+themes/tango/16x16/mimetypes/wordprocessing.png
+themes/tango/16x16/mimetypes/www.png
+themes/tango/16x16/mimetypes/x-office-address-book.png
+themes/tango/16x16/mimetypes/x-office-calendar.png
+themes/tango/16x16/mimetypes/x-office-document-template.png
+themes/tango/16x16/mimetypes/x-office-document.png
+themes/tango/16x16/mimetypes/x-office-drawing-template.png
+themes/tango/16x16/mimetypes/x-office-drawing.png
+themes/tango/16x16/mimetypes/x-office-presentation-template.png
+themes/tango/16x16/mimetypes/x-office-presentation.png
+themes/tango/16x16/mimetypes/x-office-spreadsheet-template.png
+themes/tango/16x16/mimetypes/x-office-spreadsheet.png
+themes/tango/16x16/mimetypes/zip.png
+themes/tango/16x16/places/application-x-gnome-saved-search.png
+themes/tango/16x16/places/desktop.png
+themes/tango/16x16/places/distributor-logo.png
+themes/tango/16x16/places/emptytrash.png
+themes/tango/16x16/places/folder-remote.png
+themes/tango/16x16/places/folder-saved-search.png
+themes/tango/16x16/places/folder.png
+themes/tango/16x16/places/folder_home.png
+themes/tango/16x16/places/gnome-fs-desktop.png
+themes/tango/16x16/places/gnome-fs-directory.png
+themes/tango/16x16/places/gnome-fs-ftp.png
+themes/tango/16x16/places/gnome-fs-home.png
+themes/tango/16x16/places/gnome-fs-network.png
+themes/tango/16x16/places/gnome-fs-nfs.png
+themes/tango/16x16/places/gnome-fs-server.png
+themes/tango/16x16/places/gnome-fs-share.png
+themes/tango/16x16/places/gnome-fs-smb.png
+themes/tango/16x16/places/gnome-fs-ssh.png
+themes/tango/16x16/places/gnome-fs-trash-empty.png
+themes/tango/16x16/places/gnome-main-menu.png
+themes/tango/16x16/places/gnome-mime-x-directory-nfs-server.png
+themes/tango/16x16/places/gnome-mime-x-directory-smb-server.png
+themes/tango/16x16/places/gnome-mime-x-directory-smb-share.png
+themes/tango/16x16/places/gnome-mime-x-directory-smb-workgroup.png
+themes/tango/16x16/places/gnome-stock-trash.png
+themes/tango/16x16/places/gtk-directory.png
+themes/tango/16x16/places/gtk-network.png
+themes/tango/16x16/places/inode-directory.png
+themes/tango/16x16/places/network-server.png
+themes/tango/16x16/places/network-workgroup.png
+themes/tango/16x16/places/network.png
+themes/tango/16x16/places/network_local.png
+themes/tango/16x16/places/novell-button.png
+themes/tango/16x16/places/redhat-network-server.png
+themes/tango/16x16/places/server.png
+themes/tango/16x16/places/start-here.png
+themes/tango/16x16/places/stock_folder.png
+themes/tango/16x16/places/trashcan_empty.png
+themes/tango/16x16/places/user-desktop.png
+themes/tango/16x16/places/user-home.png
+themes/tango/16x16/places/user-trash.png
+themes/tango/16x16/places/xfce-trash_empty.png
+themes/tango/16x16/status/audio-volume-high.png
+themes/tango/16x16/status/audio-volume-low.png
+themes/tango/16x16/status/audio-volume-medium.png
+themes/tango/16x16/status/audio-volume-muted.png
+themes/tango/16x16/status/battery-caution.png
+themes/tango/16x16/status/connect_creating.png
+themes/tango/16x16/status/connect_established.png
+themes/tango/16x16/status/connect_no.png
+themes/tango/16x16/status/dialog-error.png
+themes/tango/16x16/status/dialog-information.png
+themes/tango/16x16/status/dialog-warning.png
+themes/tango/16x16/status/edittrash.png
+themes/tango/16x16/status/error.png
+themes/tango/16x16/status/folder-drag-accept.png
+themes/tango/16x16/status/folder-open.png
+themes/tango/16x16/status/folder-visiting.png
+themes/tango/16x16/status/folder_open.png
+themes/tango/16x16/status/gnome-dev-wavelan-encrypted.png
+themes/tango/16x16/status/gnome-fs-directory-accept.png
+themes/tango/16x16/status/gnome-fs-directory-visiting.png
+themes/tango/16x16/status/gnome-fs-loading-icon.png
+themes/tango/16x16/status/gnome-fs-trash-full.png
+themes/tango/16x16/status/gnome-netstatus-disconn.png
+themes/tango/16x16/status/gnome-netstatus-error.png
+themes/tango/16x16/status/gnome-netstatus-idle.png
+themes/tango/16x16/status/gnome-netstatus-rx.png
+themes/tango/16x16/status/gnome-netstatus-tx.png
+themes/tango/16x16/status/gnome-netstatus-txrx.png
+themes/tango/16x16/status/gnome-stock-trash-full.png
+themes/tango/16x16/status/gtk-dialog-error.png
+themes/tango/16x16/status/gtk-dialog-info.png
+themes/tango/16x16/status/gtk-dialog-warning.png
+themes/tango/16x16/status/gtk-missing-image.png
+themes/tango/16x16/status/image-loading.png
+themes/tango/16x16/status/image-missing.png
+themes/tango/16x16/status/important.png
+themes/tango/16x16/status/info.png
+themes/tango/16x16/status/mail-attachment.png
+themes/tango/16x16/status/messagebox_critical.png
+themes/tango/16x16/status/messagebox_info.png
+themes/tango/16x16/status/messagebox_warning.png
+themes/tango/16x16/status/network-error.png
+themes/tango/16x16/status/network-idle.png
+themes/tango/16x16/status/network-offline.png
+themes/tango/16x16/status/network-receive.png
+themes/tango/16x16/status/network-transmit-receive.png
+themes/tango/16x16/status/network-transmit.png
+themes/tango/16x16/status/network-wireless-encrypted.png
+themes/tango/16x16/status/nm-adhoc.png
+themes/tango/16x16/status/nm-device-wired.png
+themes/tango/16x16/status/nm-device-wireless.png
+themes/tango/16x16/status/nm-no-connection.png
+themes/tango/16x16/status/printer-error.png
+themes/tango/16x16/status/software-update-available.png
+themes/tango/16x16/status/software-update-urgent.png
+themes/tango/16x16/status/stock_attach.png
+themes/tango/16x16/status/stock_dialog-error.png
+themes/tango/16x16/status/stock_dialog-info.png
+themes/tango/16x16/status/stock_dialog-warning.png
+themes/tango/16x16/status/stock_open.png
+themes/tango/16x16/status/stock_trash_full.png
+themes/tango/16x16/status/stock_volume-0.png
+themes/tango/16x16/status/stock_volume-max.png
+themes/tango/16x16/status/stock_volume-med.png
+themes/tango/16x16/status/stock_volume-min.png
+themes/tango/16x16/status/stock_volume-mute.png
+themes/tango/16x16/status/stock_volume.png
+themes/tango/16x16/status/stock_weather-cloudy.png
+themes/tango/16x16/status/stock_weather-few-clouds.png
+themes/tango/16x16/status/stock_weather-night-clear.png
+themes/tango/16x16/status/stock_weather-night-few-clouds.png
+themes/tango/16x16/status/stock_weather-showers.png
+themes/tango/16x16/status/stock_weather-snow.png
+themes/tango/16x16/status/stock_weather-storm.png
+themes/tango/16x16/status/stock_weather-sunny.png
+themes/tango/16x16/status/sunny.png
+themes/tango/16x16/status/trashcan_full.png
+themes/tango/16x16/status/user-trash-full.png
+themes/tango/16x16/status/weather-clear-night.png
+themes/tango/16x16/status/weather-clear.png
+themes/tango/16x16/status/weather-few-clouds-night.png
+themes/tango/16x16/status/weather-few-clouds.png
+themes/tango/16x16/status/weather-overcast.png
+themes/tango/16x16/status/weather-severe-alert.png
+themes/tango/16x16/status/weather-showers-scattered.png
+themes/tango/16x16/status/weather-showers.png
+themes/tango/16x16/status/weather-snow.png
+themes/tango/16x16/status/weather-storm.png
+themes/tango/16x16/status/xfce-trash_full.png
+themes/tango/22x22/actions/add.png
+themes/tango/22x22/actions/address-book-new.png
+themes/tango/22x22/actions/appointment-new.png
+themes/tango/22x22/actions/appointment.png
+themes/tango/22x22/actions/back.png
+themes/tango/22x22/actions/bookmark-new.png
+themes/tango/22x22/actions/bookmark_add.png
+themes/tango/22x22/actions/bookmarks_list_add.png
+themes/tango/22x22/actions/bottom.png
+themes/tango/22x22/actions/centrejust.png
+themes/tango/22x22/actions/contact-new.png
+themes/tango/22x22/actions/document-new.png
+themes/tango/22x22/actions/document-open.png
+themes/tango/22x22/actions/document-print-preview.png
+themes/tango/22x22/actions/document-print.png
+themes/tango/22x22/actions/document-properties.png
+themes/tango/22x22/actions/document-save-as.png
+themes/tango/22x22/actions/document-save.png
+themes/tango/22x22/actions/down.png
+themes/tango/22x22/actions/edit-clear.png
+themes/tango/22x22/actions/edit-copy.png
+themes/tango/22x22/actions/edit-cut.png
+themes/tango/22x22/actions/edit-delete.png
+themes/tango/22x22/actions/edit-find-replace.png
+themes/tango/22x22/actions/edit-find.png
+themes/tango/22x22/actions/edit-paste.png
+themes/tango/22x22/actions/edit-redo.png
+themes/tango/22x22/actions/edit-select-all.png
+themes/tango/22x22/actions/edit-undo.png
+themes/tango/22x22/actions/editclear.png
+themes/tango/22x22/actions/editcopy.png
+themes/tango/22x22/actions/editcut.png
+themes/tango/22x22/actions/editdelete.png
+themes/tango/22x22/actions/editpaste.png
+themes/tango/22x22/actions/exit.png
+themes/tango/22x22/actions/filefind.png
+themes/tango/22x22/actions/filenew.png
+themes/tango/22x22/actions/fileopen.png
+themes/tango/22x22/actions/fileprint.png
+themes/tango/22x22/actions/filequickprint.png
+themes/tango/22x22/actions/filesave.png
+themes/tango/22x22/actions/filesaveas.png
+themes/tango/22x22/actions/find.png
+themes/tango/22x22/actions/finish.png
+themes/tango/22x22/actions/folder-new.png
+themes/tango/22x22/actions/folder_new.png
+themes/tango/22x22/actions/format-indent-less.png
+themes/tango/22x22/actions/format-indent-more.png
+themes/tango/22x22/actions/format-justify-center.png
+themes/tango/22x22/actions/format-justify-fill.png
+themes/tango/22x22/actions/format-justify-left.png
+themes/tango/22x22/actions/format-justify-right.png
+themes/tango/22x22/actions/format-text-bold.png
+themes/tango/22x22/actions/format-text-italic.png
+themes/tango/22x22/actions/format-text-strikethrough.png
+themes/tango/22x22/actions/format-text-underline.png
+themes/tango/22x22/actions/forward.png
+themes/tango/22x22/actions/gnome-lockscreen.png
+themes/tango/22x22/actions/gnome-logout.png
+themes/tango/22x22/actions/gnome-searchtool.png
+themes/tango/22x22/actions/gnome-shutdown.png
+themes/tango/22x22/actions/gnome-stock-mail-fwd.png
+themes/tango/22x22/actions/gnome-stock-mail-new.png
+themes/tango/22x22/actions/gnome-stock-mail-rpl.png
+themes/tango/22x22/actions/gnome-stock-text-indent.png
+themes/tango/22x22/actions/gnome-stock-text-unindent.png
+themes/tango/22x22/actions/go-bottom.png
+themes/tango/22x22/actions/go-down.png
+themes/tango/22x22/actions/go-first.png
+themes/tango/22x22/actions/go-home.png
+themes/tango/22x22/actions/go-jump.png
+themes/tango/22x22/actions/go-last.png
+themes/tango/22x22/actions/go-next.png
+themes/tango/22x22/actions/go-previous.png
+themes/tango/22x22/actions/go-top.png
+themes/tango/22x22/actions/go-up.png
+themes/tango/22x22/actions/gohome.png
+themes/tango/22x22/actions/gtk-add.png
+themes/tango/22x22/actions/gtk-bold.png
+themes/tango/22x22/actions/gtk-cancel.png
+themes/tango/22x22/actions/gtk-clear.png
+themes/tango/22x22/actions/gtk-copy.png
+themes/tango/22x22/actions/gtk-cut.png
+themes/tango/22x22/actions/gtk-delete.png
+themes/tango/22x22/actions/gtk-find-and-replace.png
+themes/tango/22x22/actions/gtk-find.png
+themes/tango/22x22/actions/gtk-fullscreen.png
+themes/tango/22x22/actions/gtk-go-back-ltr.png
+themes/tango/22x22/actions/gtk-go-back-rtl.png
+themes/tango/22x22/actions/gtk-go-down.png
+themes/tango/22x22/actions/gtk-go-forward-ltr.png
+themes/tango/22x22/actions/gtk-go-forward-rtl.png
+themes/tango/22x22/actions/gtk-go-up.png
+themes/tango/22x22/actions/gtk-goto-bottom.png
+themes/tango/22x22/actions/gtk-goto-first-ltr.png
+themes/tango/22x22/actions/gtk-goto-first-rtl.png
+themes/tango/22x22/actions/gtk-goto-last-ltr.png
+themes/tango/22x22/actions/gtk-goto-last-rtl.png
+themes/tango/22x22/actions/gtk-goto-top.png
+themes/tango/22x22/actions/gtk-home.png
+themes/tango/22x22/actions/gtk-indent-ltr.png
+themes/tango/22x22/actions/gtk-indent-rtl.png
+themes/tango/22x22/actions/gtk-italic.png
+themes/tango/22x22/actions/gtk-jump-to-ltr.png
+themes/tango/22x22/actions/gtk-jump-to-rtl.png
+themes/tango/22x22/actions/gtk-justify-center.png
+themes/tango/22x22/actions/gtk-justify-fill.png
+themes/tango/22x22/actions/gtk-justify-left.png
+themes/tango/22x22/actions/gtk-justify-right.png
+themes/tango/22x22/actions/gtk-media-forward-ltr.png
+themes/tango/22x22/actions/gtk-media-forward-rtl.png
+themes/tango/22x22/actions/gtk-media-next-ltr.png
+themes/tango/22x22/actions/gtk-media-next-rtl.png
+themes/tango/22x22/actions/gtk-media-pause.png
+themes/tango/22x22/actions/gtk-media-play-ltr.png
+themes/tango/22x22/actions/gtk-media-previous-ltr.png
+themes/tango/22x22/actions/gtk-media-previous-rtl.png
+themes/tango/22x22/actions/gtk-media-record.png
+themes/tango/22x22/actions/gtk-media-rewind-ltr.png
+themes/tango/22x22/actions/gtk-media-rewind-rtl.png
+themes/tango/22x22/actions/gtk-media-stop.png
+themes/tango/22x22/actions/gtk-new.png
+themes/tango/22x22/actions/gtk-open.png
+themes/tango/22x22/actions/gtk-paste.png
+themes/tango/22x22/actions/gtk-print-preview.png
+themes/tango/22x22/actions/gtk-print.png
+themes/tango/22x22/actions/gtk-properties.png
+themes/tango/22x22/actions/gtk-redo-ltr.png
+themes/tango/22x22/actions/gtk-refresh.png
+themes/tango/22x22/actions/gtk-remove.png
+themes/tango/22x22/actions/gtk-save-as.png
+themes/tango/22x22/actions/gtk-save.png
+themes/tango/22x22/actions/gtk-select-all.png
+themes/tango/22x22/actions/gtk-stop.png
+themes/tango/22x22/actions/gtk-strikethrough.png
+themes/tango/22x22/actions/gtk-underline.png
+themes/tango/22x22/actions/gtk-undo-ltr.png
+themes/tango/22x22/actions/gtk-unindent-ltr.png
+themes/tango/22x22/actions/gtk-unindent-rtl.png
+themes/tango/22x22/actions/kfind.png
+themes/tango/22x22/actions/kfm_home.png
+themes/tango/22x22/actions/leftjust.png
+themes/tango/22x22/actions/list-add.png
+themes/tango/22x22/actions/list-remove.png
+themes/tango/22x22/actions/lock.png
+themes/tango/22x22/actions/mail-forward.png
+themes/tango/22x22/actions/mail-mark-junk.png
+themes/tango/22x22/actions/mail-mark-not-junk.png
+themes/tango/22x22/actions/mail-message-new.png
+themes/tango/22x22/actions/mail-reply-all.png
+themes/tango/22x22/actions/mail-reply-sender.png
+themes/tango/22x22/actions/mail-send-receive.png
+themes/tango/22x22/actions/mail_forward.png
+themes/tango/22x22/actions/mail_new.png
+themes/tango/22x22/actions/mail_reply.png
+themes/tango/22x22/actions/mail_replyall.png
+themes/tango/22x22/actions/mail_spam.png
+themes/tango/22x22/actions/media-eject.png
+themes/tango/22x22/actions/media-playback-pause.png
+themes/tango/22x22/actions/media-playback-start.png
+themes/tango/22x22/actions/media-playback-stop.png
+themes/tango/22x22/actions/media-record.png
+themes/tango/22x22/actions/media-seek-backward.png
+themes/tango/22x22/actions/media-seek-forward.png
+themes/tango/22x22/actions/media-skip-backward.png
+themes/tango/22x22/actions/media-skip-forward.png
+themes/tango/22x22/actions/next.png
+themes/tango/22x22/actions/player_eject.png
+themes/tango/22x22/actions/player_end.png
+themes/tango/22x22/actions/player_fwd.png
+themes/tango/22x22/actions/player_pause.png
+themes/tango/22x22/actions/player_play.png
+themes/tango/22x22/actions/player_record.png
+themes/tango/22x22/actions/player_rew.png
+themes/tango/22x22/actions/player_start.png
+themes/tango/22x22/actions/player_stop.png
+themes/tango/22x22/actions/previous.png
+themes/tango/22x22/actions/process-stop.png
+themes/tango/22x22/actions/redhat-home.png
+themes/tango/22x22/actions/redo.png
+themes/tango/22x22/actions/reload.png
+themes/tango/22x22/actions/reload3.png
+themes/tango/22x22/actions/reload_all_tabs.png
+themes/tango/22x22/actions/reload_page.png
+themes/tango/22x22/actions/remove.png
+themes/tango/22x22/actions/rightjust.png
+themes/tango/22x22/actions/search.png
+themes/tango/22x22/actions/start.png
+themes/tango/22x22/actions/stock_add-bookmark.png
+themes/tango/22x22/actions/stock_bottom.png
+themes/tango/22x22/actions/stock_copy.png
+themes/tango/22x22/actions/stock_cut.png
+themes/tango/22x22/actions/stock_delete.png
+themes/tango/22x22/actions/stock_down.png
+themes/tango/22x22/actions/stock_file-properites.png
+themes/tango/22x22/actions/stock_first.png
+themes/tango/22x22/actions/stock_fullscreen.png
+themes/tango/22x22/actions/stock_help-add-bookmark.png
+themes/tango/22x22/actions/stock_home.png
+themes/tango/22x22/actions/stock_last.png
+themes/tango/22x22/actions/stock_left.png
+themes/tango/22x22/actions/stock_mail-compose.png
+themes/tango/22x22/actions/stock_mail-forward.png
+themes/tango/22x22/actions/stock_mail-reply-to-all.png
+themes/tango/22x22/actions/stock_mail-reply.png
+themes/tango/22x22/actions/stock_mail-send-receive.png
+themes/tango/22x22/actions/stock_media-fwd.png
+themes/tango/22x22/actions/stock_media-next.png
+themes/tango/22x22/actions/stock_media-pause.png
+themes/tango/22x22/actions/stock_media-play.png
+themes/tango/22x22/actions/stock_media-prev.png
+themes/tango/22x22/actions/stock_media-rec.png
+themes/tango/22x22/actions/stock_media-rew.png
+themes/tango/22x22/actions/stock_media-stop.png
+themes/tango/22x22/actions/stock_new-address-book.png
+themes/tango/22x22/actions/stock_new-appointment.png
+themes/tango/22x22/actions/stock_new-bcard.png
+themes/tango/22x22/actions/stock_new-dir.png
+themes/tango/22x22/actions/stock_new-tab.png
+themes/tango/22x22/actions/stock_new-text.png
+themes/tango/22x22/actions/stock_new-window.png
+themes/tango/22x22/actions/stock_not-spam.png
+themes/tango/22x22/actions/stock_paste.png
+themes/tango/22x22/actions/stock_print-preview.png
+themes/tango/22x22/actions/stock_print.png
+themes/tango/22x22/actions/stock_properties.png
+themes/tango/22x22/actions/stock_redo.png
+themes/tango/22x22/actions/stock_refresh.png
+themes/tango/22x22/actions/stock_right.png
+themes/tango/22x22/actions/stock_save-as.png
+themes/tango/22x22/actions/stock_save.png
+themes/tango/22x22/actions/stock_search-and-replace.png
+themes/tango/22x22/actions/stock_search.png
+themes/tango/22x22/actions/stock_select-all.png
+themes/tango/22x22/actions/stock_spam.png
+themes/tango/22x22/actions/stock_stop.png
+themes/tango/22x22/actions/stock_text-strikethrough.png
+themes/tango/22x22/actions/stock_text_bold.png
+themes/tango/22x22/actions/stock_text_center.png
+themes/tango/22x22/actions/stock_text_indent.png
+themes/tango/22x22/actions/stock_text_italic.png
+themes/tango/22x22/actions/stock_text_justify.png
+themes/tango/22x22/actions/stock_text_left.png
+themes/tango/22x22/actions/stock_text_right.png
+themes/tango/22x22/actions/stock_text_underlined.png
+themes/tango/22x22/actions/stock_text_unindent.png
+themes/tango/22x22/actions/stock_top.png
+themes/tango/22x22/actions/stock_undo.png
+themes/tango/22x22/actions/stock_up.png
+themes/tango/22x22/actions/stop.png
+themes/tango/22x22/actions/system-lock-screen.png
+themes/tango/22x22/actions/system-log-out.png
+themes/tango/22x22/actions/system-search.png
+themes/tango/22x22/actions/system-shutdown.png
+themes/tango/22x22/actions/tab-new.png
+themes/tango/22x22/actions/tab_new.png
+themes/tango/22x22/actions/text_bold.png
+themes/tango/22x22/actions/text_italic.png
+themes/tango/22x22/actions/text_strike.png
+themes/tango/22x22/actions/text_under.png
+themes/tango/22x22/actions/top.png
+themes/tango/22x22/actions/undo.png
+themes/tango/22x22/actions/up.png
+themes/tango/22x22/actions/view-fullscreen.png
+themes/tango/22x22/actions/view-refresh.png
+themes/tango/22x22/actions/window-new.png
+themes/tango/22x22/actions/window_fullscreen.png
+themes/tango/22x22/actions/window_new.png
+themes/tango/22x22/actions/xfce-system-lock.png
+themes/tango/22x22/animations/gnome-spinner.png
+themes/tango/22x22/animations/process-working.png
+themes/tango/22x22/apps/access.png
+themes/tango/22x22/apps/accessibility-directory.png
+themes/tango/22x22/apps/accessories-calculator.png
+themes/tango/22x22/apps/accessories-character-map.png
+themes/tango/22x22/apps/accessories-text-editor.png
+themes/tango/22x22/apps/background.png
+themes/tango/22x22/apps/browser.png
+themes/tango/22x22/apps/calc.png
+themes/tango/22x22/apps/config-language.png
+themes/tango/22x22/apps/config-users.png
+themes/tango/22x22/apps/date.png
+themes/tango/22x22/apps/email.png
+themes/tango/22x22/apps/file-manager.png
+themes/tango/22x22/apps/fonts.png
+themes/tango/22x22/apps/gnome-calculator.png
+themes/tango/22x22/apps/gnome-character-map.png
+themes/tango/22x22/apps/gnome-help.png
+themes/tango/22x22/apps/gnome-monitor.png
+themes/tango/22x22/apps/gnome-remote-desktop.png
+themes/tango/22x22/apps/gnome-session.png
+themes/tango/22x22/apps/gnome-settings-accessibility-technologies.png
+themes/tango/22x22/apps/gnome-settings-background.png
+themes/tango/22x22/apps/gnome-settings-font.png
+themes/tango/22x22/apps/gnome-settings-keybindings.png
+themes/tango/22x22/apps/gnome-settings-theme.png
+themes/tango/22x22/apps/gnome-terminal.png
+themes/tango/22x22/apps/gnome-window-manager.png
+themes/tango/22x22/apps/gucharmap.png
+themes/tango/22x22/apps/help-browser.png
+themes/tango/22x22/apps/internet-group-chat.png
+themes/tango/22x22/apps/internet-mail.png
+themes/tango/22x22/apps/internet-news-reader.png
+themes/tango/22x22/apps/internet-web-browser.png
+themes/tango/22x22/apps/kcalc.png
+themes/tango/22x22/apps/kcharselect.png
+themes/tango/22x22/apps/kcmkwm.png
+themes/tango/22x22/apps/kedit.png
+themes/tango/22x22/apps/key_bindings.png
+themes/tango/22x22/apps/kfm.png
+themes/tango/22x22/apps/khelpcenter.png
+themes/tango/22x22/apps/konsole.png
+themes/tango/22x22/apps/krfb.png
+themes/tango/22x22/apps/kscreensaver.png
+themes/tango/22x22/apps/ksysguard.png
+themes/tango/22x22/apps/kuser.png
+themes/tango/22x22/apps/kwin.png
+themes/tango/22x22/apps/locale.png
+themes/tango/22x22/apps/mail_generic.png
+themes/tango/22x22/apps/office-calendar.png
+themes/tango/22x22/apps/openterm.png
+themes/tango/22x22/apps/preferences-desktop-accessibility.png
+themes/tango/22x22/apps/preferences-desktop-assistive-technology.png
+themes/tango/22x22/apps/preferences-desktop-font.png
+themes/tango/22x22/apps/preferences-desktop-keyboard-shortcuts.png
+themes/tango/22x22/apps/preferences-desktop-locale.png
+themes/tango/22x22/apps/preferences-desktop-multimedia.png
+themes/tango/22x22/apps/preferences-desktop-remote-desktop.png
+themes/tango/22x22/apps/preferences-desktop-screensaver.png
+themes/tango/22x22/apps/preferences-desktop-theme.png
+themes/tango/22x22/apps/preferences-desktop-wallpaper.png
+themes/tango/22x22/apps/preferences-system-network-proxy.png
+themes/tango/22x22/apps/preferences-system-session.png
+themes/tango/22x22/apps/preferences-system-windows.png
+themes/tango/22x22/apps/proxy-config.png
+themes/tango/22x22/apps/proxy.png
+themes/tango/22x22/apps/redhat-email.png
+themes/tango/22x22/apps/redhat-filemanager.png
+themes/tango/22x22/apps/redhat-web-browser.png
+themes/tango/22x22/apps/screensaver.png
+themes/tango/22x22/apps/stock_proxy.png
+themes/tango/22x22/apps/style.png
+themes/tango/22x22/apps/susehelpcenter.png
+themes/tango/22x22/apps/system-config-users.png
+themes/tango/22x22/apps/system-file-manager.png
+themes/tango/22x22/apps/system-installer.png
+themes/tango/22x22/apps/system-software-update.png
+themes/tango/22x22/apps/system-users.png
+themes/tango/22x22/apps/terminal.png
+themes/tango/22x22/apps/text-editor.png
+themes/tango/22x22/apps/update-manager.png
+themes/tango/22x22/apps/utilities-system-monitor.png
+themes/tango/22x22/apps/utilities-terminal.png
+themes/tango/22x22/apps/wallpaper.png
+themes/tango/22x22/apps/web-browser.png
+themes/tango/22x22/apps/xfcalendar.png
+themes/tango/22x22/apps/xfce-filemanager.png
+themes/tango/22x22/apps/xfce-mail.png
+themes/tango/22x22/apps/xfce-terminal.png
+themes/tango/22x22/apps/xfce4-backdrop.png
+themes/tango/22x22/apps/xfce4-session.png
+themes/tango/22x22/apps/xfwm4.png
+themes/tango/22x22/apps/ximian-evolution-calendar.png
+themes/tango/22x22/apps/xscreensaver.png
+themes/tango/22x22/apps/zen-icon.png
+themes/tango/22x22/categories/applications-accessories.png
+themes/tango/22x22/categories/applications-development.png
+themes/tango/22x22/categories/applications-games.png
+themes/tango/22x22/categories/applications-graphics.png
+themes/tango/22x22/categories/applications-internet.png
+themes/tango/22x22/categories/applications-multimedia.png
+themes/tango/22x22/categories/applications-office.png
+themes/tango/22x22/categories/applications-other.png
+themes/tango/22x22/categories/applications-system.png
+themes/tango/22x22/categories/gnome-applications.png
+themes/tango/22x22/categories/gnome-control-center.png
+themes/tango/22x22/categories/gnome-devel.png
+themes/tango/22x22/categories/gnome-globe.png
+themes/tango/22x22/categories/gnome-graphics.png
+themes/tango/22x22/categories/gnome-joystick.png
+themes/tango/22x22/categories/gnome-multimedia.png
+themes/tango/22x22/categories/gnome-other.png
+themes/tango/22x22/categories/gnome-settings.png
+themes/tango/22x22/categories/gnome-system.png
+themes/tango/22x22/categories/gnome-util.png
+themes/tango/22x22/categories/gtk-preferences.png
+themes/tango/22x22/categories/input_devices_settings.png
+themes/tango/22x22/categories/kcontrol.png
+themes/tango/22x22/categories/package_development.png
+themes/tango/22x22/categories/package_games.png
+themes/tango/22x22/categories/package_graphics.png
+themes/tango/22x22/categories/package_multimedia.png
+themes/tango/22x22/categories/package_network.png
+themes/tango/22x22/categories/package_office.png
+themes/tango/22x22/categories/package_settings.png
+themes/tango/22x22/categories/package_system.png
+themes/tango/22x22/categories/package_utilities.png
+themes/tango/22x22/categories/preferences-desktop-peripherals.png
+themes/tango/22x22/categories/preferences-desktop.png
+themes/tango/22x22/categories/preferences-system.png
+themes/tango/22x22/categories/redhat-accessories.png
+themes/tango/22x22/categories/redhat-games.png
+themes/tango/22x22/categories/redhat-graphics.png
+themes/tango/22x22/categories/redhat-internet.png
+themes/tango/22x22/categories/redhat-office.png
+themes/tango/22x22/categories/redhat-preferences.png
+themes/tango/22x22/categories/redhat-programming.png
+themes/tango/22x22/categories/redhat-sound_video.png
+themes/tango/22x22/categories/redhat-system_settings.png
+themes/tango/22x22/categories/redhat-system_tools.png
+themes/tango/22x22/categories/stock_internet.png
+themes/tango/22x22/categories/xfce-games.png
+themes/tango/22x22/categories/xfce-graphics.png
+themes/tango/22x22/categories/xfce-internet.png
+themes/tango/22x22/categories/xfce-multimedia.png
+themes/tango/22x22/categories/xfce-office.png
+themes/tango/22x22/categories/xfce-system-settings.png
+themes/tango/22x22/categories/xfce-utils.png
+themes/tango/22x22/categories/xfce4-settings.png
+themes/tango/22x22/devices/3floppy_unmount.png
+themes/tango/22x22/devices/audio-card.png
+themes/tango/22x22/devices/audio-input-microphone.png
+themes/tango/22x22/devices/battery.png
+themes/tango/22x22/devices/camera-photo.png
+themes/tango/22x22/devices/camera-video.png
+themes/tango/22x22/devices/camera.png
+themes/tango/22x22/devices/camera_unmount.png
+themes/tango/22x22/devices/cdrom_unmount.png
+themes/tango/22x22/devices/cdwriter_unmount.png
+themes/tango/22x22/devices/chardevice.png
+themes/tango/22x22/devices/computer.png
+themes/tango/22x22/devices/display.png
+themes/tango/22x22/devices/drive-cdrom.png
+themes/tango/22x22/devices/drive-harddisk.png
+themes/tango/22x22/devices/drive-optical.png
+themes/tango/22x22/devices/drive-removable-media.png
+themes/tango/22x22/devices/dvd_unmount.png
+themes/tango/22x22/devices/gnome-dev-battery.png
+themes/tango/22x22/devices/gnome-dev-cdrom-audio.png
+themes/tango/22x22/devices/gnome-dev-cdrom.png
+themes/tango/22x22/devices/gnome-dev-computer.png
+themes/tango/22x22/devices/gnome-dev-disc-cdr.png
+themes/tango/22x22/devices/gnome-dev-disc-cdrw.png
+themes/tango/22x22/devices/gnome-dev-disc-dvdr-plus.png
+themes/tango/22x22/devices/gnome-dev-disc-dvdr.png
+themes/tango/22x22/devices/gnome-dev-disc-dvdram.png
+themes/tango/22x22/devices/gnome-dev-disc-dvdrom.png
+themes/tango/22x22/devices/gnome-dev-disc-dvdrw.png
+themes/tango/22x22/devices/gnome-dev-dvd.png
+themes/tango/22x22/devices/gnome-dev-ethernet.png
+themes/tango/22x22/devices/gnome-dev-floppy.png
+themes/tango/22x22/devices/gnome-dev-harddisk-1394.png
+themes/tango/22x22/devices/gnome-dev-harddisk-usb.png
+themes/tango/22x22/devices/gnome-dev-harddisk.png
+themes/tango/22x22/devices/gnome-dev-ipod.png
+themes/tango/22x22/devices/gnome-dev-keyboard.png
+themes/tango/22x22/devices/gnome-dev-media-cf.png
+themes/tango/22x22/devices/gnome-dev-media-ms.png
+themes/tango/22x22/devices/gnome-dev-media-sdmmc.png
+themes/tango/22x22/devices/gnome-dev-media-sm.png
+themes/tango/22x22/devices/gnome-dev-mouse-ball.png
+themes/tango/22x22/devices/gnome-dev-mouse-optical.png
+themes/tango/22x22/devices/gnome-dev-printer.png
+themes/tango/22x22/devices/gnome-dev-removable-1394.png
+themes/tango/22x22/devices/gnome-dev-removable-usb.png
+themes/tango/22x22/devices/gnome-dev-removable.png
+themes/tango/22x22/devices/gnome-dev-wavelan.png
+themes/tango/22x22/devices/gnome-fs-client.png
+themes/tango/22x22/devices/gnome-stock-mic.png
+themes/tango/22x22/devices/gtk-cdrom.png
+themes/tango/22x22/devices/gtk-floppy.png
+themes/tango/22x22/devices/gtk-harddisk.png
+themes/tango/22x22/devices/harddrive.png
+themes/tango/22x22/devices/hdd_unmount.png
+themes/tango/22x22/devices/input-gaming.png
+themes/tango/22x22/devices/input-keyboard.png
+themes/tango/22x22/devices/input-mouse.png
+themes/tango/22x22/devices/ipod_mount.png
+themes/tango/22x22/devices/joystick.png
+themes/tango/22x22/devices/keyboard.png
+themes/tango/22x22/devices/kjobviewer.png
+themes/tango/22x22/devices/kxkb.png
+themes/tango/22x22/devices/media-cdrom.png
+themes/tango/22x22/devices/media-flash.png
+themes/tango/22x22/devices/media-floppy.png
+themes/tango/22x22/devices/media-optical.png
+themes/tango/22x22/devices/mouse.png
+themes/tango/22x22/devices/multimedia-player.png
+themes/tango/22x22/devices/network-wired.png
+themes/tango/22x22/devices/network-wireless.png
+themes/tango/22x22/devices/printer-remote.png
+themes/tango/22x22/devices/printer.png
+themes/tango/22x22/devices/printer1.png
+themes/tango/22x22/devices/printmgr.png
+themes/tango/22x22/devices/stock_mic.png
+themes/tango/22x22/devices/stock_printers.png
+themes/tango/22x22/devices/system-floppy.png
+themes/tango/22x22/devices/system.png
+themes/tango/22x22/devices/usbpendrive_unmount.png
+themes/tango/22x22/devices/video-display.png
+themes/tango/22x22/devices/xfce-printer.png
+themes/tango/22x22/devices/xfce4-display.png
+themes/tango/22x22/devices/xfce4-keyboard.png
+themes/tango/22x22/devices/xfce4-mouse.png
+themes/tango/22x22/devices/yast_HD.png
+themes/tango/22x22/devices/yast_idetude.png
+themes/tango/22x22/devices/yast_joystick.png
+themes/tango/22x22/devices/yast_mouse.png
+themes/tango/22x22/devices/yast_printer.png
+themes/tango/22x22/devices/yast_soundcard.png
+themes/tango/22x22/emblems/emblem-favorite.png
+themes/tango/22x22/emblems/emblem-important.png
+themes/tango/22x22/emblems/emblem-noread.png
+themes/tango/22x22/emblems/emblem-nowrite.png
+themes/tango/22x22/emblems/emblem-photos.png
+themes/tango/22x22/emblems/emblem-readonly.png
+themes/tango/22x22/emblems/emblem-symbolic-link.png
+themes/tango/22x22/emblems/emblem-system.png
+themes/tango/22x22/emblems/emblem-unreadable.png
+themes/tango/22x22/emotes/face-angel.png
+themes/tango/22x22/emotes/face-crying.png
+themes/tango/22x22/emotes/face-devilish.png
+themes/tango/22x22/emotes/face-glasses.png
+themes/tango/22x22/emotes/face-grin.png
+themes/tango/22x22/emotes/face-kiss.png
+themes/tango/22x22/emotes/face-monkey.png
+themes/tango/22x22/emotes/face-plain.png
+themes/tango/22x22/emotes/face-sad.png
+themes/tango/22x22/emotes/face-smile-big.png
+themes/tango/22x22/emotes/face-smile.png
+themes/tango/22x22/emotes/face-surprise.png
+themes/tango/22x22/emotes/face-wink.png
+themes/tango/22x22/emotes/stock_smiley-1.png
+themes/tango/22x22/emotes/stock_smiley-11.png
+themes/tango/22x22/emotes/stock_smiley-13.png
+themes/tango/22x22/emotes/stock_smiley-18.png
+themes/tango/22x22/emotes/stock_smiley-2.png
+themes/tango/22x22/emotes/stock_smiley-22.png
+themes/tango/22x22/emotes/stock_smiley-3.png
+themes/tango/22x22/emotes/stock_smiley-4.png
+themes/tango/22x22/emotes/stock_smiley-5.png
+themes/tango/22x22/emotes/stock_smiley-6.png
+themes/tango/22x22/emotes/stock_smiley-7.png
+themes/tango/22x22/emotes/stock_smiley-8.png
+themes/tango/22x22/mimetypes/application-certificate.png
+themes/tango/22x22/mimetypes/application-vnd.ms-excel.sheet.macroEnabled.12.png
+themes/tango/22x22/mimetypes/application-vnd.ms-powerpoint.presentation.macroEnabled.12.png
+themes/tango/22x22/mimetypes/application-vnd.ms-word.document.macroEnabled.12.png
+themes/tango/22x22/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.presentation.png
+themes/tango/22x22/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.template.png
+themes/tango/22x22/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.sheet.png
+themes/tango/22x22/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.template.png
+themes/tango/22x22/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.document.png
+themes/tango/22x22/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.template.png
+themes/tango/22x22/mimetypes/application-x-executable.png
+themes/tango/22x22/mimetypes/ascii.png
+themes/tango/22x22/mimetypes/audio-x-generic.png
+themes/tango/22x22/mimetypes/binary.png
+themes/tango/22x22/mimetypes/contents2.png
+themes/tango/22x22/mimetypes/deb.png
+themes/tango/22x22/mimetypes/document.png
+themes/tango/22x22/mimetypes/empty.png
+themes/tango/22x22/mimetypes/exec.png
+themes/tango/22x22/mimetypes/folder_tar.png
+themes/tango/22x22/mimetypes/font-x-generic.png
+themes/tango/22x22/mimetypes/font.png
+themes/tango/22x22/mimetypes/font_bitmap.png
+themes/tango/22x22/mimetypes/font_truetype.png
+themes/tango/22x22/mimetypes/font_type1.png
+themes/tango/22x22/mimetypes/gnome-fs-executable.png
+themes/tango/22x22/mimetypes/gnome-mime-application-magicpoint.png
+themes/tango/22x22/mimetypes/gnome-mime-application-msword.png
+themes/tango/22x22/mimetypes/gnome-mime-application-ogg.png
+themes/tango/22x22/mimetypes/gnome-mime-application-pdf.png
+themes/tango/22x22/mimetypes/gnome-mime-application-postscript.png
+themes/tango/22x22/mimetypes/gnome-mime-application-rtf.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.lotus-1-2-3.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.ms-excel.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.ms-powerpoint.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics-template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.image.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation-template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet-template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-web.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.rn-realmedia-secure.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.rn-realmedia-vbr.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.rn-realmedia.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.stardivision.calc.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.stardivision.impress.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.stardivision.writer.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.calc.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.calc.template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.draw.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.draw.template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.impress.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.impress.template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.writer.png
+themes/tango/22x22/mimetypes/gnome-mime-application-vnd.sun.xml.writer.template.png
+themes/tango/22x22/mimetypes/gnome-mime-application-wordperfect.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-7z-compressed.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-abiword.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-applix-spreadsheet.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-applix-word.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-archive.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-arj.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-bzip-compressed-tar.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-bzip.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-compress.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-compressed-tar.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-cpio-compressed.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-cpio.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-deb.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-dvi.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-executable.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-font-afm.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-font-bdf.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-font-linux-psf.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-font-pcf.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-font-sunos-news.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-font-ttf.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-gnumeric.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-gzip.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-gzpostscript.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-jar.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-killustrator.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-kpresenter.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-kspread.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-kword.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-lha.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-lhz.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-lzma-compressed-tar.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-lzma.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-ms-dos-executable.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-perl.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-php.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-python-bytecode.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-rar.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-rpm.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-scribus.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-shellscript.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-shockwave-flash.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-stuffit.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-tar.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-tarz.png
+themes/tango/22x22/mimetypes/gnome-mime-application-x-tex.png
+themes/tango/22x22/mimetypes/gnome-mime-application-xhtml+xml.png
+themes/tango/22x22/mimetypes/gnome-mime-application-zip.png
+themes/tango/22x22/mimetypes/gnome-mime-audio.png
+themes/tango/22x22/mimetypes/gnome-mime-image.png
+themes/tango/22x22/mimetypes/gnome-mime-text-html.png
+themes/tango/22x22/mimetypes/gnome-mime-text-vnd.wap.wml.png
+themes/tango/22x22/mimetypes/gnome-mime-text-x-csh.png
+themes/tango/22x22/mimetypes/gnome-mime-text-x-python.png
+themes/tango/22x22/mimetypes/gnome-mime-text-x-sh.png
+themes/tango/22x22/mimetypes/gnome-mime-text-x-vcalendar.png
+themes/tango/22x22/mimetypes/gnome-mime-text-x-vcard.png
+themes/tango/22x22/mimetypes/gnome-mime-text-x-zsh.png
+themes/tango/22x22/mimetypes/gnome-mime-text.png
+themes/tango/22x22/mimetypes/gnome-mime-video.png
+themes/tango/22x22/mimetypes/gnome-mime-x-font-afm.png
+themes/tango/22x22/mimetypes/gnome-package.png
+themes/tango/22x22/mimetypes/html.png
+themes/tango/22x22/mimetypes/image-x-generic.png
+themes/tango/22x22/mimetypes/image.png
+themes/tango/22x22/mimetypes/kpresenter_kpr.png
+themes/tango/22x22/mimetypes/mime_ascii.png
+themes/tango/22x22/mimetypes/misc.png
+themes/tango/22x22/mimetypes/package-x-generic.png
+themes/tango/22x22/mimetypes/package.png
+themes/tango/22x22/mimetypes/package_editors.png
+themes/tango/22x22/mimetypes/package_wordprocessing.png
+themes/tango/22x22/mimetypes/plan.png
+themes/tango/22x22/mimetypes/rpm.png
+themes/tango/22x22/mimetypes/shellscript.png
+themes/tango/22x22/mimetypes/sound.png
+themes/tango/22x22/mimetypes/spreadsheet.png
+themes/tango/22x22/mimetypes/stock_addressbook.png
+themes/tango/22x22/mimetypes/stock_calendar.png
+themes/tango/22x22/mimetypes/stock_certificate.png
+themes/tango/22x22/mimetypes/stock_script.png
+themes/tango/22x22/mimetypes/tar.png
+themes/tango/22x22/mimetypes/template_source.png
+themes/tango/22x22/mimetypes/text-html.png
+themes/tango/22x22/mimetypes/text-x-generic-template.png
+themes/tango/22x22/mimetypes/text-x-generic.png
+themes/tango/22x22/mimetypes/text-x-script.png
+themes/tango/22x22/mimetypes/tgz.png
+themes/tango/22x22/mimetypes/txt.png
+themes/tango/22x22/mimetypes/txt2.png
+themes/tango/22x22/mimetypes/unknown.png
+themes/tango/22x22/mimetypes/vcalendar.png
+themes/tango/22x22/mimetypes/vcard.png
+themes/tango/22x22/mimetypes/video-x-generic.png
+themes/tango/22x22/mimetypes/video.png
+themes/tango/22x22/mimetypes/wordprocessing.png
+themes/tango/22x22/mimetypes/www.png
+themes/tango/22x22/mimetypes/x-office-address-book.png
+themes/tango/22x22/mimetypes/x-office-calendar.png
+themes/tango/22x22/mimetypes/x-office-document-template.png
+themes/tango/22x22/mimetypes/x-office-document.png
+themes/tango/22x22/mimetypes/x-office-drawing-template.png
+themes/tango/22x22/mimetypes/x-office-drawing.png
+themes/tango/22x22/mimetypes/x-office-presentation-template.png
+themes/tango/22x22/mimetypes/x-office-presentation.png
+themes/tango/22x22/mimetypes/x-office-spreadsheet-template.png
+themes/tango/22x22/mimetypes/x-office-spreadsheet.png
+themes/tango/22x22/mimetypes/zip.png
+themes/tango/22x22/places/application-x-gnome-saved-search.png
+themes/tango/22x22/places/desktop.png
+themes/tango/22x22/places/distributor-logo.png
+themes/tango/22x22/places/emptytrash.png
+themes/tango/22x22/places/folder-remote.png
+themes/tango/22x22/places/folder-saved-search.png
+themes/tango/22x22/places/folder.png
+themes/tango/22x22/places/folder_home.png
+themes/tango/22x22/places/gnome-fs-desktop.png
+themes/tango/22x22/places/gnome-fs-directory.png
+themes/tango/22x22/places/gnome-fs-ftp.png
+themes/tango/22x22/places/gnome-fs-home.png
+themes/tango/22x22/places/gnome-fs-network.png
+themes/tango/22x22/places/gnome-fs-nfs.png
+themes/tango/22x22/places/gnome-fs-server.png
+themes/tango/22x22/places/gnome-fs-share.png
+themes/tango/22x22/places/gnome-fs-smb.png
+themes/tango/22x22/places/gnome-fs-ssh.png
+themes/tango/22x22/places/gnome-fs-trash-empty.png
+themes/tango/22x22/places/gnome-main-menu.png
+themes/tango/22x22/places/gnome-mime-x-directory-nfs-server.png
+themes/tango/22x22/places/gnome-mime-x-directory-smb-server.png
+themes/tango/22x22/places/gnome-mime-x-directory-smb-share.png
+themes/tango/22x22/places/gnome-mime-x-directory-smb-workgroup.png
+themes/tango/22x22/places/gnome-stock-trash.png
+themes/tango/22x22/places/gtk-directory.png
+themes/tango/22x22/places/gtk-network.png
+themes/tango/22x22/places/inode-directory.png
+themes/tango/22x22/places/network-server.png
+themes/tango/22x22/places/network-workgroup.png
+themes/tango/22x22/places/network.png
+themes/tango/22x22/places/network_local.png
+themes/tango/22x22/places/novell-button.png
+themes/tango/22x22/places/redhat-network-server.png
+themes/tango/22x22/places/server.png
+themes/tango/22x22/places/start-here.png
+themes/tango/22x22/places/stock_folder.png
+themes/tango/22x22/places/trashcan_empty.png
+themes/tango/22x22/places/user-desktop.png
+themes/tango/22x22/places/user-home.png
+themes/tango/22x22/places/user-trash.png
+themes/tango/22x22/places/xfce-trash_empty.png
+themes/tango/22x22/status/audio-volume-high.png
+themes/tango/22x22/status/audio-volume-low.png
+themes/tango/22x22/status/audio-volume-medium.png
+themes/tango/22x22/status/audio-volume-muted.png
+themes/tango/22x22/status/battery-caution.png
+themes/tango/22x22/status/connect_creating.png
+themes/tango/22x22/status/connect_established.png
+themes/tango/22x22/status/connect_no.png
+themes/tango/22x22/status/dialog-error.png
+themes/tango/22x22/status/dialog-information.png
+themes/tango/22x22/status/dialog-warning.png
+themes/tango/22x22/status/edittrash.png
+themes/tango/22x22/status/error.png
+themes/tango/22x22/status/folder-drag-accept.png
+themes/tango/22x22/status/folder-open.png
+themes/tango/22x22/status/folder-visiting.png
+themes/tango/22x22/status/folder_open.png
+themes/tango/22x22/status/gnome-dev-wavelan-encrypted.png
+themes/tango/22x22/status/gnome-fs-directory-accept.png
+themes/tango/22x22/status/gnome-fs-directory-visiting.png
+themes/tango/22x22/status/gnome-fs-loading-icon.png
+themes/tango/22x22/status/gnome-fs-trash-full.png
+themes/tango/22x22/status/gnome-netstatus-disconn.png
+themes/tango/22x22/status/gnome-netstatus-error.png
+themes/tango/22x22/status/gnome-netstatus-idle.png
+themes/tango/22x22/status/gnome-netstatus-rx.png
+themes/tango/22x22/status/gnome-netstatus-tx.png
+themes/tango/22x22/status/gnome-netstatus-txrx.png
+themes/tango/22x22/status/gnome-stock-trash-full.png
+themes/tango/22x22/status/gtk-dialog-error.png
+themes/tango/22x22/status/gtk-dialog-info.png
+themes/tango/22x22/status/gtk-dialog-warning.png
+themes/tango/22x22/status/gtk-missing-image.png
+themes/tango/22x22/status/image-loading.png
+themes/tango/22x22/status/image-missing.png
+themes/tango/22x22/status/important.png
+themes/tango/22x22/status/info.png
+themes/tango/22x22/status/mail-attachment.png
+themes/tango/22x22/status/messagebox_critical.png
+themes/tango/22x22/status/messagebox_info.png
+themes/tango/22x22/status/messagebox_warning.png
+themes/tango/22x22/status/network-error.png
+themes/tango/22x22/status/network-idle.png
+themes/tango/22x22/status/network-offline.png
+themes/tango/22x22/status/network-receive.png
+themes/tango/22x22/status/network-transmit-receive.png
+themes/tango/22x22/status/network-transmit.png
+themes/tango/22x22/status/network-wireless-encrypted.png
+themes/tango/22x22/status/nm-adhoc.png
+themes/tango/22x22/status/nm-device-wired.png
+themes/tango/22x22/status/nm-device-wireless.png
+themes/tango/22x22/status/nm-no-connection.png
+themes/tango/22x22/status/printer-error.png
+themes/tango/22x22/status/software-update-available.png
+themes/tango/22x22/status/software-update-urgent.png
+themes/tango/22x22/status/stock_attach.png
+themes/tango/22x22/status/stock_dialog-error.png
+themes/tango/22x22/status/stock_dialog-info.png
+themes/tango/22x22/status/stock_dialog-warning.png
+themes/tango/22x22/status/stock_open.png
+themes/tango/22x22/status/stock_trash_full.png
+themes/tango/22x22/status/stock_volume-0.png
+themes/tango/22x22/status/stock_volume-max.png
+themes/tango/22x22/status/stock_volume-med.png
+themes/tango/22x22/status/stock_volume-min.png
+themes/tango/22x22/status/stock_volume-mute.png
+themes/tango/22x22/status/stock_volume.png
+themes/tango/22x22/status/stock_weather-cloudy.png
+themes/tango/22x22/status/stock_weather-few-clouds.png
+themes/tango/22x22/status/stock_weather-night-clear.png
+themes/tango/22x22/status/stock_weather-night-few-clouds.png
+themes/tango/22x22/status/stock_weather-showers.png
+themes/tango/22x22/status/stock_weather-snow.png
+themes/tango/22x22/status/stock_weather-storm.png
+themes/tango/22x22/status/stock_weather-sunny.png
+themes/tango/22x22/status/sunny.png
+themes/tango/22x22/status/trashcan_full.png
+themes/tango/22x22/status/user-trash-full.png
+themes/tango/22x22/status/weather-clear-night.png
+themes/tango/22x22/status/weather-clear.png
+themes/tango/22x22/status/weather-few-clouds-night.png
+themes/tango/22x22/status/weather-few-clouds.png
+themes/tango/22x22/status/weather-overcast.png
+themes/tango/22x22/status/weather-severe-alert.png
+themes/tango/22x22/status/weather-showers-scattered.png
+themes/tango/22x22/status/weather-showers.png
+themes/tango/22x22/status/weather-snow.png
+themes/tango/22x22/status/weather-storm.png
+themes/tango/22x22/status/xfce-trash_full.png
+themes/tango/24x24/actions/add.png
+themes/tango/24x24/actions/address-book-new.png
+themes/tango/24x24/actions/appointment-new.png
+themes/tango/24x24/actions/appointment.png
+themes/tango/24x24/actions/back.png
+themes/tango/24x24/actions/bookmark-new.png
+themes/tango/24x24/actions/bookmark_add.png
+themes/tango/24x24/actions/bookmarks_list_add.png
+themes/tango/24x24/actions/bottom.png
+themes/tango/24x24/actions/centrejust.png
+themes/tango/24x24/actions/contact-new.png
+themes/tango/24x24/actions/document-new.png
+themes/tango/24x24/actions/document-open.png
+themes/tango/24x24/actions/document-print-preview.png
+themes/tango/24x24/actions/document-print.png
+themes/tango/24x24/actions/document-properties.png
+themes/tango/24x24/actions/document-save-as.png
+themes/tango/24x24/actions/document-save.png
+themes/tango/24x24/actions/down.png
+themes/tango/24x24/actions/edit-clear.png
+themes/tango/24x24/actions/edit-copy.png
+themes/tango/24x24/actions/edit-cut.png
+themes/tango/24x24/actions/edit-delete.png
+themes/tango/24x24/actions/edit-find-replace.png
+themes/tango/24x24/actions/edit-find.png
+themes/tango/24x24/actions/edit-paste.png
+themes/tango/24x24/actions/edit-redo.png
+themes/tango/24x24/actions/edit-select-all.png
+themes/tango/24x24/actions/edit-undo.png
+themes/tango/24x24/actions/editclear.png
+themes/tango/24x24/actions/editcopy.png
+themes/tango/24x24/actions/editcut.png
+themes/tango/24x24/actions/editdelete.png
+themes/tango/24x24/actions/editpaste.png
+themes/tango/24x24/actions/exit.png
+themes/tango/24x24/actions/filefind.png
+themes/tango/24x24/actions/filenew.png
+themes/tango/24x24/actions/fileopen.png
+themes/tango/24x24/actions/fileprint.png
+themes/tango/24x24/actions/filequickprint.png
+themes/tango/24x24/actions/filesave.png
+themes/tango/24x24/actions/filesaveas.png
+themes/tango/24x24/actions/find.png
+themes/tango/24x24/actions/finish.png
+themes/tango/24x24/actions/folder-new.png
+themes/tango/24x24/actions/folder_new.png
+themes/tango/24x24/actions/format-indent-less.png
+themes/tango/24x24/actions/format-indent-more.png
+themes/tango/24x24/actions/format-justify-center.png
+themes/tango/24x24/actions/format-justify-fill.png
+themes/tango/24x24/actions/format-justify-left.png
+themes/tango/24x24/actions/format-justify-right.png
+themes/tango/24x24/actions/format-text-bold.png
+themes/tango/24x24/actions/format-text-italic.png
+themes/tango/24x24/actions/format-text-strikethrough.png
+themes/tango/24x24/actions/format-text-underline.png
+themes/tango/24x24/actions/forward.png
+themes/tango/24x24/actions/gnome-lockscreen.png
+themes/tango/24x24/actions/gnome-logout.png
+themes/tango/24x24/actions/gnome-searchtool.png
+themes/tango/24x24/actions/gnome-shutdown.png
+themes/tango/24x24/actions/gnome-stock-mail-fwd.png
+themes/tango/24x24/actions/gnome-stock-mail-new.png
+themes/tango/24x24/actions/gnome-stock-mail-rpl.png
+themes/tango/24x24/actions/gnome-stock-text-indent.png
+themes/tango/24x24/actions/gnome-stock-text-unindent.png
+themes/tango/24x24/actions/go-bottom.png
+themes/tango/24x24/actions/go-down.png
+themes/tango/24x24/actions/go-first.png
+themes/tango/24x24/actions/go-home.png
+themes/tango/24x24/actions/go-jump.png
+themes/tango/24x24/actions/go-last.png
+themes/tango/24x24/actions/go-next.png
+themes/tango/24x24/actions/go-previous.png
+themes/tango/24x24/actions/go-top.png
+themes/tango/24x24/actions/go-up.png
+themes/tango/24x24/actions/gohome.png
+themes/tango/24x24/actions/gtk-add.png
+themes/tango/24x24/actions/gtk-bold.png
+themes/tango/24x24/actions/gtk-cancel.png
+themes/tango/24x24/actions/gtk-clear.png
+themes/tango/24x24/actions/gtk-copy.png
+themes/tango/24x24/actions/gtk-cut.png
+themes/tango/24x24/actions/gtk-delete.png
+themes/tango/24x24/actions/gtk-find-and-replace.png
+themes/tango/24x24/actions/gtk-find.png
+themes/tango/24x24/actions/gtk-fullscreen.png
+themes/tango/24x24/actions/gtk-go-back-ltr.png
+themes/tango/24x24/actions/gtk-go-back-rtl.png
+themes/tango/24x24/actions/gtk-go-down.png
+themes/tango/24x24/actions/gtk-go-forward-ltr.png
+themes/tango/24x24/actions/gtk-go-forward-rtl.png
+themes/tango/24x24/actions/gtk-go-up.png
+themes/tango/24x24/actions/gtk-goto-bottom.png
+themes/tango/24x24/actions/gtk-goto-first-ltr.png
+themes/tango/24x24/actions/gtk-goto-first-rtl.png
+themes/tango/24x24/actions/gtk-goto-last-ltr.png
+themes/tango/24x24/actions/gtk-goto-last-rtl.png
+themes/tango/24x24/actions/gtk-goto-top.png
+themes/tango/24x24/actions/gtk-home.png
+themes/tango/24x24/actions/gtk-indent-ltr.png
+themes/tango/24x24/actions/gtk-indent-rtl.png
+themes/tango/24x24/actions/gtk-italic.png
+themes/tango/24x24/actions/gtk-jump-to-ltr.png
+themes/tango/24x24/actions/gtk-jump-to-rtl.png
+themes/tango/24x24/actions/gtk-justify-center.png
+themes/tango/24x24/actions/gtk-justify-fill.png
+themes/tango/24x24/actions/gtk-justify-left.png
+themes/tango/24x24/actions/gtk-justify-right.png
+themes/tango/24x24/actions/gtk-media-forward-ltr.png
+themes/tango/24x24/actions/gtk-media-forward-rtl.png
+themes/tango/24x24/actions/gtk-media-next-ltr.png
+themes/tango/24x24/actions/gtk-media-next-rtl.png
+themes/tango/24x24/actions/gtk-media-pause.png
+themes/tango/24x24/actions/gtk-media-play-ltr.png
+themes/tango/24x24/actions/gtk-media-previous-ltr.png
+themes/tango/24x24/actions/gtk-media-previous-rtl.png
+themes/tango/24x24/actions/gtk-media-record.png
+themes/tango/24x24/actions/gtk-media-rewind-ltr.png
+themes/tango/24x24/actions/gtk-media-rewind-rtl.png
+themes/tango/24x24/actions/gtk-media-stop.png
+themes/tango/24x24/actions/gtk-new.png
+themes/tango/24x24/actions/gtk-open.png
+themes/tango/24x24/actions/gtk-paste.png
+themes/tango/24x24/actions/gtk-print-preview.png
+themes/tango/24x24/actions/gtk-print.png
+themes/tango/24x24/actions/gtk-properties.png
+themes/tango/24x24/actions/gtk-redo-ltr.png
+themes/tango/24x24/actions/gtk-refresh.png
+themes/tango/24x24/actions/gtk-remove.png
+themes/tango/24x24/actions/gtk-save-as.png
+themes/tango/24x24/actions/gtk-save.png
+themes/tango/24x24/actions/gtk-select-all.png
+themes/tango/24x24/actions/gtk-stop.png
+themes/tango/24x24/actions/gtk-strikethrough.png
+themes/tango/24x24/actions/gtk-underline.png
+themes/tango/24x24/actions/gtk-undo-ltr.png
+themes/tango/24x24/actions/gtk-unindent-ltr.png
+themes/tango/24x24/actions/gtk-unindent-rtl.png
+themes/tango/24x24/actions/kfind.png
+themes/tango/24x24/actions/kfm_home.png
+themes/tango/24x24/actions/leftjust.png
+themes/tango/24x24/actions/list-add.png
+themes/tango/24x24/actions/list-remove.png
+themes/tango/24x24/actions/lock.png
+themes/tango/24x24/actions/mail-forward.png
+themes/tango/24x24/actions/mail-mark-junk.png
+themes/tango/24x24/actions/mail-mark-not-junk.png
+themes/tango/24x24/actions/mail-message-new.png
+themes/tango/24x24/actions/mail-reply-all.png
+themes/tango/24x24/actions/mail-reply-sender.png
+themes/tango/24x24/actions/mail-send-receive.png
+themes/tango/24x24/actions/mail_forward.png
+themes/tango/24x24/actions/mail_new.png
+themes/tango/24x24/actions/mail_reply.png
+themes/tango/24x24/actions/mail_replyall.png
+themes/tango/24x24/actions/mail_spam.png
+themes/tango/24x24/actions/media-eject.png
+themes/tango/24x24/actions/media-playback-pause.png
+themes/tango/24x24/actions/media-playback-start.png
+themes/tango/24x24/actions/media-playback-stop.png
+themes/tango/24x24/actions/media-record.png
+themes/tango/24x24/actions/media-seek-backward.png
+themes/tango/24x24/actions/media-seek-forward.png
+themes/tango/24x24/actions/media-skip-backward.png
+themes/tango/24x24/actions/media-skip-forward.png
+themes/tango/24x24/actions/next.png
+themes/tango/24x24/actions/player_eject.png
+themes/tango/24x24/actions/player_end.png
+themes/tango/24x24/actions/player_fwd.png
+themes/tango/24x24/actions/player_pause.png
+themes/tango/24x24/actions/player_play.png
+themes/tango/24x24/actions/player_record.png
+themes/tango/24x24/actions/player_rew.png
+themes/tango/24x24/actions/player_start.png
+themes/tango/24x24/actions/player_stop.png
+themes/tango/24x24/actions/previous.png
+themes/tango/24x24/actions/process-stop.png
+themes/tango/24x24/actions/redhat-home.png
+themes/tango/24x24/actions/redo.png
+themes/tango/24x24/actions/reload.png
+themes/tango/24x24/actions/reload3.png
+themes/tango/24x24/actions/reload_all_tabs.png
+themes/tango/24x24/actions/reload_page.png
+themes/tango/24x24/actions/remove.png
+themes/tango/24x24/actions/rightjust.png
+themes/tango/24x24/actions/search.png
+themes/tango/24x24/actions/start.png
+themes/tango/24x24/actions/stock_add-bookmark.png
+themes/tango/24x24/actions/stock_bottom.png
+themes/tango/24x24/actions/stock_copy.png
+themes/tango/24x24/actions/stock_cut.png
+themes/tango/24x24/actions/stock_delete.png
+themes/tango/24x24/actions/stock_down.png
+themes/tango/24x24/actions/stock_file-properites.png
+themes/tango/24x24/actions/stock_first.png
+themes/tango/24x24/actions/stock_fullscreen.png
+themes/tango/24x24/actions/stock_help-add-bookmark.png
+themes/tango/24x24/actions/stock_home.png
+themes/tango/24x24/actions/stock_last.png
+themes/tango/24x24/actions/stock_left.png
+themes/tango/24x24/actions/stock_mail-compose.png
+themes/tango/24x24/actions/stock_mail-forward.png
+themes/tango/24x24/actions/stock_mail-reply-to-all.png
+themes/tango/24x24/actions/stock_mail-reply.png
+themes/tango/24x24/actions/stock_mail-send-receive.png
+themes/tango/24x24/actions/stock_media-fwd.png
+themes/tango/24x24/actions/stock_media-next.png
+themes/tango/24x24/actions/stock_media-pause.png
+themes/tango/24x24/actions/stock_media-play.png
+themes/tango/24x24/actions/stock_media-prev.png
+themes/tango/24x24/actions/stock_media-rec.png
+themes/tango/24x24/actions/stock_media-rew.png
+themes/tango/24x24/actions/stock_media-stop.png
+themes/tango/24x24/actions/stock_new-address-book.png
+themes/tango/24x24/actions/stock_new-appointment.png
+themes/tango/24x24/actions/stock_new-bcard.png
+themes/tango/24x24/actions/stock_new-dir.png
+themes/tango/24x24/actions/stock_new-tab.png
+themes/tango/24x24/actions/stock_new-text.png
+themes/tango/24x24/actions/stock_new-window.png
+themes/tango/24x24/actions/stock_not-spam.png
+themes/tango/24x24/actions/stock_paste.png
+themes/tango/24x24/actions/stock_print-preview.png
+themes/tango/24x24/actions/stock_print.png
+themes/tango/24x24/actions/stock_properties.png
+themes/tango/24x24/actions/stock_redo.png
+themes/tango/24x24/actions/stock_refresh.png
+themes/tango/24x24/actions/stock_right.png
+themes/tango/24x24/actions/stock_save-as.png
+themes/tango/24x24/actions/stock_save.png
+themes/tango/24x24/actions/stock_search-and-replace.png
+themes/tango/24x24/actions/stock_search.png
+themes/tango/24x24/actions/stock_select-all.png
+themes/tango/24x24/actions/stock_spam.png
+themes/tango/24x24/actions/stock_stop.png
+themes/tango/24x24/actions/stock_text-strikethrough.png
+themes/tango/24x24/actions/stock_text_bold.png
+themes/tango/24x24/actions/stock_text_center.png
+themes/tango/24x24/actions/stock_text_indent.png
+themes/tango/24x24/actions/stock_text_italic.png
+themes/tango/24x24/actions/stock_text_justify.png
+themes/tango/24x24/actions/stock_text_left.png
+themes/tango/24x24/actions/stock_text_right.png
+themes/tango/24x24/actions/stock_text_underlined.png
+themes/tango/24x24/actions/stock_text_unindent.png
+themes/tango/24x24/actions/stock_top.png
+themes/tango/24x24/actions/stock_undo.png
+themes/tango/24x24/actions/stock_up.png
+themes/tango/24x24/actions/stop.png
+themes/tango/24x24/actions/system-lock-screen.png
+themes/tango/24x24/actions/system-log-out.png
+themes/tango/24x24/actions/system-search.png
+themes/tango/24x24/actions/system-shutdown.png
+themes/tango/24x24/actions/tab-new.png
+themes/tango/24x24/actions/tab_new.png
+themes/tango/24x24/actions/text_bold.png
+themes/tango/24x24/actions/text_italic.png
+themes/tango/24x24/actions/text_strike.png
+themes/tango/24x24/actions/text_under.png
+themes/tango/24x24/actions/top.png
+themes/tango/24x24/actions/undo.png
+themes/tango/24x24/actions/up.png
+themes/tango/24x24/actions/view-fullscreen.png
+themes/tango/24x24/actions/view-refresh.png
+themes/tango/24x24/actions/window-new.png
+themes/tango/24x24/actions/window_fullscreen.png
+themes/tango/24x24/actions/window_new.png
+themes/tango/24x24/actions/xfce-system-lock.png
+themes/tango/24x24/apps/access.png
+themes/tango/24x24/apps/accessibility-directory.png
+themes/tango/24x24/apps/accessories-calculator.png
+themes/tango/24x24/apps/accessories-character-map.png
+themes/tango/24x24/apps/accessories-text-editor.png
+themes/tango/24x24/apps/background.png
+themes/tango/24x24/apps/browser.png
+themes/tango/24x24/apps/calc.png
+themes/tango/24x24/apps/config-language.png
+themes/tango/24x24/apps/config-users.png
+themes/tango/24x24/apps/date.png
+themes/tango/24x24/apps/email.png
+themes/tango/24x24/apps/file-manager.png
+themes/tango/24x24/apps/fonts.png
+themes/tango/24x24/apps/gnome-calculator.png
+themes/tango/24x24/apps/gnome-character-map.png
+themes/tango/24x24/apps/gnome-help.png
+themes/tango/24x24/apps/gnome-monitor.png
+themes/tango/24x24/apps/gnome-remote-desktop.png
+themes/tango/24x24/apps/gnome-session.png
+themes/tango/24x24/apps/gnome-settings-accessibility-technologies.png
+themes/tango/24x24/apps/gnome-settings-background.png
+themes/tango/24x24/apps/gnome-settings-font.png
+themes/tango/24x24/apps/gnome-settings-keybindings.png
+themes/tango/24x24/apps/gnome-settings-theme.png
+themes/tango/24x24/apps/gnome-terminal.png
+themes/tango/24x24/apps/gnome-window-manager.png
+themes/tango/24x24/apps/gucharmap.png
+themes/tango/24x24/apps/help-browser.png
+themes/tango/24x24/apps/internet-group-chat.png
+themes/tango/24x24/apps/internet-mail.png
+themes/tango/24x24/apps/internet-news-reader.png
+themes/tango/24x24/apps/internet-web-browser.png
+themes/tango/24x24/apps/kcalc.png
+themes/tango/24x24/apps/kcharselect.png
+themes/tango/24x24/apps/kcmkwm.png
+themes/tango/24x24/apps/kedit.png
+themes/tango/24x24/apps/key_bindings.png
+themes/tango/24x24/apps/kfm.png
+themes/tango/24x24/apps/khelpcenter.png
+themes/tango/24x24/apps/konsole.png
+themes/tango/24x24/apps/krfb.png
+themes/tango/24x24/apps/kscreensaver.png
+themes/tango/24x24/apps/ksysguard.png
+themes/tango/24x24/apps/kuser.png
+themes/tango/24x24/apps/kwin.png
+themes/tango/24x24/apps/locale.png
+themes/tango/24x24/apps/mail_generic.png
+themes/tango/24x24/apps/office-calendar.png
+themes/tango/24x24/apps/openterm.png
+themes/tango/24x24/apps/preferences-desktop-accessibility.png
+themes/tango/24x24/apps/preferences-desktop-assistive-technology.png
+themes/tango/24x24/apps/preferences-desktop-font.png
+themes/tango/24x24/apps/preferences-desktop-keyboard-shortcuts.png
+themes/tango/24x24/apps/preferences-desktop-locale.png
+themes/tango/24x24/apps/preferences-desktop-multimedia.png
+themes/tango/24x24/apps/preferences-desktop-remote-desktop.png
+themes/tango/24x24/apps/preferences-desktop-screensaver.png
+themes/tango/24x24/apps/preferences-desktop-theme.png
+themes/tango/24x24/apps/preferences-desktop-wallpaper.png
+themes/tango/24x24/apps/preferences-system-network-proxy.png
+themes/tango/24x24/apps/preferences-system-session.png
+themes/tango/24x24/apps/preferences-system-windows.png
+themes/tango/24x24/apps/proxy-config.png
+themes/tango/24x24/apps/proxy.png
+themes/tango/24x24/apps/redhat-email.png
+themes/tango/24x24/apps/redhat-filemanager.png
+themes/tango/24x24/apps/redhat-web-browser.png
+themes/tango/24x24/apps/screensaver.png
+themes/tango/24x24/apps/stock_proxy.png
+themes/tango/24x24/apps/style.png
+themes/tango/24x24/apps/susehelpcenter.png
+themes/tango/24x24/apps/system-config-users.png
+themes/tango/24x24/apps/system-file-manager.png
+themes/tango/24x24/apps/system-installer.png
+themes/tango/24x24/apps/system-software-update.png
+themes/tango/24x24/apps/system-users.png
+themes/tango/24x24/apps/terminal.png
+themes/tango/24x24/apps/text-editor.png
+themes/tango/24x24/apps/update-manager.png
+themes/tango/24x24/apps/utilities-system-monitor.png
+themes/tango/24x24/apps/utilities-terminal.png
+themes/tango/24x24/apps/wallpaper.png
+themes/tango/24x24/apps/web-browser.png
+themes/tango/24x24/apps/xfcalendar.png
+themes/tango/24x24/apps/xfce-filemanager.png
+themes/tango/24x24/apps/xfce-mail.png
+themes/tango/24x24/apps/xfce-terminal.png
+themes/tango/24x24/apps/xfce4-backdrop.png
+themes/tango/24x24/apps/xfce4-session.png
+themes/tango/24x24/apps/xfwm4.png
+themes/tango/24x24/apps/ximian-evolution-calendar.png
+themes/tango/24x24/apps/xscreensaver.png
+themes/tango/24x24/apps/zen-icon.png
+themes/tango/24x24/categories/applications-accessories.png
+themes/tango/24x24/categories/applications-development.png
+themes/tango/24x24/categories/applications-games.png
+themes/tango/24x24/categories/applications-graphics.png
+themes/tango/24x24/categories/applications-internet.png
+themes/tango/24x24/categories/applications-multimedia.png
+themes/tango/24x24/categories/applications-office.png
+themes/tango/24x24/categories/applications-other.png
+themes/tango/24x24/categories/applications-system.png
+themes/tango/24x24/categories/gnome-applications.png
+themes/tango/24x24/categories/gnome-control-center.png
+themes/tango/24x24/categories/gnome-devel.png
+themes/tango/24x24/categories/gnome-globe.png
+themes/tango/24x24/categories/gnome-graphics.png
+themes/tango/24x24/categories/gnome-joystick.png
+themes/tango/24x24/categories/gnome-multimedia.png
+themes/tango/24x24/categories/gnome-other.png
+themes/tango/24x24/categories/gnome-settings.png
+themes/tango/24x24/categories/gnome-system.png
+themes/tango/24x24/categories/gnome-util.png
+themes/tango/24x24/categories/gtk-preferences.png
+themes/tango/24x24/categories/input_devices_settings.png
+themes/tango/24x24/categories/kcontrol.png
+themes/tango/24x24/categories/package_development.png
+themes/tango/24x24/categories/package_games.png
+themes/tango/24x24/categories/package_graphics.png
+themes/tango/24x24/categories/package_multimedia.png
+themes/tango/24x24/categories/package_network.png
+themes/tango/24x24/categories/package_office.png
+themes/tango/24x24/categories/package_settings.png
+themes/tango/24x24/categories/package_system.png
+themes/tango/24x24/categories/package_utilities.png
+themes/tango/24x24/categories/preferences-desktop-peripherals.png
+themes/tango/24x24/categories/preferences-desktop.png
+themes/tango/24x24/categories/preferences-system.png
+themes/tango/24x24/categories/redhat-accessories.png
+themes/tango/24x24/categories/redhat-games.png
+themes/tango/24x24/categories/redhat-graphics.png
+themes/tango/24x24/categories/redhat-internet.png
+themes/tango/24x24/categories/redhat-office.png
+themes/tango/24x24/categories/redhat-preferences.png
+themes/tango/24x24/categories/redhat-programming.png
+themes/tango/24x24/categories/redhat-sound_video.png
+themes/tango/24x24/categories/redhat-system_settings.png
+themes/tango/24x24/categories/redhat-system_tools.png
+themes/tango/24x24/categories/stock_internet.png
+themes/tango/24x24/categories/xfce-games.png
+themes/tango/24x24/categories/xfce-graphics.png
+themes/tango/24x24/categories/xfce-internet.png
+themes/tango/24x24/categories/xfce-multimedia.png
+themes/tango/24x24/categories/xfce-office.png
+themes/tango/24x24/categories/xfce-system-settings.png
+themes/tango/24x24/categories/xfce-utils.png
+themes/tango/24x24/categories/xfce4-settings.png
+themes/tango/24x24/devices/3floppy_unmount.png
+themes/tango/24x24/devices/audio-card.png
+themes/tango/24x24/devices/audio-input-microphone.png
+themes/tango/24x24/devices/battery.png
+themes/tango/24x24/devices/camera-photo.png
+themes/tango/24x24/devices/camera-video.png
+themes/tango/24x24/devices/camera.png
+themes/tango/24x24/devices/camera_unmount.png
+themes/tango/24x24/devices/cdrom_unmount.png
+themes/tango/24x24/devices/cdwriter_unmount.png
+themes/tango/24x24/devices/chardevice.png
+themes/tango/24x24/devices/computer.png
+themes/tango/24x24/devices/display.png
+themes/tango/24x24/devices/drive-cdrom.png
+themes/tango/24x24/devices/drive-harddisk.png
+themes/tango/24x24/devices/drive-optical.png
+themes/tango/24x24/devices/drive-removable-media.png
+themes/tango/24x24/devices/dvd_unmount.png
+themes/tango/24x24/devices/gnome-dev-battery.png
+themes/tango/24x24/devices/gnome-dev-cdrom-audio.png
+themes/tango/24x24/devices/gnome-dev-cdrom.png
+themes/tango/24x24/devices/gnome-dev-computer.png
+themes/tango/24x24/devices/gnome-dev-disc-cdr.png
+themes/tango/24x24/devices/gnome-dev-disc-cdrw.png
+themes/tango/24x24/devices/gnome-dev-disc-dvdr-plus.png
+themes/tango/24x24/devices/gnome-dev-disc-dvdr.png
+themes/tango/24x24/devices/gnome-dev-disc-dvdram.png
+themes/tango/24x24/devices/gnome-dev-disc-dvdrom.png
+themes/tango/24x24/devices/gnome-dev-disc-dvdrw.png
+themes/tango/24x24/devices/gnome-dev-dvd.png
+themes/tango/24x24/devices/gnome-dev-ethernet.png
+themes/tango/24x24/devices/gnome-dev-floppy.png
+themes/tango/24x24/devices/gnome-dev-harddisk-1394.png
+themes/tango/24x24/devices/gnome-dev-harddisk-usb.png
+themes/tango/24x24/devices/gnome-dev-harddisk.png
+themes/tango/24x24/devices/gnome-dev-ipod.png
+themes/tango/24x24/devices/gnome-dev-keyboard.png
+themes/tango/24x24/devices/gnome-dev-media-cf.png
+themes/tango/24x24/devices/gnome-dev-media-ms.png
+themes/tango/24x24/devices/gnome-dev-media-sdmmc.png
+themes/tango/24x24/devices/gnome-dev-media-sm.png
+themes/tango/24x24/devices/gnome-dev-mouse-ball.png
+themes/tango/24x24/devices/gnome-dev-mouse-optical.png
+themes/tango/24x24/devices/gnome-dev-printer.png
+themes/tango/24x24/devices/gnome-dev-removable-1394.png
+themes/tango/24x24/devices/gnome-dev-removable-usb.png
+themes/tango/24x24/devices/gnome-dev-removable.png
+themes/tango/24x24/devices/gnome-dev-wavelan.png
+themes/tango/24x24/devices/gnome-fs-client.png
+themes/tango/24x24/devices/gnome-stock-mic.png
+themes/tango/24x24/devices/gtk-cdrom.png
+themes/tango/24x24/devices/gtk-floppy.png
+themes/tango/24x24/devices/gtk-harddisk.png
+themes/tango/24x24/devices/harddrive.png
+themes/tango/24x24/devices/hdd_unmount.png
+themes/tango/24x24/devices/input-gaming.png
+themes/tango/24x24/devices/input-keyboard.png
+themes/tango/24x24/devices/input-mouse.png
+themes/tango/24x24/devices/ipod_mount.png
+themes/tango/24x24/devices/joystick.png
+themes/tango/24x24/devices/keyboard.png
+themes/tango/24x24/devices/kjobviewer.png
+themes/tango/24x24/devices/kxkb.png
+themes/tango/24x24/devices/media-cdrom.png
+themes/tango/24x24/devices/media-flash.png
+themes/tango/24x24/devices/media-floppy.png
+themes/tango/24x24/devices/media-optical.png
+themes/tango/24x24/devices/mouse.png
+themes/tango/24x24/devices/multimedia-player.png
+themes/tango/24x24/devices/network-wired.png
+themes/tango/24x24/devices/network-wireless.png
+themes/tango/24x24/devices/printer-remote.png
+themes/tango/24x24/devices/printer.png
+themes/tango/24x24/devices/printer1.png
+themes/tango/24x24/devices/printmgr.png
+themes/tango/24x24/devices/stock_mic.png
+themes/tango/24x24/devices/stock_printers.png
+themes/tango/24x24/devices/system-floppy.png
+themes/tango/24x24/devices/system.png
+themes/tango/24x24/devices/usbpendrive_unmount.png
+themes/tango/24x24/devices/video-display.png
+themes/tango/24x24/devices/xfce-printer.png
+themes/tango/24x24/devices/xfce4-display.png
+themes/tango/24x24/devices/xfce4-keyboard.png
+themes/tango/24x24/devices/xfce4-mouse.png
+themes/tango/24x24/devices/yast_HD.png
+themes/tango/24x24/devices/yast_idetude.png
+themes/tango/24x24/devices/yast_joystick.png
+themes/tango/24x24/devices/yast_mouse.png
+themes/tango/24x24/devices/yast_printer.png
+themes/tango/24x24/devices/yast_soundcard.png
+themes/tango/24x24/emblems/emblem-favorite.png
+themes/tango/24x24/emblems/emblem-important.png
+themes/tango/24x24/emblems/emblem-noread.png
+themes/tango/24x24/emblems/emblem-nowrite.png
+themes/tango/24x24/emblems/emblem-photos.png
+themes/tango/24x24/emblems/emblem-readonly.png
+themes/tango/24x24/emblems/emblem-symbolic-link.png
+themes/tango/24x24/emblems/emblem-system.png
+themes/tango/24x24/emblems/emblem-unreadable.png
+themes/tango/24x24/emotes/face-angel.png
+themes/tango/24x24/emotes/face-crying.png
+themes/tango/24x24/emotes/face-devilish.png
+themes/tango/24x24/emotes/face-glasses.png
+themes/tango/24x24/emotes/face-grin.png
+themes/tango/24x24/emotes/face-kiss.png
+themes/tango/24x24/emotes/face-monkey.png
+themes/tango/24x24/emotes/face-plain.png
+themes/tango/24x24/emotes/face-sad.png
+themes/tango/24x24/emotes/face-smile-big.png
+themes/tango/24x24/emotes/face-smile.png
+themes/tango/24x24/emotes/face-surprise.png
+themes/tango/24x24/emotes/face-wink.png
+themes/tango/24x24/emotes/stock_smiley-1.png
+themes/tango/24x24/emotes/stock_smiley-11.png
+themes/tango/24x24/emotes/stock_smiley-13.png
+themes/tango/24x24/emotes/stock_smiley-18.png
+themes/tango/24x24/emotes/stock_smiley-2.png
+themes/tango/24x24/emotes/stock_smiley-22.png
+themes/tango/24x24/emotes/stock_smiley-3.png
+themes/tango/24x24/emotes/stock_smiley-4.png
+themes/tango/24x24/emotes/stock_smiley-5.png
+themes/tango/24x24/emotes/stock_smiley-6.png
+themes/tango/24x24/emotes/stock_smiley-7.png
+themes/tango/24x24/emotes/stock_smiley-8.png
+themes/tango/24x24/mimetypes/application-certificate.png
+themes/tango/24x24/mimetypes/application-vnd.ms-excel.sheet.macroEnabled.12.png
+themes/tango/24x24/mimetypes/application-vnd.ms-powerpoint.presentation.macroEnabled.12.png
+themes/tango/24x24/mimetypes/application-vnd.ms-word.document.macroEnabled.12.png
+themes/tango/24x24/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.presentation.png
+themes/tango/24x24/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.template.png
+themes/tango/24x24/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.sheet.png
+themes/tango/24x24/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.template.png
+themes/tango/24x24/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.document.png
+themes/tango/24x24/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.template.png
+themes/tango/24x24/mimetypes/application-x-executable.png
+themes/tango/24x24/mimetypes/ascii.png
+themes/tango/24x24/mimetypes/audio-x-generic.png
+themes/tango/24x24/mimetypes/binary.png
+themes/tango/24x24/mimetypes/contents2.png
+themes/tango/24x24/mimetypes/deb.png
+themes/tango/24x24/mimetypes/document.png
+themes/tango/24x24/mimetypes/empty.png
+themes/tango/24x24/mimetypes/exec.png
+themes/tango/24x24/mimetypes/folder_tar.png
+themes/tango/24x24/mimetypes/font-x-generic.png
+themes/tango/24x24/mimetypes/font.png
+themes/tango/24x24/mimetypes/font_bitmap.png
+themes/tango/24x24/mimetypes/font_truetype.png
+themes/tango/24x24/mimetypes/font_type1.png
+themes/tango/24x24/mimetypes/gnome-fs-executable.png
+themes/tango/24x24/mimetypes/gnome-mime-application-magicpoint.png
+themes/tango/24x24/mimetypes/gnome-mime-application-msword.png
+themes/tango/24x24/mimetypes/gnome-mime-application-ogg.png
+themes/tango/24x24/mimetypes/gnome-mime-application-pdf.png
+themes/tango/24x24/mimetypes/gnome-mime-application-postscript.png
+themes/tango/24x24/mimetypes/gnome-mime-application-rtf.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.lotus-1-2-3.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.ms-excel.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.ms-powerpoint.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics-template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.image.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation-template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet-template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-web.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.rn-realmedia-secure.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.rn-realmedia-vbr.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.rn-realmedia.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.stardivision.calc.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.stardivision.impress.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.stardivision.writer.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.calc.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.calc.template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.draw.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.draw.template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.impress.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.impress.template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.writer.png
+themes/tango/24x24/mimetypes/gnome-mime-application-vnd.sun.xml.writer.template.png
+themes/tango/24x24/mimetypes/gnome-mime-application-wordperfect.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-7z-compressed.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-abiword.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-applix-spreadsheet.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-applix-word.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-archive.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-arj.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-bzip-compressed-tar.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-bzip.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-compress.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-compressed-tar.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-cpio-compressed.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-cpio.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-deb.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-dvi.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-executable.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-font-afm.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-font-bdf.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-font-linux-psf.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-font-pcf.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-font-sunos-news.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-font-ttf.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-gnumeric.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-gzip.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-gzpostscript.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-jar.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-killustrator.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-kpresenter.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-kspread.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-kword.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-lha.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-lhz.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-lzma-compressed-tar.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-lzma.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-ms-dos-executable.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-perl.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-php.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-python-bytecode.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-rar.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-rpm.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-scribus.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-shellscript.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-shockwave-flash.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-stuffit.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-tar.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-tarz.png
+themes/tango/24x24/mimetypes/gnome-mime-application-x-tex.png
+themes/tango/24x24/mimetypes/gnome-mime-application-xhtml+xml.png
+themes/tango/24x24/mimetypes/gnome-mime-application-zip.png
+themes/tango/24x24/mimetypes/gnome-mime-audio.png
+themes/tango/24x24/mimetypes/gnome-mime-image.png
+themes/tango/24x24/mimetypes/gnome-mime-text-html.png
+themes/tango/24x24/mimetypes/gnome-mime-text-vnd.wap.wml.png
+themes/tango/24x24/mimetypes/gnome-mime-text-x-csh.png
+themes/tango/24x24/mimetypes/gnome-mime-text-x-python.png
+themes/tango/24x24/mimetypes/gnome-mime-text-x-sh.png
+themes/tango/24x24/mimetypes/gnome-mime-text-x-vcalendar.png
+themes/tango/24x24/mimetypes/gnome-mime-text-x-vcard.png
+themes/tango/24x24/mimetypes/gnome-mime-text-x-zsh.png
+themes/tango/24x24/mimetypes/gnome-mime-text.png
+themes/tango/24x24/mimetypes/gnome-mime-video.png
+themes/tango/24x24/mimetypes/gnome-mime-x-font-afm.png
+themes/tango/24x24/mimetypes/gnome-package.png
+themes/tango/24x24/mimetypes/html.png
+themes/tango/24x24/mimetypes/image-x-generic.png
+themes/tango/24x24/mimetypes/image.png
+themes/tango/24x24/mimetypes/kpresenter_kpr.png
+themes/tango/24x24/mimetypes/mime_ascii.png
+themes/tango/24x24/mimetypes/misc.png
+themes/tango/24x24/mimetypes/package-x-generic.png
+themes/tango/24x24/mimetypes/package.png
+themes/tango/24x24/mimetypes/package_editors.png
+themes/tango/24x24/mimetypes/package_wordprocessing.png
+themes/tango/24x24/mimetypes/plan.png
+themes/tango/24x24/mimetypes/rpm.png
+themes/tango/24x24/mimetypes/shellscript.png
+themes/tango/24x24/mimetypes/sound.png
+themes/tango/24x24/mimetypes/spreadsheet.png
+themes/tango/24x24/mimetypes/stock_addressbook.png
+themes/tango/24x24/mimetypes/stock_calendar.png
+themes/tango/24x24/mimetypes/stock_certificate.png
+themes/tango/24x24/mimetypes/stock_script.png
+themes/tango/24x24/mimetypes/tar.png
+themes/tango/24x24/mimetypes/template_source.png
+themes/tango/24x24/mimetypes/text-html.png
+themes/tango/24x24/mimetypes/text-x-generic-template.png
+themes/tango/24x24/mimetypes/text-x-generic.png
+themes/tango/24x24/mimetypes/text-x-script.png
+themes/tango/24x24/mimetypes/tgz.png
+themes/tango/24x24/mimetypes/txt.png
+themes/tango/24x24/mimetypes/txt2.png
+themes/tango/24x24/mimetypes/unknown.png
+themes/tango/24x24/mimetypes/vcalendar.png
+themes/tango/24x24/mimetypes/vcard.png
+themes/tango/24x24/mimetypes/video-x-generic.png
+themes/tango/24x24/mimetypes/video.png
+themes/tango/24x24/mimetypes/wordprocessing.png
+themes/tango/24x24/mimetypes/www.png
+themes/tango/24x24/mimetypes/x-office-address-book.png
+themes/tango/24x24/mimetypes/x-office-calendar.png
+themes/tango/24x24/mimetypes/x-office-document-template.png
+themes/tango/24x24/mimetypes/x-office-document.png
+themes/tango/24x24/mimetypes/x-office-drawing-template.png
+themes/tango/24x24/mimetypes/x-office-drawing.png
+themes/tango/24x24/mimetypes/x-office-presentation-template.png
+themes/tango/24x24/mimetypes/x-office-presentation.png
+themes/tango/24x24/mimetypes/x-office-spreadsheet-template.png
+themes/tango/24x24/mimetypes/x-office-spreadsheet.png
+themes/tango/24x24/mimetypes/zip.png
+themes/tango/24x24/places/application-x-gnome-saved-search.png
+themes/tango/24x24/places/desktop.png
+themes/tango/24x24/places/distributor-logo.png
+themes/tango/24x24/places/emptytrash.png
+themes/tango/24x24/places/folder-remote.png
+themes/tango/24x24/places/folder-saved-search.png
+themes/tango/24x24/places/folder.png
+themes/tango/24x24/places/folder_home.png
+themes/tango/24x24/places/gnome-fs-desktop.png
+themes/tango/24x24/places/gnome-fs-directory.png
+themes/tango/24x24/places/gnome-fs-ftp.png
+themes/tango/24x24/places/gnome-fs-home.png
+themes/tango/24x24/places/gnome-fs-network.png
+themes/tango/24x24/places/gnome-fs-nfs.png
+themes/tango/24x24/places/gnome-fs-server.png
+themes/tango/24x24/places/gnome-fs-share.png
+themes/tango/24x24/places/gnome-fs-smb.png
+themes/tango/24x24/places/gnome-fs-ssh.png
+themes/tango/24x24/places/gnome-fs-trash-empty.png
+themes/tango/24x24/places/gnome-main-menu.png
+themes/tango/24x24/places/gnome-mime-x-directory-nfs-server.png
+themes/tango/24x24/places/gnome-mime-x-directory-smb-server.png
+themes/tango/24x24/places/gnome-mime-x-directory-smb-share.png
+themes/tango/24x24/places/gnome-mime-x-directory-smb-workgroup.png
+themes/tango/24x24/places/gnome-stock-trash.png
+themes/tango/24x24/places/gtk-directory.png
+themes/tango/24x24/places/gtk-network.png
+themes/tango/24x24/places/inode-directory.png
+themes/tango/24x24/places/network-server.png
+themes/tango/24x24/places/network-workgroup.png
+themes/tango/24x24/places/network.png
+themes/tango/24x24/places/network_local.png
+themes/tango/24x24/places/novell-button.png
+themes/tango/24x24/places/redhat-network-server.png
+themes/tango/24x24/places/server.png
+themes/tango/24x24/places/start-here.png
+themes/tango/24x24/places/stock_folder.png
+themes/tango/24x24/places/trashcan_empty.png
+themes/tango/24x24/places/user-desktop.png
+themes/tango/24x24/places/user-home.png
+themes/tango/24x24/places/user-trash.png
+themes/tango/24x24/places/xfce-trash_empty.png
+themes/tango/24x24/status/audio-volume-high.png
+themes/tango/24x24/status/audio-volume-low.png
+themes/tango/24x24/status/audio-volume-medium.png
+themes/tango/24x24/status/audio-volume-muted.png
+themes/tango/24x24/status/battery-caution.png
+themes/tango/24x24/status/connect_creating.png
+themes/tango/24x24/status/connect_established.png
+themes/tango/24x24/status/connect_no.png
+themes/tango/24x24/status/dialog-error.png
+themes/tango/24x24/status/dialog-information.png
+themes/tango/24x24/status/dialog-warning.png
+themes/tango/24x24/status/edittrash.png
+themes/tango/24x24/status/error.png
+themes/tango/24x24/status/folder-drag-accept.png
+themes/tango/24x24/status/folder-open.png
+themes/tango/24x24/status/folder-visiting.png
+themes/tango/24x24/status/folder_open.png
+themes/tango/24x24/status/gnome-dev-wavelan-encrypted.png
+themes/tango/24x24/status/gnome-fs-directory-accept.png
+themes/tango/24x24/status/gnome-fs-directory-visiting.png
+themes/tango/24x24/status/gnome-fs-loading-icon.png
+themes/tango/24x24/status/gnome-fs-trash-full.png
+themes/tango/24x24/status/gnome-netstatus-disconn.png
+themes/tango/24x24/status/gnome-netstatus-error.png
+themes/tango/24x24/status/gnome-netstatus-idle.png
+themes/tango/24x24/status/gnome-netstatus-rx.png
+themes/tango/24x24/status/gnome-netstatus-tx.png
+themes/tango/24x24/status/gnome-netstatus-txrx.png
+themes/tango/24x24/status/gnome-stock-trash-full.png
+themes/tango/24x24/status/gtk-dialog-error.png
+themes/tango/24x24/status/gtk-dialog-info.png
+themes/tango/24x24/status/gtk-dialog-warning.png
+themes/tango/24x24/status/gtk-missing-image.png
+themes/tango/24x24/status/image-loading.png
+themes/tango/24x24/status/image-missing.png
+themes/tango/24x24/status/important.png
+themes/tango/24x24/status/info.png
+themes/tango/24x24/status/mail-attachment.png
+themes/tango/24x24/status/messagebox_critical.png
+themes/tango/24x24/status/messagebox_info.png
+themes/tango/24x24/status/messagebox_warning.png
+themes/tango/24x24/status/network-error.png
+themes/tango/24x24/status/network-idle.png
+themes/tango/24x24/status/network-offline.png
+themes/tango/24x24/status/network-receive.png
+themes/tango/24x24/status/network-transmit-receive.png
+themes/tango/24x24/status/network-transmit.png
+themes/tango/24x24/status/network-wireless-encrypted.png
+themes/tango/24x24/status/nm-adhoc.png
+themes/tango/24x24/status/nm-device-wired.png
+themes/tango/24x24/status/nm-device-wireless.png
+themes/tango/24x24/status/nm-no-connection.png
+themes/tango/24x24/status/printer-error.png
+themes/tango/24x24/status/software-update-available.png
+themes/tango/24x24/status/software-update-urgent.png
+themes/tango/24x24/status/stock_attach.png
+themes/tango/24x24/status/stock_dialog-error.png
+themes/tango/24x24/status/stock_dialog-info.png
+themes/tango/24x24/status/stock_dialog-warning.png
+themes/tango/24x24/status/stock_open.png
+themes/tango/24x24/status/stock_trash_full.png
+themes/tango/24x24/status/stock_volume-0.png
+themes/tango/24x24/status/stock_volume-max.png
+themes/tango/24x24/status/stock_volume-med.png
+themes/tango/24x24/status/stock_volume-min.png
+themes/tango/24x24/status/stock_volume-mute.png
+themes/tango/24x24/status/stock_volume.png
+themes/tango/24x24/status/stock_weather-cloudy.png
+themes/tango/24x24/status/stock_weather-few-clouds.png
+themes/tango/24x24/status/stock_weather-night-clear.png
+themes/tango/24x24/status/stock_weather-night-few-clouds.png
+themes/tango/24x24/status/stock_weather-showers.png
+themes/tango/24x24/status/stock_weather-snow.png
+themes/tango/24x24/status/stock_weather-storm.png
+themes/tango/24x24/status/stock_weather-sunny.png
+themes/tango/24x24/status/sunny.png
+themes/tango/24x24/status/trashcan_full.png
+themes/tango/24x24/status/user-trash-full.png
+themes/tango/24x24/status/weather-clear-night.png
+themes/tango/24x24/status/weather-clear.png
+themes/tango/24x24/status/weather-few-clouds-night.png
+themes/tango/24x24/status/weather-few-clouds.png
+themes/tango/24x24/status/weather-overcast.png
+themes/tango/24x24/status/weather-severe-alert.png
+themes/tango/24x24/status/weather-showers-scattered.png
+themes/tango/24x24/status/weather-showers.png
+themes/tango/24x24/status/weather-snow.png
+themes/tango/24x24/status/weather-storm.png
+themes/tango/24x24/status/xfce-trash_full.png
+themes/tango/32x32/actions/add.png
+themes/tango/32x32/actions/address-book-new.png
+themes/tango/32x32/actions/appointment-new.png
+themes/tango/32x32/actions/appointment.png
+themes/tango/32x32/actions/back.png
+themes/tango/32x32/actions/bookmark-new.png
+themes/tango/32x32/actions/bookmark_add.png
+themes/tango/32x32/actions/bookmarks_list_add.png
+themes/tango/32x32/actions/bottom.png
+themes/tango/32x32/actions/centrejust.png
+themes/tango/32x32/actions/contact-new.png
+themes/tango/32x32/actions/document-new.png
+themes/tango/32x32/actions/document-open.png
+themes/tango/32x32/actions/document-print-preview.png
+themes/tango/32x32/actions/document-print.png
+themes/tango/32x32/actions/document-properties.png
+themes/tango/32x32/actions/document-save-as.png
+themes/tango/32x32/actions/document-save.png
+themes/tango/32x32/actions/down.png
+themes/tango/32x32/actions/edit-clear.png
+themes/tango/32x32/actions/edit-copy.png
+themes/tango/32x32/actions/edit-cut.png
+themes/tango/32x32/actions/edit-delete.png
+themes/tango/32x32/actions/edit-find-replace.png
+themes/tango/32x32/actions/edit-find.png
+themes/tango/32x32/actions/edit-paste.png
+themes/tango/32x32/actions/edit-redo.png
+themes/tango/32x32/actions/edit-select-all.png
+themes/tango/32x32/actions/edit-undo.png
+themes/tango/32x32/actions/editclear.png
+themes/tango/32x32/actions/editcopy.png
+themes/tango/32x32/actions/editcut.png
+themes/tango/32x32/actions/editdelete.png
+themes/tango/32x32/actions/editpaste.png
+themes/tango/32x32/actions/exit.png
+themes/tango/32x32/actions/filefind.png
+themes/tango/32x32/actions/filenew.png
+themes/tango/32x32/actions/fileopen.png
+themes/tango/32x32/actions/fileprint.png
+themes/tango/32x32/actions/filequickprint.png
+themes/tango/32x32/actions/filesave.png
+themes/tango/32x32/actions/filesaveas.png
+themes/tango/32x32/actions/find.png
+themes/tango/32x32/actions/finish.png
+themes/tango/32x32/actions/folder-new.png
+themes/tango/32x32/actions/folder_new.png
+themes/tango/32x32/actions/format-indent-less.png
+themes/tango/32x32/actions/format-indent-more.png
+themes/tango/32x32/actions/format-justify-center.png
+themes/tango/32x32/actions/format-justify-fill.png
+themes/tango/32x32/actions/format-justify-left.png
+themes/tango/32x32/actions/format-justify-right.png
+themes/tango/32x32/actions/format-text-bold.png
+themes/tango/32x32/actions/format-text-italic.png
+themes/tango/32x32/actions/format-text-strikethrough.png
+themes/tango/32x32/actions/format-text-underline.png
+themes/tango/32x32/actions/forward.png
+themes/tango/32x32/actions/gnome-lockscreen.png
+themes/tango/32x32/actions/gnome-logout.png
+themes/tango/32x32/actions/gnome-searchtool.png
+themes/tango/32x32/actions/gnome-shutdown.png
+themes/tango/32x32/actions/gnome-stock-mail-fwd.png
+themes/tango/32x32/actions/gnome-stock-mail-new.png
+themes/tango/32x32/actions/gnome-stock-mail-rpl.png
+themes/tango/32x32/actions/gnome-stock-text-indent.png
+themes/tango/32x32/actions/gnome-stock-text-unindent.png
+themes/tango/32x32/actions/go-bottom.png
+themes/tango/32x32/actions/go-down.png
+themes/tango/32x32/actions/go-first.png
+themes/tango/32x32/actions/go-home.png
+themes/tango/32x32/actions/go-jump.png
+themes/tango/32x32/actions/go-last.png
+themes/tango/32x32/actions/go-next.png
+themes/tango/32x32/actions/go-previous.png
+themes/tango/32x32/actions/go-top.png
+themes/tango/32x32/actions/go-up.png
+themes/tango/32x32/actions/gohome.png
+themes/tango/32x32/actions/gtk-add.png
+themes/tango/32x32/actions/gtk-bold.png
+themes/tango/32x32/actions/gtk-cancel.png
+themes/tango/32x32/actions/gtk-clear.png
+themes/tango/32x32/actions/gtk-copy.png
+themes/tango/32x32/actions/gtk-cut.png
+themes/tango/32x32/actions/gtk-delete.png
+themes/tango/32x32/actions/gtk-find-and-replace.png
+themes/tango/32x32/actions/gtk-find.png
+themes/tango/32x32/actions/gtk-fullscreen.png
+themes/tango/32x32/actions/gtk-go-back-ltr.png
+themes/tango/32x32/actions/gtk-go-back-rtl.png
+themes/tango/32x32/actions/gtk-go-down.png
+themes/tango/32x32/actions/gtk-go-forward-ltr.png
+themes/tango/32x32/actions/gtk-go-forward-rtl.png
+themes/tango/32x32/actions/gtk-go-up.png
+themes/tango/32x32/actions/gtk-goto-bottom.png
+themes/tango/32x32/actions/gtk-goto-first-ltr.png
+themes/tango/32x32/actions/gtk-goto-first-rtl.png
+themes/tango/32x32/actions/gtk-goto-last-ltr.png
+themes/tango/32x32/actions/gtk-goto-last-rtl.png
+themes/tango/32x32/actions/gtk-goto-top.png
+themes/tango/32x32/actions/gtk-home.png
+themes/tango/32x32/actions/gtk-indent-ltr.png
+themes/tango/32x32/actions/gtk-indent-rtl.png
+themes/tango/32x32/actions/gtk-italic.png
+themes/tango/32x32/actions/gtk-jump-to-ltr.png
+themes/tango/32x32/actions/gtk-jump-to-rtl.png
+themes/tango/32x32/actions/gtk-justify-center.png
+themes/tango/32x32/actions/gtk-justify-fill.png
+themes/tango/32x32/actions/gtk-justify-left.png
+themes/tango/32x32/actions/gtk-justify-right.png
+themes/tango/32x32/actions/gtk-media-forward-ltr.png
+themes/tango/32x32/actions/gtk-media-forward-rtl.png
+themes/tango/32x32/actions/gtk-media-next-ltr.png
+themes/tango/32x32/actions/gtk-media-next-rtl.png
+themes/tango/32x32/actions/gtk-media-pause.png
+themes/tango/32x32/actions/gtk-media-play-ltr.png
+themes/tango/32x32/actions/gtk-media-previous-ltr.png
+themes/tango/32x32/actions/gtk-media-previous-rtl.png
+themes/tango/32x32/actions/gtk-media-record.png
+themes/tango/32x32/actions/gtk-media-rewind-ltr.png
+themes/tango/32x32/actions/gtk-media-rewind-rtl.png
+themes/tango/32x32/actions/gtk-media-stop.png
+themes/tango/32x32/actions/gtk-new.png
+themes/tango/32x32/actions/gtk-open.png
+themes/tango/32x32/actions/gtk-paste.png
+themes/tango/32x32/actions/gtk-print-preview.png
+themes/tango/32x32/actions/gtk-print.png
+themes/tango/32x32/actions/gtk-properties.png
+themes/tango/32x32/actions/gtk-redo-ltr.png
+themes/tango/32x32/actions/gtk-refresh.png
+themes/tango/32x32/actions/gtk-remove.png
+themes/tango/32x32/actions/gtk-save-as.png
+themes/tango/32x32/actions/gtk-save.png
+themes/tango/32x32/actions/gtk-select-all.png
+themes/tango/32x32/actions/gtk-stop.png
+themes/tango/32x32/actions/gtk-strikethrough.png
+themes/tango/32x32/actions/gtk-underline.png
+themes/tango/32x32/actions/gtk-undo-ltr.png
+themes/tango/32x32/actions/gtk-unindent-ltr.png
+themes/tango/32x32/actions/gtk-unindent-rtl.png
+themes/tango/32x32/actions/kfind.png
+themes/tango/32x32/actions/kfm_home.png
+themes/tango/32x32/actions/leftjust.png
+themes/tango/32x32/actions/list-add.png
+themes/tango/32x32/actions/list-remove.png
+themes/tango/32x32/actions/lock.png
+themes/tango/32x32/actions/mail-forward.png
+themes/tango/32x32/actions/mail-mark-junk.png
+themes/tango/32x32/actions/mail-mark-not-junk.png
+themes/tango/32x32/actions/mail-message-new.png
+themes/tango/32x32/actions/mail-reply-all.png
+themes/tango/32x32/actions/mail-reply-sender.png
+themes/tango/32x32/actions/mail-send-receive.png
+themes/tango/32x32/actions/mail_forward.png
+themes/tango/32x32/actions/mail_new.png
+themes/tango/32x32/actions/mail_reply.png
+themes/tango/32x32/actions/mail_replyall.png
+themes/tango/32x32/actions/mail_spam.png
+themes/tango/32x32/actions/media-eject.png
+themes/tango/32x32/actions/media-playback-pause.png
+themes/tango/32x32/actions/media-playback-start.png
+themes/tango/32x32/actions/media-playback-stop.png
+themes/tango/32x32/actions/media-record.png
+themes/tango/32x32/actions/media-seek-backward.png
+themes/tango/32x32/actions/media-seek-forward.png
+themes/tango/32x32/actions/media-skip-backward.png
+themes/tango/32x32/actions/media-skip-forward.png
+themes/tango/32x32/actions/next.png
+themes/tango/32x32/actions/player_eject.png
+themes/tango/32x32/actions/player_end.png
+themes/tango/32x32/actions/player_fwd.png
+themes/tango/32x32/actions/player_pause.png
+themes/tango/32x32/actions/player_play.png
+themes/tango/32x32/actions/player_record.png
+themes/tango/32x32/actions/player_rew.png
+themes/tango/32x32/actions/player_start.png
+themes/tango/32x32/actions/player_stop.png
+themes/tango/32x32/actions/previous.png
+themes/tango/32x32/actions/process-stop.png
+themes/tango/32x32/actions/redhat-home.png
+themes/tango/32x32/actions/redo.png
+themes/tango/32x32/actions/reload.png
+themes/tango/32x32/actions/reload3.png
+themes/tango/32x32/actions/reload_all_tabs.png
+themes/tango/32x32/actions/reload_page.png
+themes/tango/32x32/actions/remove.png
+themes/tango/32x32/actions/rightjust.png
+themes/tango/32x32/actions/search.png
+themes/tango/32x32/actions/start.png
+themes/tango/32x32/actions/stock_add-bookmark.png
+themes/tango/32x32/actions/stock_bottom.png
+themes/tango/32x32/actions/stock_copy.png
+themes/tango/32x32/actions/stock_cut.png
+themes/tango/32x32/actions/stock_delete.png
+themes/tango/32x32/actions/stock_down.png
+themes/tango/32x32/actions/stock_file-properites.png
+themes/tango/32x32/actions/stock_first.png
+themes/tango/32x32/actions/stock_fullscreen.png
+themes/tango/32x32/actions/stock_help-add-bookmark.png
+themes/tango/32x32/actions/stock_home.png
+themes/tango/32x32/actions/stock_last.png
+themes/tango/32x32/actions/stock_left.png
+themes/tango/32x32/actions/stock_mail-compose.png
+themes/tango/32x32/actions/stock_mail-forward.png
+themes/tango/32x32/actions/stock_mail-reply-to-all.png
+themes/tango/32x32/actions/stock_mail-reply.png
+themes/tango/32x32/actions/stock_mail-send-receive.png
+themes/tango/32x32/actions/stock_media-fwd.png
+themes/tango/32x32/actions/stock_media-next.png
+themes/tango/32x32/actions/stock_media-pause.png
+themes/tango/32x32/actions/stock_media-play.png
+themes/tango/32x32/actions/stock_media-prev.png
+themes/tango/32x32/actions/stock_media-rec.png
+themes/tango/32x32/actions/stock_media-rew.png
+themes/tango/32x32/actions/stock_media-stop.png
+themes/tango/32x32/actions/stock_new-address-book.png
+themes/tango/32x32/actions/stock_new-appointment.png
+themes/tango/32x32/actions/stock_new-bcard.png
+themes/tango/32x32/actions/stock_new-dir.png
+themes/tango/32x32/actions/stock_new-tab.png
+themes/tango/32x32/actions/stock_new-text.png
+themes/tango/32x32/actions/stock_new-window.png
+themes/tango/32x32/actions/stock_not-spam.png
+themes/tango/32x32/actions/stock_paste.png
+themes/tango/32x32/actions/stock_print-preview.png
+themes/tango/32x32/actions/stock_print.png
+themes/tango/32x32/actions/stock_properties.png
+themes/tango/32x32/actions/stock_redo.png
+themes/tango/32x32/actions/stock_refresh.png
+themes/tango/32x32/actions/stock_right.png
+themes/tango/32x32/actions/stock_save-as.png
+themes/tango/32x32/actions/stock_save.png
+themes/tango/32x32/actions/stock_search-and-replace.png
+themes/tango/32x32/actions/stock_search.png
+themes/tango/32x32/actions/stock_select-all.png
+themes/tango/32x32/actions/stock_spam.png
+themes/tango/32x32/actions/stock_stop.png
+themes/tango/32x32/actions/stock_text-strikethrough.png
+themes/tango/32x32/actions/stock_text_bold.png
+themes/tango/32x32/actions/stock_text_center.png
+themes/tango/32x32/actions/stock_text_indent.png
+themes/tango/32x32/actions/stock_text_italic.png
+themes/tango/32x32/actions/stock_text_justify.png
+themes/tango/32x32/actions/stock_text_left.png
+themes/tango/32x32/actions/stock_text_right.png
+themes/tango/32x32/actions/stock_text_underlined.png
+themes/tango/32x32/actions/stock_text_unindent.png
+themes/tango/32x32/actions/stock_top.png
+themes/tango/32x32/actions/stock_undo.png
+themes/tango/32x32/actions/stock_up.png
+themes/tango/32x32/actions/stop.png
+themes/tango/32x32/actions/system-lock-screen.png
+themes/tango/32x32/actions/system-log-out.png
+themes/tango/32x32/actions/system-search.png
+themes/tango/32x32/actions/system-shutdown.png
+themes/tango/32x32/actions/tab-new.png
+themes/tango/32x32/actions/tab_new.png
+themes/tango/32x32/actions/text_bold.png
+themes/tango/32x32/actions/text_italic.png
+themes/tango/32x32/actions/text_strike.png
+themes/tango/32x32/actions/text_under.png
+themes/tango/32x32/actions/top.png
+themes/tango/32x32/actions/undo.png
+themes/tango/32x32/actions/up.png
+themes/tango/32x32/actions/view-fullscreen.png
+themes/tango/32x32/actions/view-refresh.png
+themes/tango/32x32/actions/window-new.png
+themes/tango/32x32/actions/window_fullscreen.png
+themes/tango/32x32/actions/window_new.png
+themes/tango/32x32/actions/xfce-system-lock.png
+themes/tango/32x32/animations/gnome-spinner.png
+themes/tango/32x32/animations/process-working.png
+themes/tango/32x32/apps/access.png
+themes/tango/32x32/apps/accessibility-directory.png
+themes/tango/32x32/apps/accessories-calculator.png
+themes/tango/32x32/apps/accessories-character-map.png
+themes/tango/32x32/apps/accessories-text-editor.png
+themes/tango/32x32/apps/background.png
+themes/tango/32x32/apps/browser.png
+themes/tango/32x32/apps/calc.png
+themes/tango/32x32/apps/config-language.png
+themes/tango/32x32/apps/config-users.png
+themes/tango/32x32/apps/date.png
+themes/tango/32x32/apps/email.png
+themes/tango/32x32/apps/file-manager.png
+themes/tango/32x32/apps/fonts.png
+themes/tango/32x32/apps/gnome-calculator.png
+themes/tango/32x32/apps/gnome-character-map.png
+themes/tango/32x32/apps/gnome-help.png
+themes/tango/32x32/apps/gnome-monitor.png
+themes/tango/32x32/apps/gnome-remote-desktop.png
+themes/tango/32x32/apps/gnome-session.png
+themes/tango/32x32/apps/gnome-settings-accessibility-technologies.png
+themes/tango/32x32/apps/gnome-settings-background.png
+themes/tango/32x32/apps/gnome-settings-font.png
+themes/tango/32x32/apps/gnome-settings-keybindings.png
+themes/tango/32x32/apps/gnome-settings-theme.png
+themes/tango/32x32/apps/gnome-terminal.png
+themes/tango/32x32/apps/gnome-window-manager.png
+themes/tango/32x32/apps/gucharmap.png
+themes/tango/32x32/apps/help-browser.png
+themes/tango/32x32/apps/internet-group-chat.png
+themes/tango/32x32/apps/internet-mail.png
+themes/tango/32x32/apps/internet-news-reader.png
+themes/tango/32x32/apps/internet-web-browser.png
+themes/tango/32x32/apps/kcalc.png
+themes/tango/32x32/apps/kcharselect.png
+themes/tango/32x32/apps/kcmkwm.png
+themes/tango/32x32/apps/kedit.png
+themes/tango/32x32/apps/key_bindings.png
+themes/tango/32x32/apps/kfm.png
+themes/tango/32x32/apps/khelpcenter.png
+themes/tango/32x32/apps/konsole.png
+themes/tango/32x32/apps/krfb.png
+themes/tango/32x32/apps/kscreensaver.png
+themes/tango/32x32/apps/ksysguard.png
+themes/tango/32x32/apps/kuser.png
+themes/tango/32x32/apps/kwin.png
+themes/tango/32x32/apps/locale.png
+themes/tango/32x32/apps/mail_generic.png
+themes/tango/32x32/apps/office-calendar.png
+themes/tango/32x32/apps/openterm.png
+themes/tango/32x32/apps/preferences-desktop-accessibility.png
+themes/tango/32x32/apps/preferences-desktop-assistive-technology.png
+themes/tango/32x32/apps/preferences-desktop-font.png
+themes/tango/32x32/apps/preferences-desktop-keyboard-shortcuts.png
+themes/tango/32x32/apps/preferences-desktop-locale.png
+themes/tango/32x32/apps/preferences-desktop-multimedia.png
+themes/tango/32x32/apps/preferences-desktop-remote-desktop.png
+themes/tango/32x32/apps/preferences-desktop-screensaver.png
+themes/tango/32x32/apps/preferences-desktop-theme.png
+themes/tango/32x32/apps/preferences-desktop-wallpaper.png
+themes/tango/32x32/apps/preferences-system-network-proxy.png
+themes/tango/32x32/apps/preferences-system-session.png
+themes/tango/32x32/apps/preferences-system-windows.png
+themes/tango/32x32/apps/proxy-config.png
+themes/tango/32x32/apps/proxy.png
+themes/tango/32x32/apps/redhat-email.png
+themes/tango/32x32/apps/redhat-filemanager.png
+themes/tango/32x32/apps/redhat-web-browser.png
+themes/tango/32x32/apps/screensaver.png
+themes/tango/32x32/apps/stock_proxy.png
+themes/tango/32x32/apps/style.png
+themes/tango/32x32/apps/susehelpcenter.png
+themes/tango/32x32/apps/system-config-users.png
+themes/tango/32x32/apps/system-file-manager.png
+themes/tango/32x32/apps/system-installer.png
+themes/tango/32x32/apps/system-software-update.png
+themes/tango/32x32/apps/system-users.png
+themes/tango/32x32/apps/terminal.png
+themes/tango/32x32/apps/text-editor.png
+themes/tango/32x32/apps/update-manager.png
+themes/tango/32x32/apps/utilities-system-monitor.png
+themes/tango/32x32/apps/utilities-terminal.png
+themes/tango/32x32/apps/wallpaper.png
+themes/tango/32x32/apps/web-browser.png
+themes/tango/32x32/apps/xfcalendar.png
+themes/tango/32x32/apps/xfce-filemanager.png
+themes/tango/32x32/apps/xfce-mail.png
+themes/tango/32x32/apps/xfce-terminal.png
+themes/tango/32x32/apps/xfce4-backdrop.png
+themes/tango/32x32/apps/xfce4-session.png
+themes/tango/32x32/apps/xfwm4.png
+themes/tango/32x32/apps/ximian-evolution-calendar.png
+themes/tango/32x32/apps/xscreensaver.png
+themes/tango/32x32/apps/zen-icon.png
+themes/tango/32x32/categories/applications-accessories.png
+themes/tango/32x32/categories/applications-development.png
+themes/tango/32x32/categories/applications-games.png
+themes/tango/32x32/categories/applications-graphics.png
+themes/tango/32x32/categories/applications-internet.png
+themes/tango/32x32/categories/applications-multimedia.png
+themes/tango/32x32/categories/applications-office.png
+themes/tango/32x32/categories/applications-other.png
+themes/tango/32x32/categories/applications-system.png
+themes/tango/32x32/categories/gnome-applications.png
+themes/tango/32x32/categories/gnome-control-center.png
+themes/tango/32x32/categories/gnome-devel.png
+themes/tango/32x32/categories/gnome-globe.png
+themes/tango/32x32/categories/gnome-graphics.png
+themes/tango/32x32/categories/gnome-joystick.png
+themes/tango/32x32/categories/gnome-multimedia.png
+themes/tango/32x32/categories/gnome-other.png
+themes/tango/32x32/categories/gnome-settings.png
+themes/tango/32x32/categories/gnome-system.png
+themes/tango/32x32/categories/gnome-util.png
+themes/tango/32x32/categories/gtk-preferences.png
+themes/tango/32x32/categories/input_devices_settings.png
+themes/tango/32x32/categories/kcontrol.png
+themes/tango/32x32/categories/package_development.png
+themes/tango/32x32/categories/package_games.png
+themes/tango/32x32/categories/package_graphics.png
+themes/tango/32x32/categories/package_multimedia.png
+themes/tango/32x32/categories/package_network.png
+themes/tango/32x32/categories/package_office.png
+themes/tango/32x32/categories/package_settings.png
+themes/tango/32x32/categories/package_system.png
+themes/tango/32x32/categories/package_utilities.png
+themes/tango/32x32/categories/preferences-desktop-peripherals.png
+themes/tango/32x32/categories/preferences-desktop.png
+themes/tango/32x32/categories/preferences-system.png
+themes/tango/32x32/categories/redhat-accessories.png
+themes/tango/32x32/categories/redhat-games.png
+themes/tango/32x32/categories/redhat-graphics.png
+themes/tango/32x32/categories/redhat-internet.png
+themes/tango/32x32/categories/redhat-office.png
+themes/tango/32x32/categories/redhat-preferences.png
+themes/tango/32x32/categories/redhat-programming.png
+themes/tango/32x32/categories/redhat-sound_video.png
+themes/tango/32x32/categories/redhat-system_settings.png
+themes/tango/32x32/categories/redhat-system_tools.png
+themes/tango/32x32/categories/stock_internet.png
+themes/tango/32x32/categories/xfce-games.png
+themes/tango/32x32/categories/xfce-graphics.png
+themes/tango/32x32/categories/xfce-internet.png
+themes/tango/32x32/categories/xfce-multimedia.png
+themes/tango/32x32/categories/xfce-office.png
+themes/tango/32x32/categories/xfce-system-settings.png
+themes/tango/32x32/categories/xfce-utils.png
+themes/tango/32x32/categories/xfce4-settings.png
+themes/tango/32x32/devices/3floppy_unmount.png
+themes/tango/32x32/devices/audio-card.png
+themes/tango/32x32/devices/audio-input-microphone.png
+themes/tango/32x32/devices/battery.png
+themes/tango/32x32/devices/camera-photo.png
+themes/tango/32x32/devices/camera-video.png
+themes/tango/32x32/devices/camera.png
+themes/tango/32x32/devices/camera_unmount.png
+themes/tango/32x32/devices/cdrom_unmount.png
+themes/tango/32x32/devices/cdwriter_unmount.png
+themes/tango/32x32/devices/chardevice.png
+themes/tango/32x32/devices/computer.png
+themes/tango/32x32/devices/display.png
+themes/tango/32x32/devices/drive-cdrom.png
+themes/tango/32x32/devices/drive-harddisk.png
+themes/tango/32x32/devices/drive-optical.png
+themes/tango/32x32/devices/drive-removable-media.png
+themes/tango/32x32/devices/dvd_unmount.png
+themes/tango/32x32/devices/gnome-dev-battery.png
+themes/tango/32x32/devices/gnome-dev-cdrom-audio.png
+themes/tango/32x32/devices/gnome-dev-cdrom.png
+themes/tango/32x32/devices/gnome-dev-computer.png
+themes/tango/32x32/devices/gnome-dev-disc-cdr.png
+themes/tango/32x32/devices/gnome-dev-disc-cdrw.png
+themes/tango/32x32/devices/gnome-dev-disc-dvdr-plus.png
+themes/tango/32x32/devices/gnome-dev-disc-dvdr.png
+themes/tango/32x32/devices/gnome-dev-disc-dvdram.png
+themes/tango/32x32/devices/gnome-dev-disc-dvdrom.png
+themes/tango/32x32/devices/gnome-dev-disc-dvdrw.png
+themes/tango/32x32/devices/gnome-dev-dvd.png
+themes/tango/32x32/devices/gnome-dev-ethernet.png
+themes/tango/32x32/devices/gnome-dev-floppy.png
+themes/tango/32x32/devices/gnome-dev-harddisk-1394.png
+themes/tango/32x32/devices/gnome-dev-harddisk-usb.png
+themes/tango/32x32/devices/gnome-dev-harddisk.png
+themes/tango/32x32/devices/gnome-dev-ipod.png
+themes/tango/32x32/devices/gnome-dev-keyboard.png
+themes/tango/32x32/devices/gnome-dev-media-cf.png
+themes/tango/32x32/devices/gnome-dev-media-ms.png
+themes/tango/32x32/devices/gnome-dev-media-sdmmc.png
+themes/tango/32x32/devices/gnome-dev-media-sm.png
+themes/tango/32x32/devices/gnome-dev-mouse-ball.png
+themes/tango/32x32/devices/gnome-dev-mouse-optical.png
+themes/tango/32x32/devices/gnome-dev-printer.png
+themes/tango/32x32/devices/gnome-dev-removable-1394.png
+themes/tango/32x32/devices/gnome-dev-removable-usb.png
+themes/tango/32x32/devices/gnome-dev-removable.png
+themes/tango/32x32/devices/gnome-dev-wavelan.png
+themes/tango/32x32/devices/gnome-fs-client.png
+themes/tango/32x32/devices/gnome-stock-mic.png
+themes/tango/32x32/devices/gtk-cdrom.png
+themes/tango/32x32/devices/gtk-floppy.png
+themes/tango/32x32/devices/gtk-harddisk.png
+themes/tango/32x32/devices/harddrive.png
+themes/tango/32x32/devices/hdd_unmount.png
+themes/tango/32x32/devices/input-gaming.png
+themes/tango/32x32/devices/input-keyboard.png
+themes/tango/32x32/devices/input-mouse.png
+themes/tango/32x32/devices/ipod_mount.png
+themes/tango/32x32/devices/joystick.png
+themes/tango/32x32/devices/keyboard.png
+themes/tango/32x32/devices/kjobviewer.png
+themes/tango/32x32/devices/kxkb.png
+themes/tango/32x32/devices/media-cdrom.png
+themes/tango/32x32/devices/media-flash.png
+themes/tango/32x32/devices/media-floppy.png
+themes/tango/32x32/devices/media-optical.png
+themes/tango/32x32/devices/mouse.png
+themes/tango/32x32/devices/multimedia-player.png
+themes/tango/32x32/devices/network-wired.png
+themes/tango/32x32/devices/network-wireless.png
+themes/tango/32x32/devices/printer-remote.png
+themes/tango/32x32/devices/printer.png
+themes/tango/32x32/devices/printer1.png
+themes/tango/32x32/devices/printmgr.png
+themes/tango/32x32/devices/stock_mic.png
+themes/tango/32x32/devices/stock_printers.png
+themes/tango/32x32/devices/system-floppy.png
+themes/tango/32x32/devices/system.png
+themes/tango/32x32/devices/usbpendrive_unmount.png
+themes/tango/32x32/devices/video-display.png
+themes/tango/32x32/devices/xfce-printer.png
+themes/tango/32x32/devices/xfce4-display.png
+themes/tango/32x32/devices/xfce4-keyboard.png
+themes/tango/32x32/devices/xfce4-mouse.png
+themes/tango/32x32/devices/yast_HD.png
+themes/tango/32x32/devices/yast_idetude.png
+themes/tango/32x32/devices/yast_joystick.png
+themes/tango/32x32/devices/yast_mouse.png
+themes/tango/32x32/devices/yast_printer.png
+themes/tango/32x32/devices/yast_soundcard.png
+themes/tango/32x32/emblems/emblem-favorite.png
+themes/tango/32x32/emblems/emblem-important.png
+themes/tango/32x32/emblems/emblem-noread.png
+themes/tango/32x32/emblems/emblem-nowrite.png
+themes/tango/32x32/emblems/emblem-photos.png
+themes/tango/32x32/emblems/emblem-readonly.png
+themes/tango/32x32/emblems/emblem-symbolic-link.png
+themes/tango/32x32/emblems/emblem-system.png
+themes/tango/32x32/emblems/emblem-unreadable.png
+themes/tango/32x32/emotes/face-angel.png
+themes/tango/32x32/emotes/face-crying.png
+themes/tango/32x32/emotes/face-devilish.png
+themes/tango/32x32/emotes/face-glasses.png
+themes/tango/32x32/emotes/face-grin.png
+themes/tango/32x32/emotes/face-kiss.png
+themes/tango/32x32/emotes/face-monkey.png
+themes/tango/32x32/emotes/face-plain.png
+themes/tango/32x32/emotes/face-sad.png
+themes/tango/32x32/emotes/face-smile-big.png
+themes/tango/32x32/emotes/face-smile.png
+themes/tango/32x32/emotes/face-surprise.png
+themes/tango/32x32/emotes/face-wink.png
+themes/tango/32x32/emotes/stock_smiley-1.png
+themes/tango/32x32/emotes/stock_smiley-11.png
+themes/tango/32x32/emotes/stock_smiley-13.png
+themes/tango/32x32/emotes/stock_smiley-18.png
+themes/tango/32x32/emotes/stock_smiley-2.png
+themes/tango/32x32/emotes/stock_smiley-22.png
+themes/tango/32x32/emotes/stock_smiley-3.png
+themes/tango/32x32/emotes/stock_smiley-4.png
+themes/tango/32x32/emotes/stock_smiley-5.png
+themes/tango/32x32/emotes/stock_smiley-6.png
+themes/tango/32x32/emotes/stock_smiley-7.png
+themes/tango/32x32/emotes/stock_smiley-8.png
+themes/tango/32x32/mimetypes/application-certificate.png
+themes/tango/32x32/mimetypes/application-vnd.ms-excel.sheet.macroEnabled.12.png
+themes/tango/32x32/mimetypes/application-vnd.ms-powerpoint.presentation.macroEnabled.12.png
+themes/tango/32x32/mimetypes/application-vnd.ms-word.document.macroEnabled.12.png
+themes/tango/32x32/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.presentation.png
+themes/tango/32x32/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.template.png
+themes/tango/32x32/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.sheet.png
+themes/tango/32x32/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.template.png
+themes/tango/32x32/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.document.png
+themes/tango/32x32/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.template.png
+themes/tango/32x32/mimetypes/application-x-executable.png
+themes/tango/32x32/mimetypes/ascii.png
+themes/tango/32x32/mimetypes/audio-x-generic.png
+themes/tango/32x32/mimetypes/binary.png
+themes/tango/32x32/mimetypes/contents2.png
+themes/tango/32x32/mimetypes/deb.png
+themes/tango/32x32/mimetypes/document.png
+themes/tango/32x32/mimetypes/empty.png
+themes/tango/32x32/mimetypes/exec.png
+themes/tango/32x32/mimetypes/folder_tar.png
+themes/tango/32x32/mimetypes/font-x-generic.png
+themes/tango/32x32/mimetypes/font.png
+themes/tango/32x32/mimetypes/font_bitmap.png
+themes/tango/32x32/mimetypes/font_truetype.png
+themes/tango/32x32/mimetypes/font_type1.png
+themes/tango/32x32/mimetypes/gnome-fs-executable.png
+themes/tango/32x32/mimetypes/gnome-mime-application-magicpoint.png
+themes/tango/32x32/mimetypes/gnome-mime-application-msword.png
+themes/tango/32x32/mimetypes/gnome-mime-application-ogg.png
+themes/tango/32x32/mimetypes/gnome-mime-application-pdf.png
+themes/tango/32x32/mimetypes/gnome-mime-application-postscript.png
+themes/tango/32x32/mimetypes/gnome-mime-application-rtf.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.lotus-1-2-3.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.ms-excel.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.ms-powerpoint.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics-template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.image.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation-template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet-template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-web.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.rn-realmedia-secure.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.rn-realmedia-vbr.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.rn-realmedia.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.stardivision.calc.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.stardivision.impress.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.stardivision.writer.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.calc.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.calc.template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.draw.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.draw.template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.impress.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.impress.template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.writer.png
+themes/tango/32x32/mimetypes/gnome-mime-application-vnd.sun.xml.writer.template.png
+themes/tango/32x32/mimetypes/gnome-mime-application-wordperfect.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-7z-compressed.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-abiword.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-applix-spreadsheet.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-applix-word.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-archive.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-arj.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-bzip-compressed-tar.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-bzip.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-compress.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-compressed-tar.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-cpio-compressed.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-cpio.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-deb.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-dvi.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-executable.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-font-afm.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-font-bdf.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-font-linux-psf.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-font-pcf.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-font-sunos-news.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-font-ttf.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-gnumeric.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-gzip.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-gzpostscript.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-jar.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-killustrator.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-kpresenter.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-kspread.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-kword.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-lha.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-lhz.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-lzma-compressed-tar.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-lzma.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-ms-dos-executable.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-perl.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-php.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-python-bytecode.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-rar.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-rpm.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-scribus.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-shellscript.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-shockwave-flash.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-stuffit.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-tar.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-tarz.png
+themes/tango/32x32/mimetypes/gnome-mime-application-x-tex.png
+themes/tango/32x32/mimetypes/gnome-mime-application-xhtml+xml.png
+themes/tango/32x32/mimetypes/gnome-mime-application-zip.png
+themes/tango/32x32/mimetypes/gnome-mime-audio.png
+themes/tango/32x32/mimetypes/gnome-mime-image.png
+themes/tango/32x32/mimetypes/gnome-mime-text-html.png
+themes/tango/32x32/mimetypes/gnome-mime-text-vnd.wap.wml.png
+themes/tango/32x32/mimetypes/gnome-mime-text-x-csh.png
+themes/tango/32x32/mimetypes/gnome-mime-text-x-python.png
+themes/tango/32x32/mimetypes/gnome-mime-text-x-sh.png
+themes/tango/32x32/mimetypes/gnome-mime-text-x-vcalendar.png
+themes/tango/32x32/mimetypes/gnome-mime-text-x-vcard.png
+themes/tango/32x32/mimetypes/gnome-mime-text-x-zsh.png
+themes/tango/32x32/mimetypes/gnome-mime-text.png
+themes/tango/32x32/mimetypes/gnome-mime-video.png
+themes/tango/32x32/mimetypes/gnome-mime-x-font-afm.png
+themes/tango/32x32/mimetypes/gnome-package.png
+themes/tango/32x32/mimetypes/html.png
+themes/tango/32x32/mimetypes/image-x-generic.png
+themes/tango/32x32/mimetypes/image.png
+themes/tango/32x32/mimetypes/kpresenter_kpr.png
+themes/tango/32x32/mimetypes/mime_ascii.png
+themes/tango/32x32/mimetypes/misc.png
+themes/tango/32x32/mimetypes/package-x-generic.png
+themes/tango/32x32/mimetypes/package.png
+themes/tango/32x32/mimetypes/package_editors.png
+themes/tango/32x32/mimetypes/package_wordprocessing.png
+themes/tango/32x32/mimetypes/plan.png
+themes/tango/32x32/mimetypes/rpm.png
+themes/tango/32x32/mimetypes/shellscript.png
+themes/tango/32x32/mimetypes/sound.png
+themes/tango/32x32/mimetypes/spreadsheet.png
+themes/tango/32x32/mimetypes/stock_addressbook.png
+themes/tango/32x32/mimetypes/stock_calendar.png
+themes/tango/32x32/mimetypes/stock_certificate.png
+themes/tango/32x32/mimetypes/stock_script.png
+themes/tango/32x32/mimetypes/tar.png
+themes/tango/32x32/mimetypes/template_source.png
+themes/tango/32x32/mimetypes/text-html.png
+themes/tango/32x32/mimetypes/text-x-generic-template.png
+themes/tango/32x32/mimetypes/text-x-generic.png
+themes/tango/32x32/mimetypes/text-x-script.png
+themes/tango/32x32/mimetypes/tgz.png
+themes/tango/32x32/mimetypes/txt.png
+themes/tango/32x32/mimetypes/txt2.png
+themes/tango/32x32/mimetypes/unknown.png
+themes/tango/32x32/mimetypes/vcalendar.png
+themes/tango/32x32/mimetypes/vcard.png
+themes/tango/32x32/mimetypes/video-x-generic.png
+themes/tango/32x32/mimetypes/video.png
+themes/tango/32x32/mimetypes/wordprocessing.png
+themes/tango/32x32/mimetypes/www.png
+themes/tango/32x32/mimetypes/x-office-address-book.png
+themes/tango/32x32/mimetypes/x-office-calendar.png
+themes/tango/32x32/mimetypes/x-office-document-template.png
+themes/tango/32x32/mimetypes/x-office-document.png
+themes/tango/32x32/mimetypes/x-office-drawing-template.png
+themes/tango/32x32/mimetypes/x-office-drawing.png
+themes/tango/32x32/mimetypes/x-office-presentation-template.png
+themes/tango/32x32/mimetypes/x-office-presentation.png
+themes/tango/32x32/mimetypes/x-office-spreadsheet-template.png
+themes/tango/32x32/mimetypes/x-office-spreadsheet.png
+themes/tango/32x32/mimetypes/zip.png
+themes/tango/32x32/places/application-x-gnome-saved-search.png
+themes/tango/32x32/places/desktop.png
+themes/tango/32x32/places/distributor-logo.png
+themes/tango/32x32/places/emptytrash.png
+themes/tango/32x32/places/folder-remote.png
+themes/tango/32x32/places/folder-saved-search.png
+themes/tango/32x32/places/folder.png
+themes/tango/32x32/places/folder_home.png
+themes/tango/32x32/places/gnome-fs-desktop.png
+themes/tango/32x32/places/gnome-fs-directory.png
+themes/tango/32x32/places/gnome-fs-ftp.png
+themes/tango/32x32/places/gnome-fs-home.png
+themes/tango/32x32/places/gnome-fs-network.png
+themes/tango/32x32/places/gnome-fs-nfs.png
+themes/tango/32x32/places/gnome-fs-server.png
+themes/tango/32x32/places/gnome-fs-share.png
+themes/tango/32x32/places/gnome-fs-smb.png
+themes/tango/32x32/places/gnome-fs-ssh.png
+themes/tango/32x32/places/gnome-fs-trash-empty.png
+themes/tango/32x32/places/gnome-main-menu.png
+themes/tango/32x32/places/gnome-mime-x-directory-nfs-server.png
+themes/tango/32x32/places/gnome-mime-x-directory-smb-server.png
+themes/tango/32x32/places/gnome-mime-x-directory-smb-share.png
+themes/tango/32x32/places/gnome-mime-x-directory-smb-workgroup.png
+themes/tango/32x32/places/gnome-stock-trash.png
+themes/tango/32x32/places/gtk-directory.png
+themes/tango/32x32/places/gtk-network.png
+themes/tango/32x32/places/inode-directory.png
+themes/tango/32x32/places/network-server.png
+themes/tango/32x32/places/network-workgroup.png
+themes/tango/32x32/places/network.png
+themes/tango/32x32/places/network_local.png
+themes/tango/32x32/places/novell-button.png
+themes/tango/32x32/places/redhat-network-server.png
+themes/tango/32x32/places/server.png
+themes/tango/32x32/places/start-here.png
+themes/tango/32x32/places/stock_folder.png
+themes/tango/32x32/places/trashcan_empty.png
+themes/tango/32x32/places/user-desktop.png
+themes/tango/32x32/places/user-home.png
+themes/tango/32x32/places/user-trash.png
+themes/tango/32x32/places/xfce-trash_empty.png
+themes/tango/32x32/status/audio-volume-high.png
+themes/tango/32x32/status/audio-volume-low.png
+themes/tango/32x32/status/audio-volume-medium.png
+themes/tango/32x32/status/audio-volume-muted.png
+themes/tango/32x32/status/battery-caution.png
+themes/tango/32x32/status/connect_creating.png
+themes/tango/32x32/status/connect_established.png
+themes/tango/32x32/status/connect_no.png
+themes/tango/32x32/status/dialog-error.png
+themes/tango/32x32/status/dialog-information.png
+themes/tango/32x32/status/dialog-warning.png
+themes/tango/32x32/status/edittrash.png
+themes/tango/32x32/status/error.png
+themes/tango/32x32/status/folder-drag-accept.png
+themes/tango/32x32/status/folder-open.png
+themes/tango/32x32/status/folder-visiting.png
+themes/tango/32x32/status/folder_open.png
+themes/tango/32x32/status/gnome-dev-wavelan-encrypted.png
+themes/tango/32x32/status/gnome-fs-directory-accept.png
+themes/tango/32x32/status/gnome-fs-directory-visiting.png
+themes/tango/32x32/status/gnome-fs-loading-icon.png
+themes/tango/32x32/status/gnome-fs-trash-full.png
+themes/tango/32x32/status/gnome-netstatus-disconn.png
+themes/tango/32x32/status/gnome-netstatus-error.png
+themes/tango/32x32/status/gnome-netstatus-idle.png
+themes/tango/32x32/status/gnome-netstatus-rx.png
+themes/tango/32x32/status/gnome-netstatus-tx.png
+themes/tango/32x32/status/gnome-netstatus-txrx.png
+themes/tango/32x32/status/gnome-stock-trash-full.png
+themes/tango/32x32/status/gtk-dialog-error.png
+themes/tango/32x32/status/gtk-dialog-info.png
+themes/tango/32x32/status/gtk-dialog-warning.png
+themes/tango/32x32/status/gtk-missing-image.png
+themes/tango/32x32/status/image-loading.png
+themes/tango/32x32/status/image-missing.png
+themes/tango/32x32/status/important.png
+themes/tango/32x32/status/info.png
+themes/tango/32x32/status/mail-attachment.png
+themes/tango/32x32/status/messagebox_critical.png
+themes/tango/32x32/status/messagebox_info.png
+themes/tango/32x32/status/messagebox_warning.png
+themes/tango/32x32/status/network-error.png
+themes/tango/32x32/status/network-idle.png
+themes/tango/32x32/status/network-offline.png
+themes/tango/32x32/status/network-receive.png
+themes/tango/32x32/status/network-transmit-receive.png
+themes/tango/32x32/status/network-transmit.png
+themes/tango/32x32/status/network-wireless-encrypted.png
+themes/tango/32x32/status/nm-adhoc.png
+themes/tango/32x32/status/nm-device-wired.png
+themes/tango/32x32/status/nm-device-wireless.png
+themes/tango/32x32/status/nm-no-connection.png
+themes/tango/32x32/status/printer-error.png
+themes/tango/32x32/status/software-update-available.png
+themes/tango/32x32/status/software-update-urgent.png
+themes/tango/32x32/status/stock_attach.png
+themes/tango/32x32/status/stock_dialog-error.png
+themes/tango/32x32/status/stock_dialog-info.png
+themes/tango/32x32/status/stock_dialog-warning.png
+themes/tango/32x32/status/stock_open.png
+themes/tango/32x32/status/stock_trash_full.png
+themes/tango/32x32/status/stock_volume-0.png
+themes/tango/32x32/status/stock_volume-max.png
+themes/tango/32x32/status/stock_volume-med.png
+themes/tango/32x32/status/stock_volume-min.png
+themes/tango/32x32/status/stock_volume-mute.png
+themes/tango/32x32/status/stock_volume.png
+themes/tango/32x32/status/stock_weather-cloudy.png
+themes/tango/32x32/status/stock_weather-few-clouds.png
+themes/tango/32x32/status/stock_weather-night-clear.png
+themes/tango/32x32/status/stock_weather-night-few-clouds.png
+themes/tango/32x32/status/stock_weather-showers.png
+themes/tango/32x32/status/stock_weather-snow.png
+themes/tango/32x32/status/stock_weather-storm.png
+themes/tango/32x32/status/stock_weather-sunny.png
+themes/tango/32x32/status/sunny.png
+themes/tango/32x32/status/trashcan_full.png
+themes/tango/32x32/status/user-trash-full.png
+themes/tango/32x32/status/weather-clear-night.png
+themes/tango/32x32/status/weather-clear.png
+themes/tango/32x32/status/weather-few-clouds-night.png
+themes/tango/32x32/status/weather-few-clouds.png
+themes/tango/32x32/status/weather-overcast.png
+themes/tango/32x32/status/weather-severe-alert.png
+themes/tango/32x32/status/weather-showers-scattered.png
+themes/tango/32x32/status/weather-showers.png
+themes/tango/32x32/status/weather-snow.png
+themes/tango/32x32/status/weather-storm.png
+themes/tango/32x32/status/xfce-trash_full.png
+themes/tango/scalable/actions/add.svg
+themes/tango/scalable/actions/address-book-new.svg
+themes/tango/scalable/actions/appointment-new.svg
+themes/tango/scalable/actions/appointment.svg
+themes/tango/scalable/actions/back.svg
+themes/tango/scalable/actions/bookmark-new.svg
+themes/tango/scalable/actions/bookmark_add.svg
+themes/tango/scalable/actions/bookmarks_list_add.svg
+themes/tango/scalable/actions/bottom.svg
+themes/tango/scalable/actions/centrejust.svg
+themes/tango/scalable/actions/contact-new.svg
+themes/tango/scalable/actions/document-new.svg
+themes/tango/scalable/actions/document-open.svg
+themes/tango/scalable/actions/document-print-preview.svg
+themes/tango/scalable/actions/document-print.svg
+themes/tango/scalable/actions/document-properties.svg
+themes/tango/scalable/actions/document-save-as.svg
+themes/tango/scalable/actions/document-save.svg
+themes/tango/scalable/actions/down.svg
+themes/tango/scalable/actions/edit-clear.svg
+themes/tango/scalable/actions/edit-copy.svg
+themes/tango/scalable/actions/edit-cut.svg
+themes/tango/scalable/actions/edit-delete.svg
+themes/tango/scalable/actions/edit-find-replace.svg
+themes/tango/scalable/actions/edit-find.svg
+themes/tango/scalable/actions/edit-paste.svg
+themes/tango/scalable/actions/edit-redo.svg
+themes/tango/scalable/actions/edit-select-all.svg
+themes/tango/scalable/actions/edit-undo.svg
+themes/tango/scalable/actions/editclear.svg
+themes/tango/scalable/actions/editcopy.svg
+themes/tango/scalable/actions/editcut.svg
+themes/tango/scalable/actions/editdelete.svg
+themes/tango/scalable/actions/editpaste.svg
+themes/tango/scalable/actions/exit.svg
+themes/tango/scalable/actions/filefind.svg
+themes/tango/scalable/actions/filenew.svg
+themes/tango/scalable/actions/fileopen.svg
+themes/tango/scalable/actions/fileprint.svg
+themes/tango/scalable/actions/filequickprint.svg
+themes/tango/scalable/actions/filesave.svg
+themes/tango/scalable/actions/filesaveas.svg
+themes/tango/scalable/actions/find.svg
+themes/tango/scalable/actions/finish.svg
+themes/tango/scalable/actions/folder-new.svg
+themes/tango/scalable/actions/folder_new.svg
+themes/tango/scalable/actions/format-indent-less.svg
+themes/tango/scalable/actions/format-indent-more.svg
+themes/tango/scalable/actions/format-justify-center.svg
+themes/tango/scalable/actions/format-justify-fill.svg
+themes/tango/scalable/actions/format-justify-left.svg
+themes/tango/scalable/actions/format-justify-right.svg
+themes/tango/scalable/actions/format-text-bold.svg
+themes/tango/scalable/actions/format-text-italic.svg
+themes/tango/scalable/actions/format-text-strikethrough.svg
+themes/tango/scalable/actions/format-text-underline.svg
+themes/tango/scalable/actions/forward.svg
+themes/tango/scalable/actions/gnome-lockscreen.svg
+themes/tango/scalable/actions/gnome-logout.svg
+themes/tango/scalable/actions/gnome-searchtool.svg
+themes/tango/scalable/actions/gnome-shutdown.svg
+themes/tango/scalable/actions/gnome-stock-mail-fwd.svg
+themes/tango/scalable/actions/gnome-stock-mail-new.svg
+themes/tango/scalable/actions/gnome-stock-mail-rpl.svg
+themes/tango/scalable/actions/gnome-stock-text-indent.svg
+themes/tango/scalable/actions/gnome-stock-text-unindent.svg
+themes/tango/scalable/actions/go-bottom.svg
+themes/tango/scalable/actions/go-down.svg
+themes/tango/scalable/actions/go-first.svg
+themes/tango/scalable/actions/go-home.svg
+themes/tango/scalable/actions/go-jump.svg
+themes/tango/scalable/actions/go-last.svg
+themes/tango/scalable/actions/go-next.svg
+themes/tango/scalable/actions/go-previous.svg
+themes/tango/scalable/actions/go-top.svg
+themes/tango/scalable/actions/go-up.svg
+themes/tango/scalable/actions/gohome.svg
+themes/tango/scalable/actions/gtk-add.svg
+themes/tango/scalable/actions/gtk-bold.svg
+themes/tango/scalable/actions/gtk-cancel.svg
+themes/tango/scalable/actions/gtk-clear.svg
+themes/tango/scalable/actions/gtk-copy.svg
+themes/tango/scalable/actions/gtk-cut.svg
+themes/tango/scalable/actions/gtk-delete.svg
+themes/tango/scalable/actions/gtk-find-and-replace.svg
+themes/tango/scalable/actions/gtk-find.svg
+themes/tango/scalable/actions/gtk-fullscreen.svg
+themes/tango/scalable/actions/gtk-go-back-ltr.svg
+themes/tango/scalable/actions/gtk-go-back-rtl.svg
+themes/tango/scalable/actions/gtk-go-down.svg
+themes/tango/scalable/actions/gtk-go-forward-ltr.svg
+themes/tango/scalable/actions/gtk-go-forward-rtl.svg
+themes/tango/scalable/actions/gtk-go-up.svg
+themes/tango/scalable/actions/gtk-goto-bottom.svg
+themes/tango/scalable/actions/gtk-goto-first-ltr.svg
+themes/tango/scalable/actions/gtk-goto-first-rtl.svg
+themes/tango/scalable/actions/gtk-goto-last-ltr.svg
+themes/tango/scalable/actions/gtk-goto-last-rtl.svg
+themes/tango/scalable/actions/gtk-goto-top.svg
+themes/tango/scalable/actions/gtk-home.svg
+themes/tango/scalable/actions/gtk-indent-ltr.svg
+themes/tango/scalable/actions/gtk-indent-rtl.svg
+themes/tango/scalable/actions/gtk-italic.svg
+themes/tango/scalable/actions/gtk-jump-to-ltr.svg
+themes/tango/scalable/actions/gtk-jump-to-rtl.svg
+themes/tango/scalable/actions/gtk-justify-center.svg
+themes/tango/scalable/actions/gtk-justify-fill.svg
+themes/tango/scalable/actions/gtk-justify-left.svg
+themes/tango/scalable/actions/gtk-justify-right.svg
+themes/tango/scalable/actions/gtk-media-forward-ltr.svg
+themes/tango/scalable/actions/gtk-media-forward-rtl.svg
+themes/tango/scalable/actions/gtk-media-next-ltr.svg
+themes/tango/scalable/actions/gtk-media-next-rtl.svg
+themes/tango/scalable/actions/gtk-media-pause.svg
+themes/tango/scalable/actions/gtk-media-play-ltr.svg
+themes/tango/scalable/actions/gtk-media-previous-ltr.svg
+themes/tango/scalable/actions/gtk-media-previous-rtl.svg
+themes/tango/scalable/actions/gtk-media-record.svg
+themes/tango/scalable/actions/gtk-media-rewind-ltr.svg
+themes/tango/scalable/actions/gtk-media-rewind-rtl.svg
+themes/tango/scalable/actions/gtk-media-stop.svg
+themes/tango/scalable/actions/gtk-new.svg
+themes/tango/scalable/actions/gtk-open.svg
+themes/tango/scalable/actions/gtk-paste.svg
+themes/tango/scalable/actions/gtk-print-preview.svg
+themes/tango/scalable/actions/gtk-print.svg
+themes/tango/scalable/actions/gtk-properties.svg
+themes/tango/scalable/actions/gtk-redo-ltr.svg
+themes/tango/scalable/actions/gtk-refresh.svg
+themes/tango/scalable/actions/gtk-remove.svg
+themes/tango/scalable/actions/gtk-save-as.svg
+themes/tango/scalable/actions/gtk-save.svg
+themes/tango/scalable/actions/gtk-select-all.svg
+themes/tango/scalable/actions/gtk-stop.svg
+themes/tango/scalable/actions/gtk-strikethrough.svg
+themes/tango/scalable/actions/gtk-underline.svg
+themes/tango/scalable/actions/gtk-undo-ltr.svg
+themes/tango/scalable/actions/gtk-unindent-ltr.svg
+themes/tango/scalable/actions/gtk-unindent-rtl.svg
+themes/tango/scalable/actions/kfind.svg
+themes/tango/scalable/actions/kfm_home.svg
+themes/tango/scalable/actions/leftjust.svg
+themes/tango/scalable/actions/list-add.svg
+themes/tango/scalable/actions/list-remove.svg
+themes/tango/scalable/actions/lock.svg
+themes/tango/scalable/actions/mail-forward.svg
+themes/tango/scalable/actions/mail-mark-junk.svg
+themes/tango/scalable/actions/mail-message-new.svg
+themes/tango/scalable/actions/mail-reply-all.svg
+themes/tango/scalable/actions/mail-reply-sender.svg
+themes/tango/scalable/actions/mail-send-receive.svg
+themes/tango/scalable/actions/mail_forward.svg
+themes/tango/scalable/actions/mail_new.svg
+themes/tango/scalable/actions/mail_reply.svg
+themes/tango/scalable/actions/mail_replyall.svg
+themes/tango/scalable/actions/mail_spam.svg
+themes/tango/scalable/actions/media-eject.svg
+themes/tango/scalable/actions/media-playback-pause.svg
+themes/tango/scalable/actions/media-playback-start.svg
+themes/tango/scalable/actions/media-playback-stop.svg
+themes/tango/scalable/actions/media-record.svg
+themes/tango/scalable/actions/media-seek-backward.svg
+themes/tango/scalable/actions/media-seek-forward.svg
+themes/tango/scalable/actions/media-skip-backward.svg
+themes/tango/scalable/actions/media-skip-forward.svg
+themes/tango/scalable/actions/next.svg
+themes/tango/scalable/actions/player_eject.svg
+themes/tango/scalable/actions/player_end.svg
+themes/tango/scalable/actions/player_fwd.svg
+themes/tango/scalable/actions/player_pause.svg
+themes/tango/scalable/actions/player_play.svg
+themes/tango/scalable/actions/player_record.svg
+themes/tango/scalable/actions/player_rew.svg
+themes/tango/scalable/actions/player_start.svg
+themes/tango/scalable/actions/player_stop.svg
+themes/tango/scalable/actions/previous.svg
+themes/tango/scalable/actions/process-stop.svg
+themes/tango/scalable/actions/redhat-home.svg
+themes/tango/scalable/actions/redo.svg
+themes/tango/scalable/actions/reload.svg
+themes/tango/scalable/actions/reload3.svg
+themes/tango/scalable/actions/reload_all_tabs.svg
+themes/tango/scalable/actions/reload_page.svg
+themes/tango/scalable/actions/remove.svg
+themes/tango/scalable/actions/rightjust.svg
+themes/tango/scalable/actions/search.svg
+themes/tango/scalable/actions/start.svg
+themes/tango/scalable/actions/stock_add-bookmark.svg
+themes/tango/scalable/actions/stock_bottom.svg
+themes/tango/scalable/actions/stock_copy.svg
+themes/tango/scalable/actions/stock_cut.svg
+themes/tango/scalable/actions/stock_delete.svg
+themes/tango/scalable/actions/stock_down.svg
+themes/tango/scalable/actions/stock_file-properites.svg
+themes/tango/scalable/actions/stock_first.svg
+themes/tango/scalable/actions/stock_fullscreen.svg
+themes/tango/scalable/actions/stock_help-add-bookmark.svg
+themes/tango/scalable/actions/stock_home.svg
+themes/tango/scalable/actions/stock_last.svg
+themes/tango/scalable/actions/stock_left.svg
+themes/tango/scalable/actions/stock_mail-compose.svg
+themes/tango/scalable/actions/stock_mail-forward.svg
+themes/tango/scalable/actions/stock_mail-reply-to-all.svg
+themes/tango/scalable/actions/stock_mail-reply.svg
+themes/tango/scalable/actions/stock_mail-send-receive.svg
+themes/tango/scalable/actions/stock_media-fwd.svg
+themes/tango/scalable/actions/stock_media-next.svg
+themes/tango/scalable/actions/stock_media-pause.svg
+themes/tango/scalable/actions/stock_media-play.svg
+themes/tango/scalable/actions/stock_media-prev.svg
+themes/tango/scalable/actions/stock_media-rec.svg
+themes/tango/scalable/actions/stock_media-rew.svg
+themes/tango/scalable/actions/stock_media-stop.svg
+themes/tango/scalable/actions/stock_new-address-book.svg
+themes/tango/scalable/actions/stock_new-appointment.svg
+themes/tango/scalable/actions/stock_new-bcard.svg
+themes/tango/scalable/actions/stock_new-dir.svg
+themes/tango/scalable/actions/stock_new-tab.svg
+themes/tango/scalable/actions/stock_new-text.svg
+themes/tango/scalable/actions/stock_new-window.svg
+themes/tango/scalable/actions/stock_paste.svg
+themes/tango/scalable/actions/stock_print-preview.svg
+themes/tango/scalable/actions/stock_print.svg
+themes/tango/scalable/actions/stock_properties.svg
+themes/tango/scalable/actions/stock_redo.svg
+themes/tango/scalable/actions/stock_refresh.svg
+themes/tango/scalable/actions/stock_right.svg
+themes/tango/scalable/actions/stock_save-as.svg
+themes/tango/scalable/actions/stock_save.svg
+themes/tango/scalable/actions/stock_search-and-replace.svg
+themes/tango/scalable/actions/stock_search.svg
+themes/tango/scalable/actions/stock_select-all.svg
+themes/tango/scalable/actions/stock_spam.svg
+themes/tango/scalable/actions/stock_stop.svg
+themes/tango/scalable/actions/stock_text-strikethrough.svg
+themes/tango/scalable/actions/stock_text_bold.svg
+themes/tango/scalable/actions/stock_text_center.svg
+themes/tango/scalable/actions/stock_text_indent.svg
+themes/tango/scalable/actions/stock_text_italic.svg
+themes/tango/scalable/actions/stock_text_justify.svg
+themes/tango/scalable/actions/stock_text_left.svg
+themes/tango/scalable/actions/stock_text_right.svg
+themes/tango/scalable/actions/stock_text_underlined.svg
+themes/tango/scalable/actions/stock_text_unindent.svg
+themes/tango/scalable/actions/stock_top.svg
+themes/tango/scalable/actions/stock_undo.svg
+themes/tango/scalable/actions/stock_up.svg
+themes/tango/scalable/actions/stop.svg
+themes/tango/scalable/actions/system-lock-screen.svg
+themes/tango/scalable/actions/system-log-out.svg
+themes/tango/scalable/actions/system-search.svg
+themes/tango/scalable/actions/system-shutdown.svg
+themes/tango/scalable/actions/tab-new.svg
+themes/tango/scalable/actions/tab_new.svg
+themes/tango/scalable/actions/text_bold.svg
+themes/tango/scalable/actions/text_italic.svg
+themes/tango/scalable/actions/text_strike.svg
+themes/tango/scalable/actions/text_under.svg
+themes/tango/scalable/actions/top.svg
+themes/tango/scalable/actions/undo.svg
+themes/tango/scalable/actions/up.svg
+themes/tango/scalable/actions/view-fullscreen.svg
+themes/tango/scalable/actions/view-refresh.svg
+themes/tango/scalable/actions/window-new.svg
+themes/tango/scalable/actions/window_fullscreen.svg
+themes/tango/scalable/actions/window_new.svg
+themes/tango/scalable/actions/xfce-system-lock.svg
+themes/tango/scalable/apps/access.svg
+themes/tango/scalable/apps/accessibility-directory.svg
+themes/tango/scalable/apps/accessories-calculator.svg
+themes/tango/scalable/apps/accessories-character-map.svg
+themes/tango/scalable/apps/accessories-text-editor.svg
+themes/tango/scalable/apps/background.svg
+themes/tango/scalable/apps/browser.svg
+themes/tango/scalable/apps/calc.svg
+themes/tango/scalable/apps/config-language.svg
+themes/tango/scalable/apps/config-users.svg
+themes/tango/scalable/apps/date.svg
+themes/tango/scalable/apps/email.svg
+themes/tango/scalable/apps/file-manager.svg
+themes/tango/scalable/apps/fonts.svg
+themes/tango/scalable/apps/gnome-calculator.svg
+themes/tango/scalable/apps/gnome-character-map.svg
+themes/tango/scalable/apps/gnome-help.svg
+themes/tango/scalable/apps/gnome-monitor.svg
+themes/tango/scalable/apps/gnome-remote-desktop.svg
+themes/tango/scalable/apps/gnome-session.svg
+themes/tango/scalable/apps/gnome-settings-accessibility-technologies.svg
+themes/tango/scalable/apps/gnome-settings-background.svg
+themes/tango/scalable/apps/gnome-settings-font.svg
+themes/tango/scalable/apps/gnome-settings-keybindings.svg
+themes/tango/scalable/apps/gnome-settings-theme.svg
+themes/tango/scalable/apps/gnome-terminal.svg
+themes/tango/scalable/apps/gnome-window-manager.svg
+themes/tango/scalable/apps/gucharmap.svg
+themes/tango/scalable/apps/help-browser.svg
+themes/tango/scalable/apps/internet-group-chat.svg
+themes/tango/scalable/apps/internet-mail.svg
+themes/tango/scalable/apps/internet-news-reader.svg
+themes/tango/scalable/apps/internet-web-browser.svg
+themes/tango/scalable/apps/kcalc.svg
+themes/tango/scalable/apps/kcharselect.svg
+themes/tango/scalable/apps/kcmkwm.svg
+themes/tango/scalable/apps/kedit.svg
+themes/tango/scalable/apps/key_bindings.svg
+themes/tango/scalable/apps/kfm.svg
+themes/tango/scalable/apps/khelpcenter.svg
+themes/tango/scalable/apps/konsole.svg
+themes/tango/scalable/apps/krfb.svg
+themes/tango/scalable/apps/kscreensaver.svg
+themes/tango/scalable/apps/ksysguard.svg
+themes/tango/scalable/apps/kuser.svg
+themes/tango/scalable/apps/kwin.svg
+themes/tango/scalable/apps/locale.svg
+themes/tango/scalable/apps/mail_generic.svg
+themes/tango/scalable/apps/office-calendar.svg
+themes/tango/scalable/apps/openterm.svg
+themes/tango/scalable/apps/preferences-desktop-accessibility.svg
+themes/tango/scalable/apps/preferences-desktop-assistive-technology.svg
+themes/tango/scalable/apps/preferences-desktop-font.svg
+themes/tango/scalable/apps/preferences-desktop-keyboard-shortcuts.svg
+themes/tango/scalable/apps/preferences-desktop-locale.svg
+themes/tango/scalable/apps/preferences-desktop-multimedia.svg
+themes/tango/scalable/apps/preferences-desktop-remote-desktop.svg
+themes/tango/scalable/apps/preferences-desktop-screensaver.svg
+themes/tango/scalable/apps/preferences-desktop-theme.svg
+themes/tango/scalable/apps/preferences-desktop-wallpaper.svg
+themes/tango/scalable/apps/preferences-system-network-proxy.svg
+themes/tango/scalable/apps/preferences-system-session.svg
+themes/tango/scalable/apps/preferences-system-windows.svg
+themes/tango/scalable/apps/proxy-config.svg
+themes/tango/scalable/apps/proxy.svg
+themes/tango/scalable/apps/redhat-email.svg
+themes/tango/scalable/apps/redhat-filemanager.svg
+themes/tango/scalable/apps/redhat-web-browser.svg
+themes/tango/scalable/apps/screensaver.svg
+themes/tango/scalable/apps/stock_proxy.svg
+themes/tango/scalable/apps/style.svg
+themes/tango/scalable/apps/susehelpcenter.svg
+themes/tango/scalable/apps/system-config-users.svg
+themes/tango/scalable/apps/system-file-manager.svg
+themes/tango/scalable/apps/system-installer.svg
+themes/tango/scalable/apps/system-software-update.svg
+themes/tango/scalable/apps/system-users.svg
+themes/tango/scalable/apps/terminal.svg
+themes/tango/scalable/apps/text-editor.svg
+themes/tango/scalable/apps/update-manager.svg
+themes/tango/scalable/apps/utilities-system-monitor.svg
+themes/tango/scalable/apps/utilities-terminal.svg
+themes/tango/scalable/apps/wallpaper.svg
+themes/tango/scalable/apps/web-browser.svg
+themes/tango/scalable/apps/xfcalendar.svg
+themes/tango/scalable/apps/xfce-filemanager.svg
+themes/tango/scalable/apps/xfce-mail.svg
+themes/tango/scalable/apps/xfce-terminal.svg
+themes/tango/scalable/apps/xfce4-backdrop.svg
+themes/tango/scalable/apps/xfce4-session.svg
+themes/tango/scalable/apps/xfwm4.svg
+themes/tango/scalable/apps/ximian-evolution-calendar.svg
+themes/tango/scalable/apps/xscreensaver.svg
+themes/tango/scalable/apps/zen-icon.svg
+themes/tango/scalable/categories/applications-accessories.svg
+themes/tango/scalable/categories/applications-development.svg
+themes/tango/scalable/categories/applications-games.svg
+themes/tango/scalable/categories/applications-graphics.svg
+themes/tango/scalable/categories/applications-internet.svg
+themes/tango/scalable/categories/applications-multimedia.svg
+themes/tango/scalable/categories/applications-office.svg
+themes/tango/scalable/categories/applications-other.svg
+themes/tango/scalable/categories/applications-system.svg
+themes/tango/scalable/categories/gnome-applications.svg
+themes/tango/scalable/categories/gnome-control-center.svg
+themes/tango/scalable/categories/gnome-devel.svg
+themes/tango/scalable/categories/gnome-globe.svg
+themes/tango/scalable/categories/gnome-graphics.svg
+themes/tango/scalable/categories/gnome-joystick.svg
+themes/tango/scalable/categories/gnome-multimedia.svg
+themes/tango/scalable/categories/gnome-other.svg
+themes/tango/scalable/categories/gnome-settings.svg
+themes/tango/scalable/categories/gnome-system.svg
+themes/tango/scalable/categories/gnome-util.svg
+themes/tango/scalable/categories/gtk-preferences.svg
+themes/tango/scalable/categories/input_devices_settings.svg
+themes/tango/scalable/categories/kcontrol.svg
+themes/tango/scalable/categories/package_development.svg
+themes/tango/scalable/categories/package_games.svg
+themes/tango/scalable/categories/package_graphics.svg
+themes/tango/scalable/categories/package_multimedia.svg
+themes/tango/scalable/categories/package_network.svg
+themes/tango/scalable/categories/package_office.svg
+themes/tango/scalable/categories/package_settings.svg
+themes/tango/scalable/categories/package_system.svg
+themes/tango/scalable/categories/package_utilities.svg
+themes/tango/scalable/categories/preferences-desktop-peripherals.svg
+themes/tango/scalable/categories/preferences-desktop.svg
+themes/tango/scalable/categories/preferences-system.svg
+themes/tango/scalable/categories/redhat-accessories.svg
+themes/tango/scalable/categories/redhat-games.svg
+themes/tango/scalable/categories/redhat-graphics.svg
+themes/tango/scalable/categories/redhat-internet.svg
+themes/tango/scalable/categories/redhat-office.svg
+themes/tango/scalable/categories/redhat-preferences.svg
+themes/tango/scalable/categories/redhat-programming.svg
+themes/tango/scalable/categories/redhat-sound_video.svg
+themes/tango/scalable/categories/redhat-system_settings.svg
+themes/tango/scalable/categories/redhat-system_tools.svg
+themes/tango/scalable/categories/stock_internet.svg
+themes/tango/scalable/categories/xfce-games.svg
+themes/tango/scalable/categories/xfce-graphics.svg
+themes/tango/scalable/categories/xfce-internet.svg
+themes/tango/scalable/categories/xfce-multimedia.svg
+themes/tango/scalable/categories/xfce-office.svg
+themes/tango/scalable/categories/xfce-system-settings.svg
+themes/tango/scalable/categories/xfce-utils.svg
+themes/tango/scalable/categories/xfce4-settings.svg
+themes/tango/scalable/devices/3floppy_unmount.svg
+themes/tango/scalable/devices/audio-card.svg
+themes/tango/scalable/devices/audio-input-microphone.svg
+themes/tango/scalable/devices/battery.svg
+themes/tango/scalable/devices/camera-photo.svg
+themes/tango/scalable/devices/camera-video.svg
+themes/tango/scalable/devices/camera.svg
+themes/tango/scalable/devices/camera_unmount.svg
+themes/tango/scalable/devices/cdrom_unmount.svg
+themes/tango/scalable/devices/cdwriter_unmount.svg
+themes/tango/scalable/devices/chardevice.svg
+themes/tango/scalable/devices/computer.svg
+themes/tango/scalable/devices/display.svg
+themes/tango/scalable/devices/drive-cdrom.svg
+themes/tango/scalable/devices/drive-harddisk.svg
+themes/tango/scalable/devices/drive-optical.svg
+themes/tango/scalable/devices/drive-removable-media.svg
+themes/tango/scalable/devices/dvd_unmount.svg
+themes/tango/scalable/devices/gnome-dev-battery.svg
+themes/tango/scalable/devices/gnome-dev-cdrom-audio.svg
+themes/tango/scalable/devices/gnome-dev-cdrom.svg
+themes/tango/scalable/devices/gnome-dev-computer.svg
+themes/tango/scalable/devices/gnome-dev-disc-cdr.svg
+themes/tango/scalable/devices/gnome-dev-disc-cdrw.svg
+themes/tango/scalable/devices/gnome-dev-disc-dvdr-plus.svg
+themes/tango/scalable/devices/gnome-dev-disc-dvdr.svg
+themes/tango/scalable/devices/gnome-dev-disc-dvdram.svg
+themes/tango/scalable/devices/gnome-dev-disc-dvdrom.svg
+themes/tango/scalable/devices/gnome-dev-disc-dvdrw.svg
+themes/tango/scalable/devices/gnome-dev-dvd.svg
+themes/tango/scalable/devices/gnome-dev-ethernet.svg
+themes/tango/scalable/devices/gnome-dev-floppy.svg
+themes/tango/scalable/devices/gnome-dev-harddisk-1394.svg
+themes/tango/scalable/devices/gnome-dev-harddisk-usb.svg
+themes/tango/scalable/devices/gnome-dev-harddisk.svg
+themes/tango/scalable/devices/gnome-dev-ipod.svg
+themes/tango/scalable/devices/gnome-dev-keyboard.svg
+themes/tango/scalable/devices/gnome-dev-media-cf.svg
+themes/tango/scalable/devices/gnome-dev-media-ms.svg
+themes/tango/scalable/devices/gnome-dev-media-sdmmc.svg
+themes/tango/scalable/devices/gnome-dev-media-sm.svg
+themes/tango/scalable/devices/gnome-dev-mouse-ball.svg
+themes/tango/scalable/devices/gnome-dev-mouse-optical.svg
+themes/tango/scalable/devices/gnome-dev-printer.svg
+themes/tango/scalable/devices/gnome-dev-removable-1394.svg
+themes/tango/scalable/devices/gnome-dev-removable-usb.svg
+themes/tango/scalable/devices/gnome-dev-removable.svg
+themes/tango/scalable/devices/gnome-dev-wavelan.svg
+themes/tango/scalable/devices/gnome-fs-client.svg
+themes/tango/scalable/devices/gnome-stock-mic.svg
+themes/tango/scalable/devices/gtk-cdrom.svg
+themes/tango/scalable/devices/gtk-floppy.svg
+themes/tango/scalable/devices/gtk-harddisk.svg
+themes/tango/scalable/devices/harddrive.svg
+themes/tango/scalable/devices/hdd_unmount.svg
+themes/tango/scalable/devices/input-gaming.svg
+themes/tango/scalable/devices/input-keyboard.svg
+themes/tango/scalable/devices/input-mouse.svg
+themes/tango/scalable/devices/ipod_mount.svg
+themes/tango/scalable/devices/joystick.svg
+themes/tango/scalable/devices/keyboard.svg
+themes/tango/scalable/devices/kjobviewer.svg
+themes/tango/scalable/devices/kxkb.svg
+themes/tango/scalable/devices/media-cdrom.svg
+themes/tango/scalable/devices/media-flash.svg
+themes/tango/scalable/devices/media-floppy.svg
+themes/tango/scalable/devices/media-optical.svg
+themes/tango/scalable/devices/mouse.svg
+themes/tango/scalable/devices/multimedia-player.svg
+themes/tango/scalable/devices/network-wired.svg
+themes/tango/scalable/devices/network-wireless.svg
+themes/tango/scalable/devices/printer-remote.svg
+themes/tango/scalable/devices/printer.svg
+themes/tango/scalable/devices/printer1.svg
+themes/tango/scalable/devices/printmgr.svg
+themes/tango/scalable/devices/stock_mic.svg
+themes/tango/scalable/devices/stock_printers.svg
+themes/tango/scalable/devices/system-floppy.svg
+themes/tango/scalable/devices/system.svg
+themes/tango/scalable/devices/usbpendrive_unmount.svg
+themes/tango/scalable/devices/video-display.svg
+themes/tango/scalable/devices/xfce-printer.svg
+themes/tango/scalable/devices/xfce4-display.svg
+themes/tango/scalable/devices/xfce4-keyboard.svg
+themes/tango/scalable/devices/xfce4-mouse.svg
+themes/tango/scalable/devices/yast_HD.svg
+themes/tango/scalable/devices/yast_idetude.svg
+themes/tango/scalable/devices/yast_joystick.svg
+themes/tango/scalable/devices/yast_mouse.svg
+themes/tango/scalable/devices/yast_printer.svg
+themes/tango/scalable/devices/yast_soundcard.svg
+themes/tango/scalable/emblems/emblem-favorite.svg
+themes/tango/scalable/emblems/emblem-important.svg
+themes/tango/scalable/emblems/emblem-noread.svg
+themes/tango/scalable/emblems/emblem-nowrite.svg
+themes/tango/scalable/emblems/emblem-photos.svg
+themes/tango/scalable/emblems/emblem-readonly.svg
+themes/tango/scalable/emblems/emblem-symbolic-link.svg
+themes/tango/scalable/emblems/emblem-system.svg
+themes/tango/scalable/emblems/emblem-unreadable.svg
+themes/tango/scalable/emotes/face-angel.svg
+themes/tango/scalable/emotes/face-crying.svg
+themes/tango/scalable/emotes/face-devilish.svg
+themes/tango/scalable/emotes/face-glasses.svg
+themes/tango/scalable/emotes/face-grin.svg
+themes/tango/scalable/emotes/face-kiss.svg
+themes/tango/scalable/emotes/face-monkey.svg
+themes/tango/scalable/emotes/face-plain.svg
+themes/tango/scalable/emotes/face-sad.svg
+themes/tango/scalable/emotes/face-smile-big.svg
+themes/tango/scalable/emotes/face-smile.svg
+themes/tango/scalable/emotes/face-surprise.svg
+themes/tango/scalable/emotes/face-wink.svg
+themes/tango/scalable/emotes/stock_smiley-1.svg
+themes/tango/scalable/emotes/stock_smiley-11.svg
+themes/tango/scalable/emotes/stock_smiley-13.svg
+themes/tango/scalable/emotes/stock_smiley-18.svg
+themes/tango/scalable/emotes/stock_smiley-2.svg
+themes/tango/scalable/emotes/stock_smiley-22.svg
+themes/tango/scalable/emotes/stock_smiley-3.svg
+themes/tango/scalable/emotes/stock_smiley-4.svg
+themes/tango/scalable/emotes/stock_smiley-5.svg
+themes/tango/scalable/emotes/stock_smiley-6.svg
+themes/tango/scalable/emotes/stock_smiley-7.svg
+themes/tango/scalable/emotes/stock_smiley-8.svg
+themes/tango/scalable/mimetypes/application-certificate.svg
+themes/tango/scalable/mimetypes/application-vnd.ms-excel.sheet.macroEnabled.12.svg
+themes/tango/scalable/mimetypes/application-vnd.ms-powerpoint.presentation.macroEnabled.12.svg
+themes/tango/scalable/mimetypes/application-vnd.ms-word.document.macroEnabled.12.svg
+themes/tango/scalable/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.presentation.svg
+themes/tango/scalable/mimetypes/application-vnd.openxmlformats-officedocument.presentationml.template.svg
+themes/tango/scalable/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.sheet.svg
+themes/tango/scalable/mimetypes/application-vnd.openxmlformats-officedocument.spreadsheetml.template.svg
+themes/tango/scalable/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.document.svg
+themes/tango/scalable/mimetypes/application-vnd.openxmlformats-officedocument.wordprocessingml.template.svg
+themes/tango/scalable/mimetypes/application-x-executable.svg
+themes/tango/scalable/mimetypes/ascii.svg
+themes/tango/scalable/mimetypes/audio-x-generic.svg
+themes/tango/scalable/mimetypes/binary.svg
+themes/tango/scalable/mimetypes/contents2.svg
+themes/tango/scalable/mimetypes/deb.svg
+themes/tango/scalable/mimetypes/document.svg
+themes/tango/scalable/mimetypes/empty.svg
+themes/tango/scalable/mimetypes/exec.svg
+themes/tango/scalable/mimetypes/folder_tar.svg
+themes/tango/scalable/mimetypes/font-x-generic.svg
+themes/tango/scalable/mimetypes/font.svg
+themes/tango/scalable/mimetypes/font_bitmap.svg
+themes/tango/scalable/mimetypes/font_truetype.svg
+themes/tango/scalable/mimetypes/font_type1.svg
+themes/tango/scalable/mimetypes/gnome-fs-executable.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-magicpoint.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-msword.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-ogg.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-pdf.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-postscript.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-rtf.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.lotus-1-2-3.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.ms-excel.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.ms-powerpoint.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics-template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.graphics.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.image.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation-template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.presentation.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet-template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.spreadsheet.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text-web.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.oasis.opendocument.text.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.rn-realmedia-secure.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.rn-realmedia-vbr.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.rn-realmedia.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.stardivision.calc.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.stardivision.impress.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.stardivision.writer.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.calc.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.calc.template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.draw.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.draw.template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.impress.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.impress.template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.writer.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-vnd.sun.xml.writer.template.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-wordperfect.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-7z-compressed.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-abiword.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-applix-spreadsheet.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-applix-word.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-archive.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-arj.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-bzip-compressed-tar.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-bzip.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-compress.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-compressed-tar.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-cpio-compressed.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-cpio.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-deb.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-dvi.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-executable.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-font-afm.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-font-bdf.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-font-linux-psf.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-font-pcf.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-font-sunos-news.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-font-ttf.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-gnumeric.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-gzip.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-gzpostscript.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-jar.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-killustrator.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-kpresenter.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-kspread.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-kword.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-lha.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-lhz.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-lzma-compressed-tar.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-lzma.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-ms-dos-executable.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-perl.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-php.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-python-bytecode.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-rar.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-rpm.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-scribus.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-shellscript.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-shockwave-flash.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-stuffit.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-tar.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-tarz.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-x-tex.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-xhtml+xml.svg
+themes/tango/scalable/mimetypes/gnome-mime-application-zip.svg
+themes/tango/scalable/mimetypes/gnome-mime-audio.svg
+themes/tango/scalable/mimetypes/gnome-mime-image.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-html.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-vnd.wap.wml.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-x-csh.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-x-python.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-x-sh.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-x-vcalendar.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-x-vcard.svg
+themes/tango/scalable/mimetypes/gnome-mime-text-x-zsh.svg
+themes/tango/scalable/mimetypes/gnome-mime-text.svg
+themes/tango/scalable/mimetypes/gnome-mime-video.svg
+themes/tango/scalable/mimetypes/gnome-mime-x-font-afm.svg
+themes/tango/scalable/mimetypes/gnome-package.svg
+themes/tango/scalable/mimetypes/html.svg
+themes/tango/scalable/mimetypes/image-x-generic.svg
+themes/tango/scalable/mimetypes/image.svg
+themes/tango/scalable/mimetypes/kpresenter_kpr.svg
+themes/tango/scalable/mimetypes/mime_ascii.svg
+themes/tango/scalable/mimetypes/misc.svg
+themes/tango/scalable/mimetypes/package-x-generic.svg
+themes/tango/scalable/mimetypes/package.svg
+themes/tango/scalable/mimetypes/package_editors.svg
+themes/tango/scalable/mimetypes/package_wordprocessing.svg
+themes/tango/scalable/mimetypes/plan.svg
+themes/tango/scalable/mimetypes/rpm.svg
+themes/tango/scalable/mimetypes/shellscript.svg
+themes/tango/scalable/mimetypes/sound.svg
+themes/tango/scalable/mimetypes/spreadsheet.svg
+themes/tango/scalable/mimetypes/stock_addressbook.svg
+themes/tango/scalable/mimetypes/stock_calendar.svg
+themes/tango/scalable/mimetypes/stock_certificate.svg
+themes/tango/scalable/mimetypes/stock_script.svg
+themes/tango/scalable/mimetypes/tar.svg
+themes/tango/scalable/mimetypes/template_source.svg
+themes/tango/scalable/mimetypes/text-html.svg
+themes/tango/scalable/mimetypes/text-x-generic-template.svg
+themes/tango/scalable/mimetypes/text-x-generic.svg
+themes/tango/scalable/mimetypes/text-x-script.svg
+themes/tango/scalable/mimetypes/tgz.svg
+themes/tango/scalable/mimetypes/txt.svg
+themes/tango/scalable/mimetypes/txt2.svg
+themes/tango/scalable/mimetypes/unknown.svg
+themes/tango/scalable/mimetypes/vcalendar.svg
+themes/tango/scalable/mimetypes/vcard.svg
+themes/tango/scalable/mimetypes/video-x-generic.svg
+themes/tango/scalable/mimetypes/video.svg
+themes/tango/scalable/mimetypes/wordprocessing.svg
+themes/tango/scalable/mimetypes/www.svg
+themes/tango/scalable/mimetypes/x-office-address-book.svg
+themes/tango/scalable/mimetypes/x-office-calendar.svg
+themes/tango/scalable/mimetypes/x-office-document-template.svg
+themes/tango/scalable/mimetypes/x-office-document.svg
+themes/tango/scalable/mimetypes/x-office-drawing-template.svg
+themes/tango/scalable/mimetypes/x-office-drawing.svg
+themes/tango/scalable/mimetypes/x-office-presentation-template.svg
+themes/tango/scalable/mimetypes/x-office-presentation.svg
+themes/tango/scalable/mimetypes/x-office-spreadsheet-template.svg
+themes/tango/scalable/mimetypes/x-office-spreadsheet.svg
+themes/tango/scalable/mimetypes/zip.svg
+themes/tango/scalable/places/application-x-gnome-saved-search.svg
+themes/tango/scalable/places/desktop.svg
+themes/tango/scalable/places/distributor-logo.svg
+themes/tango/scalable/places/emptytrash.svg
+themes/tango/scalable/places/folder-remote.svg
+themes/tango/scalable/places/folder-saved-search.svg
+themes/tango/scalable/places/folder.icon
+themes/tango/scalable/places/folder.svg
+themes/tango/scalable/places/folder_home.svg
+themes/tango/scalable/places/gnome-fs-desktop.svg
+themes/tango/scalable/places/gnome-fs-directory.icon
+themes/tango/scalable/places/gnome-fs-directory.svg
+themes/tango/scalable/places/gnome-fs-ftp.svg
+themes/tango/scalable/places/gnome-fs-home.svg
+themes/tango/scalable/places/gnome-fs-network.svg
+themes/tango/scalable/places/gnome-fs-nfs.svg
+themes/tango/scalable/places/gnome-fs-server.svg
+themes/tango/scalable/places/gnome-fs-share.svg
+themes/tango/scalable/places/gnome-fs-smb.svg
+themes/tango/scalable/places/gnome-fs-ssh.svg
+themes/tango/scalable/places/gnome-fs-trash-empty.svg
+themes/tango/scalable/places/gnome-main-menu.svg
+themes/tango/scalable/places/gnome-mime-x-directory-nfs-server.svg
+themes/tango/scalable/places/gnome-mime-x-directory-smb-server.svg
+themes/tango/scalable/places/gnome-mime-x-directory-smb-share.svg
+themes/tango/scalable/places/gnome-mime-x-directory-smb-workgroup.svg
+themes/tango/scalable/places/gnome-stock-trash.svg
+themes/tango/scalable/places/gtk-directory.icon
+themes/tango/scalable/places/gtk-directory.svg
+themes/tango/scalable/places/gtk-network.svg
+themes/tango/scalable/places/inode-directory.icon
+themes/tango/scalable/places/inode-directory.svg
+themes/tango/scalable/places/network-server.svg
+themes/tango/scalable/places/network-workgroup.svg
+themes/tango/scalable/places/network.svg
+themes/tango/scalable/places/network_local.svg
+themes/tango/scalable/places/novell-button.svg
+themes/tango/scalable/places/redhat-network-server.svg
+themes/tango/scalable/places/server.svg
+themes/tango/scalable/places/start-here.svg
+themes/tango/scalable/places/stock_folder.icon
+themes/tango/scalable/places/stock_folder.svg
+themes/tango/scalable/places/trashcan_empty.svg
+themes/tango/scalable/places/user-desktop.svg
+themes/tango/scalable/places/user-home.svg
+themes/tango/scalable/places/user-trash.svg
+themes/tango/scalable/places/xfce-trash_empty.svg
+themes/tango/scalable/status/audio-volume-high.svg
+themes/tango/scalable/status/audio-volume-low.svg
+themes/tango/scalable/status/audio-volume-medium.svg
+themes/tango/scalable/status/audio-volume-muted.svg
+themes/tango/scalable/status/battery-caution.svg
+themes/tango/scalable/status/connect_creating.svg
+themes/tango/scalable/status/connect_established.svg
+themes/tango/scalable/status/connect_no.svg
+themes/tango/scalable/status/dialog-error.svg
+themes/tango/scalable/status/dialog-information.svg
+themes/tango/scalable/status/dialog-warning.svg
+themes/tango/scalable/status/edittrash.svg
+themes/tango/scalable/status/error.svg
+themes/tango/scalable/status/folder-drag-accept.icon
+themes/tango/scalable/status/folder-drag-accept.svg
+themes/tango/scalable/status/folder-open.svg
+themes/tango/scalable/status/folder-visiting.icon
+themes/tango/scalable/status/folder-visiting.svg
+themes/tango/scalable/status/folder_open.svg
+themes/tango/scalable/status/gnome-dev-wavelan-encrypted.svg
+themes/tango/scalable/status/gnome-fs-directory-accept.icon
+themes/tango/scalable/status/gnome-fs-directory-accept.svg
+themes/tango/scalable/status/gnome-fs-directory-visiting.icon
+themes/tango/scalable/status/gnome-fs-directory-visiting.svg
+themes/tango/scalable/status/gnome-fs-loading-icon.svg
+themes/tango/scalable/status/gnome-fs-trash-full.svg
+themes/tango/scalable/status/gnome-netstatus-disconn.svg
+themes/tango/scalable/status/gnome-netstatus-error.svg
+themes/tango/scalable/status/gnome-netstatus-idle.svg
+themes/tango/scalable/status/gnome-netstatus-rx.svg
+themes/tango/scalable/status/gnome-netstatus-tx.svg
+themes/tango/scalable/status/gnome-netstatus-txrx.svg
+themes/tango/scalable/status/gnome-stock-trash-full.svg
+themes/tango/scalable/status/gtk-dialog-error.svg
+themes/tango/scalable/status/gtk-dialog-info.svg
+themes/tango/scalable/status/gtk-dialog-warning.svg
+themes/tango/scalable/status/gtk-missing-image.svg
+themes/tango/scalable/status/image-loading.svg
+themes/tango/scalable/status/image-missing.svg
+themes/tango/scalable/status/important.svg
+themes/tango/scalable/status/info.svg
+themes/tango/scalable/status/mail-attachment.svg
+themes/tango/scalable/status/messagebox_critical.svg
+themes/tango/scalable/status/messagebox_info.svg
+themes/tango/scalable/status/messagebox_warning.svg
+themes/tango/scalable/status/network-error.svg
+themes/tango/scalable/status/network-idle.svg
+themes/tango/scalable/status/network-offline.svg
+themes/tango/scalable/status/network-receive.svg
+themes/tango/scalable/status/network-transmit-receive.svg
+themes/tango/scalable/status/network-transmit.svg
+themes/tango/scalable/status/network-wireless-encrypted.svg
+themes/tango/scalable/status/nm-adhoc.svg
+themes/tango/scalable/status/nm-device-wired.svg
+themes/tango/scalable/status/nm-device-wireless.svg
+themes/tango/scalable/status/nm-no-connection.svg
+themes/tango/scalable/status/printer-error.svg
+themes/tango/scalable/status/software-update-available.svg
+themes/tango/scalable/status/software-update-urgent.svg
+themes/tango/scalable/status/stock_attach.svg
+themes/tango/scalable/status/stock_dialog-error.svg
+themes/tango/scalable/status/stock_dialog-info.svg
+themes/tango/scalable/status/stock_dialog-warning.svg
+themes/tango/scalable/status/stock_open.svg
+themes/tango/scalable/status/stock_trash_full.svg
+themes/tango/scalable/status/stock_volume-0.svg
+themes/tango/scalable/status/stock_volume-max.svg
+themes/tango/scalable/status/stock_volume-med.svg
+themes/tango/scalable/status/stock_volume-min.svg
+themes/tango/scalable/status/stock_volume-mute.svg
+themes/tango/scalable/status/stock_volume.svg
+themes/tango/scalable/status/stock_weather-cloudy.svg
+themes/tango/scalable/status/stock_weather-few-clouds.svg
+themes/tango/scalable/status/stock_weather-night-clear.svg
+themes/tango/scalable/status/stock_weather-night-few-clouds.svg
+themes/tango/scalable/status/stock_weather-showers.svg
+themes/tango/scalable/status/stock_weather-snow.svg
+themes/tango/scalable/status/stock_weather-storm.svg
+themes/tango/scalable/status/stock_weather-sunny.svg
+themes/tango/scalable/status/sunny.svg
+themes/tango/scalable/status/trashcan_full.svg
+themes/tango/scalable/status/user-trash-full.svg
+themes/tango/scalable/status/weather-clear-night.svg
+themes/tango/scalable/status/weather-clear.svg
+themes/tango/scalable/status/weather-few-clouds-night.svg
+themes/tango/scalable/status/weather-few-clouds.svg
+themes/tango/scalable/status/weather-overcast.svg
+themes/tango/scalable/status/weather-severe-alert.svg
+themes/tango/scalable/status/weather-showers-scattered.svg
+themes/tango/scalable/status/weather-showers.svg
+themes/tango/scalable/status/weather-snow.svg
+themes/tango/scalable/status/weather-storm.svg
+themes/tango/scalable/status/xfce-trash_full.svg
+
+
+
\ No newline at end of file
diff --git a/project_browser/images/themes.rcc b/project_browser/images/themes.rcc
new file mode 100644
index 0000000..d8ad9d0
Binary files /dev/null and b/project_browser/images/themes.rcc differ
diff --git a/project_browser/information_finder.py b/project_browser/information_finder.py
new file mode 100644
index 0000000..b93e5ca
--- /dev/null
+++ b/project_browser/information_finder.py
@@ -0,0 +1,454 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+
+import sys
+import os
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import traceback
+import time
+
+from collections import defaultdict
+
+from multiprocessing import cpu_count
+
+import content_types
+
+
+def return_none():
+ return None
+
+def return_none_defaultdict():
+ return defaultdict(return_none)
+
+Info_Cache = defaultdict(return_none_defaultdict)
+Info_Cache_Key_Order = []
+
+def add_to_cache(cach_key,key,value):
+ if not Info_Cache[cach_key][key]:
+ Info_Cache[cach_key][key] = value
+
+ Info_Cache_Key_Order.append(cach_key)
+ #print len(Info_Cache_Key_Order),'cached items'
+
+
+
+
+
+class Information_Finder_Thread(QThread):
+ def __init__(self,mutex = None,parent=None):
+
+ super(Information_Finder_Thread, self).__init__(parent)
+ self.current_item = None
+ self.current_key = None
+ self.work = []
+ self.start_time = None
+ self.mutex = mutex
+
+ def set_stop(self,value=True):
+ if self.current_item:
+ self.current_item.set_stop(value)
+
+ def clear(self):
+ work_items = []
+ while self.work:
+ work_items.append(self.work.pop())
+
+ return work_items
+
+ def add_work(self,job):
+
+ item = job[0]
+
+ key = job[1]
+ item.data_loading.append(key)
+ item.data_queued.remove(key)
+
+ self.work.append((item,key))
+
+
+ def run(self):
+
+ while self.work:
+ item, key =self.work.pop(0)
+ self.current_item = item
+ self.current_key = key
+ self.start_time = time.time()
+
+ try:
+ self.func()
+
+ if self.current_item.stop():
+ self.work_stoped()
+
+ else:
+ self.work_done()
+
+ except:
+ trace = traceback.format_exc()
+ self.work_error(trace)
+
+ self.current_item = None
+
+ def check_time(self):
+
+ dur = time.time() -self.start_time
+
+ if dur < .2:
+ self.msleep(15)
+
+ def work_error(self,trace):
+ self.emit(SIGNAL("work_error"),trace,self.current_item,self.current_key)
+ self.check_time()
+ def work_done(self):
+ self.emit(SIGNAL("work_done"),self.current_item,self.current_key)
+ #self.msleep(500)
+ self.check_time()
+ def key_ready(self):
+ self.emit(SIGNAL("key_ready"),self.current_item,self.current_key)
+
+ def func(self):
+
+ key = self.current_key
+ item = self.current_item
+
+ item.lock.lock()
+ try:
+
+ item.content.properties()
+ except:
+ item.content._properties = None
+ item.lock.unlock()
+
+ raise
+ item.lock.unlock()
+
+
+
+
+ if key in ['Path','Kind','Blame','Frames','Created']:
+
+ item.get_data(key)
+ add_to_cache(item.content.path(),key,item.properties[key])
+
+
+ if key in ['Thumbnail']:
+ thumbnail = None
+
+ #item.lock.lock()
+ try:
+
+
+ image_data = item.content.thumbnail()
+ image = QImage()
+ if image.loadFromData(image_data):
+ thumbnail = image
+
+ item.properties[key] = thumbnail
+ else:
+ raise Exception("Failed to create Thumbnail")
+ except:
+ #item.lock.unlock()
+ item.properties[key] = None
+ raise
+
+ add_to_cache(item.content.path(),key,item.properties[key])
+
+ #item.lock.unlock()
+
+ preview_keys = []
+
+ for i in range(4):
+ preview_keys.append('Preview_%d' % i)
+
+
+ if key in preview_keys:
+
+ try:
+
+ index = preview_keys.index(key)
+ indexF = index/4.0
+ scale = .19
+ width = int(1920*scale)
+ height = int(1080*scale)
+
+ frame = 0
+
+ if isinstance(item.content, content_types.ImageFile):
+
+ item.lock.lock()
+ data = None
+ for preview_key in preview_keys:
+ if item.properties.has_key(preview_key):
+ if item.properties[preview_key]:
+ data = item.properties[preview_key].copy()
+
+ if data:
+ data['preview_index'] = index
+ item.properties[key] = data
+ item.lock.unlock()
+ else:
+ try:
+ frame = item.content.frame_num()
+
+ image = QImage()
+ image_data = item.content.thumbnail(width,height)
+ if image.loadFromData(image_data):
+ item.properties[key] = {'preview':image,'frame':frame,'preview_index':index,'key':key,'status':'loaded'}
+ item.lock.unlock()
+ else:
+ raise Exception("Failed to create preview")
+ except:
+ item.lock.unlock()
+ raise
+
+ else:
+
+ frame = item.content.frameF(indexF)
+ image = QImage()
+ image_data = item.content.thumbnail(width,height,indexF=indexF)
+ #raise Exception()
+ if image.loadFromData(image_data):
+ item.properties[key] = {'preview':image,'frame':frame,'preview_index':index,'key':key,'status':'loaded'}
+ else:
+ raise Exception("Failed to create preview")
+
+
+ except:
+ item.properties[key] = None
+ raise
+
+ add_to_cache(item.content.path(),key,item.properties[key])
+
+
+
+
+class Information_Finder_Manager(QObject):
+ def __init__(self,parent=None):
+ super(Information_Finder_Manager, self).__init__(parent)
+
+ self.workers = []
+ self.work = []
+ self.mutex = QMutex()
+ self.work_buffer = 2
+
+ worker_count = max(2,cpu_count())
+
+ worker_count = min(worker_count,4)
+
+ self.max_work = worker_count * 10
+
+ print worker_count, 'workers!'
+
+ for i in range(worker_count):
+ self.add_worker()
+
+ def clear(self):
+ cleared_work = []
+ while self.work:
+ cleared_work.append(self.work.pop())
+
+
+ for worker in self.workers:
+ cleared_work.extend(worker.clear())
+
+ return cleared_work
+
+
+ def add_worker(self):
+
+ worker = Information_Finder_Thread(mutex=self.mutex)
+
+ self.connect(worker, SIGNAL('work_done'),self.work_done)
+ self.connect(worker, SIGNAL('work_error'),self.work_error)
+ self.connect(worker, SIGNAL('work_stoped'),self.work_stoped)
+
+ self.workers.append(worker)
+
+
+ def set_item_queued(self,item,key):
+
+ if key in item.data_queued:
+ pass
+ else:
+ item.data_queued.append(key)
+
+ def add_work(self,item,key,priority=False):
+
+ for i in range(self.work.count((item,key))):
+ #print 'already in queue'
+ index = self.work.index((item,key))
+ old_item,old_key = self.work.pop(index)
+
+
+ self.set_item_queued(item, key)
+
+ if priority:
+ #print 'adding to top',key
+ self.work.insert(0,(item,key))
+
+ else:
+ #print 'adding to bottom'
+ self.work.append((item,key))
+
+
+ self.fill_workers()
+
+
+ def get_work_load(self):
+
+ load = 0
+ for item in self.workers:
+ load += len(item.work)
+
+ return load
+
+ def pop_work(self):
+
+ while True:
+
+ if not self.work:
+ return None
+
+ item,key = self.work.pop(0)
+
+ if item.dataReady(key):
+ self.data_ready(item,key)
+
+ elif key in item.data_loading:
+ pass
+ #print 'key already Loading!!!!!!!'
+
+ else:
+ return (item,key)
+
+
+ def fill_workers(self):
+
+ max_work_load = len(self.workers) * self.work_buffer
+ current_load = self.get_work_load()
+
+ if current_load < max_work_load:
+ for i in range(max_work_load-current_load):
+ job = self.pop_work()
+
+ if job:
+
+ self._add_work_to_workers(job)
+ else:
+ break
+
+ def _add_work_to_workers(self,job,top=False):
+
+ def work_length(item):return len(item.work)
+
+ worker = min(self.workers,key=work_length)
+
+ worker.add_work(job)
+
+ if not worker.isRunning():
+ worker.start()
+
+ def work_stoped(self,item,key):
+ self.emit(SIGNAL("work_stoped"),item)
+ self.fill_workers()
+ self.clean_item_loading(item, key)
+ def work_error(self,trace,item,key):
+ self.emit(SIGNAL("data_failed"),item,key)
+
+ print trace
+
+ self.fill_workers()
+ self.clean_item_loading(item, key)
+
+ def work_done(self,item,key):
+ #self.emit(SIGNAL("work_done"),item)
+
+ self.data_ready(item, key)
+ self.fill_workers()
+
+ def clean_item_loading(self,item,key):
+
+ for i in range(item.data_loading.count(key)):
+
+ item.data_loading.remove(key)
+
+
+ def clean_item_queue(self,item,key):
+
+ for i in range(item.data_queued.count(key)):
+
+ item.data_queued.remove(key)
+
+
+ def remove_data_request(self,items):
+
+ #print 'removing requests'
+
+
+ new_work_list = []
+
+ for item,key in self.work:
+
+
+ if item in items:
+
+ self.clean_item_queue(item,key)
+ else:
+ new_work_list.append((item,key))
+
+
+ self.work = new_work_list
+
+
+ def check_cache(self,item,key):
+
+
+ return Info_Cache[item.content.path()][key]
+
+ def data_request(self,items,priority):
+
+ while items:
+ item,key = items.pop(0)
+
+
+ cached = self.check_cache(item,key)
+
+ if cached:
+ print 'loading from cache',key
+ item.properties[key] = cached
+ self.data_ready(item, key)
+
+ else:
+
+
+ if item.lock is None:
+ item.lock = QMutex()
+
+ self.add_work(item,key,priority)
+
+ def data_ready(self,item,key):
+ item.data_loaded.append(key)
+ #item.data_loading.remove(key)
+
+ self.clean_item_loading(item, key)
+ self.emit(SIGNAL("data_ready"),item,key)
+
\ No newline at end of file
diff --git a/project_browser/main.py b/project_browser/main.py
new file mode 100644
index 0000000..a6eded5
--- /dev/null
+++ b/project_browser/main.py
@@ -0,0 +1,145 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+
+import sys
+import os
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import traceback
+
+from project_selector import Project_Selector_Widget
+
+from content_treeview import Content_Treeview_Widget
+
+from content_finder_manager import Content_Finder_Manager
+
+import gui_utilities
+import utilities
+
+
+class Project_Browser_Widget(QWidget):
+
+ def __init__(self,parent=None):
+ super(Project_Browser_Widget,self).__init__(parent)
+
+ self.project_selector = Project_Selector_Widget()
+
+ self.content_treeview = Content_Treeview_Widget()
+
+ self.content_manger = Content_Finder_Manager()
+
+
+ self.connect(self.project_selector, SIGNAL("item_selected"),self.content_manger.set_context)
+ self.connect(self.project_selector, SIGNAL("clear"),self.content_treeview.clear)
+ self.connect(self.content_manger, SIGNAL("Footage_load_finished"),self.content_treeview.load_finished)
+ self.connect(self.content_manger, SIGNAL("Footage_load_started"),self.content_treeview.load_started)
+ self.connect(self.content_manger, SIGNAL("Footage_load_stoped"),self.content_treeview.load_finished)
+
+ self.connect(self.content_manger,SIGNAL("work_progress"),self.content_treeview.set_progress)
+ self.connect(self.content_manger,SIGNAL("work_message"),self.content_treeview.set_message)
+
+ self.connect(self.content_treeview,SIGNAL("context_menu_action"),self.context_menu_action)
+
+ splitter = QSplitter(Qt.Vertical)
+ splitter.addWidget(self.project_selector)
+ splitter.addWidget(self.content_treeview)
+
+ splitter.setCollapsible(0,False)
+
+ splitter.setStretchFactor(1,1)
+ layout = QVBoxLayout()
+ layout.addWidget(splitter)
+ #layout.addWidget(self.project_selector)
+
+ #layout.addWidget(self.content_treeview)
+ self.setAcceptDrops(True)
+ self.setLayout(layout)
+
+ def context_menu_action(self,description):
+
+ project_item = self.project_selector.get_selected_item()
+
+ try:
+ description['func'](project_item,description['content'])
+ except:
+
+ gui_utilities.error_message(message='%s Error!' % description['name'],
+ info="A error occured when trying to execute %s" % description['name'],
+ details=traceback.format_exc())
+
+ def dragEnterEvent(self, event):
+
+
+ if event.mimeData().hasFormat('application/x-qabstractitemmodeldatalist'):
+ event.ignore()
+
+ else:
+
+ event.acceptProposedAction()
+
+ def dropEvent(self, event):
+ if event.mimeData().hasUrls():
+ event.accept()
+ l = []
+ for url in event.mimeData().urls():
+ l.append(str(url.toLocalFile()))
+ self.project_selector.set_path(os.path.abspath(l[0]))
+
+ else:
+ event.ignore()
+
+
+
+
+class Project_Browser(QMainWindow):
+ def __init__(self,parent=None):
+ super(Project_Browser,self).__init__(parent)
+
+ self.project_browser = Project_Browser_Widget()
+
+ self.setCentralWidget(self.project_browser)
+
+
+
+def run():
+ app = QApplication(sys.argv)
+
+
+ gui_utilities.register_resources()
+ gui_utilities.set_theme()
+ icon_path = os.path.join(utilities.find_image_dir(),'project_browser.png')
+ app.setWindowIcon(QIcon(icon_path))
+
+ main_widget = Project_Browser()
+ main_widget.setWindowTitle("Project Browser")
+
+ main_widget.show()
+ main_widget.raise_()
+ sys.exit(app.exec_())
+
+
+
+
+if __name__ == '__main__':
+
+
+
+ run()
\ No newline at end of file
diff --git a/project_browser/mime.types b/project_browser/mime.types
new file mode 100644
index 0000000..3e8a636
--- /dev/null
+++ b/project_browser/mime.types
@@ -0,0 +1,1093 @@
+# This is a comment. I love comments.
+
+# This file controls what Internet media types are sent to the client for
+# given file extension(s). Sending the correct media type to the client
+# is important so they know how to handle the content of the file.
+# Extra types can either be added here or by using an AddType directive
+# in your config files. For more information about Internet media types,
+# please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
+# registry is at .
+
+# MIME type Extensions
+application/activemessage
+application/andrew-inset ez
+application/applefile
+application/atom+xml atom
+application/atomcat+xml atomcat
+application/atomicmail
+application/atomsvc+xml atomsvc
+application/auth-policy+xml
+application/batch-smtp
+application/beep+xml
+application/cals-1840
+application/ccxml+xml ccxml
+application/cellml+xml
+application/cnrp+xml
+application/commonground
+application/conference-info+xml
+application/cpl+xml
+application/csta+xml
+application/cstadata+xml
+application/cybercash
+application/davmount+xml davmount
+application/dca-rft
+application/dec-dx
+application/dialog-info+xml
+application/dicom
+application/dns
+application/dvcs
+application/ecmascript ecma
+application/edi-consent
+application/edi-x12
+application/edifact
+application/epp+xml
+application/eshop
+application/fastinfoset
+application/fastsoap
+application/fits
+application/font-tdpfr pfr
+application/h224
+application/http
+application/hyperstudio stk
+application/iges
+application/im-iscomposing+xml
+application/index
+application/index.cmd
+application/index.obj
+application/index.response
+application/index.vnd
+application/iotp
+application/ipp
+application/isup
+application/javascript js
+application/json json
+application/kpml-request+xml
+application/kpml-response+xml
+application/lost+xml lostxml
+application/mac-binhex40 hqx
+application/mac-compactpro cpt
+application/macwriteii
+application/marc mrc
+#application/mathematica ma nb mb
+application/mathml+xml mathml
+application/mbms-associated-procedure-description+xml
+application/mbms-deregister+xml
+application/mbms-envelope+xml
+application/mbms-msk+xml
+application/mbms-msk-response+xml
+application/mbms-protection-description+xml
+application/mbms-reception-report+xml
+application/mbms-register+xml
+application/mbms-register-response+xml
+application/mbms-user-service-description+xml
+application/mbox mbox
+application/media_control+xml
+application/mediaservercontrol+xml mscml
+application/mikey
+application/moss-keys
+application/moss-signature
+application/mosskey-data
+application/mosskey-request
+application/mp4 mp4s
+application/mpeg4-generic
+application/mpeg4-iod
+application/mpeg4-iod-xmt
+application/msword doc dot
+application/mxf mxf
+application/nasdata
+application/news-transmission
+application/nss
+application/ocsp-request
+application/ocsp-response
+application/octet-stream bin dms lha lzh class so iso dmg dist distz pkg bpk dump elc scpt dmgpart
+application/oda oda
+application/oebps-package+xml
+application/ogg ogx
+application/parityfec
+application/patch-ops-error+xml xer
+application/pdf pdf
+application/pgp-encrypted pgp
+application/pgp-keys
+application/pgp-signature asc sig
+application/pics-rules prf
+application/pidf+xml
+application/pidf-diff+xml
+application/pkcs10 p10
+application/pkcs7-mime p7m p7c
+application/pkcs7-signature p7s
+application/pkix-cert cer
+application/pkix-crl crl
+application/pkix-pkipath pkipath
+application/pkixcmp pki
+application/pls+xml pls
+application/poc-settings+xml
+application/postscript ai eps ps
+application/prs.alvestrand.titrax-sheet
+application/prs.cww cww
+application/prs.nprend
+application/prs.plucker
+application/qsig
+application/rdf+xml rdf
+application/reginfo+xml rif
+application/relax-ng-compact-syntax rnc
+application/remote-printing
+application/resource-lists+xml rl
+application/resource-lists-diff+xml rld
+application/riscos
+application/rlmi+xml
+application/rls-services+xml rs
+application/rsd+xml rsd
+application/rss+xml rss
+application/rtf rtf
+application/rtx
+application/samlassertion+xml
+application/samlmetadata+xml
+application/sbml+xml sbml
+application/scvp-cv-request scq
+application/scvp-cv-response scs
+application/scvp-vp-request spq
+application/scvp-vp-response spp
+application/sdp sdp
+application/set-payment
+application/set-payment-initiation setpay
+application/set-registration
+application/set-registration-initiation setreg
+application/sgml
+application/sgml-open-catalog
+application/shf+xml shf
+application/sieve
+application/simple-filter+xml
+application/simple-message-summary
+application/simplesymbolcontainer
+application/slate
+application/smil
+application/smil+xml smi smil
+application/soap+fastinfoset
+application/soap+xml
+application/sparql-query rq
+application/sparql-results+xml srx
+application/spirits-event+xml
+application/srgs gram
+application/srgs+xml grxml
+application/ssml+xml ssml
+application/timestamp-query
+application/timestamp-reply
+application/tve-trigger
+application/ulpfec
+application/vemmi
+application/vividence.scriptfile
+application/vnd.3gpp.bsf+xml
+application/vnd.3gpp.pic-bw-large plb
+application/vnd.3gpp.pic-bw-small psb
+application/vnd.3gpp.pic-bw-var pvb
+application/vnd.3gpp.sms
+application/vnd.3gpp2.bcmcsinfo+xml
+application/vnd.3gpp2.sms
+application/vnd.3gpp2.tcap tcap
+application/vnd.3m.post-it-notes pwn
+application/vnd.accpac.simply.aso aso
+application/vnd.accpac.simply.imp imp
+application/vnd.acucobol acu
+application/vnd.acucorp atc acutc
+application/vnd.adobe.xdp+xml xdp
+application/vnd.adobe.xfdf xfdf
+application/vnd.aether.imp
+application/vnd.americandynamics.acc acc
+application/vnd.amiga.ami ami
+application/vnd.anser-web-certificate-issue-initiation cii
+application/vnd.anser-web-funds-transfer-initiation fti
+application/vnd.antix.game-component atx
+application/vnd.apple.installer+xml mpkg
+application/vnd.arastra.swi swi
+application/vnd.audiograph aep
+application/vnd.autopackage
+application/vnd.avistar+xml
+application/vnd.blueice.multipass mpm
+application/vnd.bmi bmi
+application/vnd.businessobjects rep
+application/vnd.cab-jscript
+application/vnd.canon-cpdl
+application/vnd.canon-lips
+application/vnd.cendio.thinlinc.clientconf
+application/vnd.chemdraw+xml cdxml
+application/vnd.chipnuts.karaoke-mmd mmd
+application/vnd.cinderella cdy
+application/vnd.cirpack.isdn-ext
+application/vnd.claymore cla
+application/vnd.clonk.c4group c4g c4d c4f c4p c4u
+application/vnd.commerce-battelle
+application/vnd.commonspace csp cst
+application/vnd.contact.cmsg cdbcmsg
+application/vnd.cosmocaller cmc
+application/vnd.crick.clicker clkx
+application/vnd.crick.clicker.keyboard clkk
+application/vnd.crick.clicker.palette clkp
+application/vnd.crick.clicker.template clkt
+application/vnd.crick.clicker.wordbank clkw
+application/vnd.criticaltools.wbs+xml wbs
+application/vnd.ctc-posml pml
+application/vnd.ctct.ws+xml
+application/vnd.cups-pdf
+application/vnd.cups-postscript
+application/vnd.cups-ppd ppd
+application/vnd.cups-raster
+application/vnd.cups-raw
+application/vnd.curl curl
+application/vnd.cybank
+application/vnd.data-vision.rdz rdz
+application/vnd.denovo.fcselayout-link fe_launch
+application/vnd.dna dna
+application/vnd.dolby.mlp mlp
+application/vnd.dpgraph dpg
+application/vnd.dreamfactory dfac
+application/vnd.dvb.esgcontainer
+application/vnd.dvb.ipdcesgaccess
+application/vnd.dvb.iptv.alfec-base
+application/vnd.dvb.iptv.alfec-enhancement
+application/vnd.dxr
+application/vnd.ecdis-update
+application/vnd.ecowin.chart mag
+application/vnd.ecowin.filerequest
+application/vnd.ecowin.fileupdate
+application/vnd.ecowin.series
+application/vnd.ecowin.seriesrequest
+application/vnd.ecowin.seriesupdate
+application/vnd.enliven nml
+application/vnd.epson.esf esf
+application/vnd.epson.msf msf
+application/vnd.epson.quickanime qam
+application/vnd.epson.salt slt
+application/vnd.epson.ssf ssf
+application/vnd.ericsson.quickcall
+application/vnd.eszigno3+xml es3 et3
+application/vnd.eudora.data
+application/vnd.ezpix-album ez2
+application/vnd.ezpix-package ez3
+application/vnd.fdf fdf
+application/vnd.ffsns
+application/vnd.fints
+application/vnd.flographit gph
+application/vnd.fluxtime.clip ftc
+application/vnd.font-fontforge-sfd
+application/vnd.framemaker fm frame maker
+application/vnd.frogans.fnc fnc
+application/vnd.frogans.ltf ltf
+application/vnd.fsc.weblaunch fsc
+application/vnd.fujitsu.oasys oas
+application/vnd.fujitsu.oasys2 oa2
+application/vnd.fujitsu.oasys3 oa3
+application/vnd.fujitsu.oasysgp fg5
+application/vnd.fujitsu.oasysprs bh2
+application/vnd.fujixerox.art-ex
+application/vnd.fujixerox.art4
+application/vnd.fujixerox.hbpl
+application/vnd.fujixerox.ddd ddd
+application/vnd.fujixerox.docuworks xdw
+application/vnd.fujixerox.docuworks.binder xbd
+application/vnd.fut-misnet
+application/vnd.fuzzysheet fzs
+application/vnd.genomatix.tuxedo txd
+application/vnd.gmx gmx
+application/vnd.google-earth.kml+xml kml
+application/vnd.google-earth.kmz kmz
+application/vnd.grafeq gqf gqs
+application/vnd.gridmp
+application/vnd.groove-account gac
+application/vnd.groove-help ghf
+application/vnd.groove-identity-message gim
+application/vnd.groove-injector grv
+application/vnd.groove-tool-message gtm
+application/vnd.groove-tool-template tpl
+application/vnd.groove-vcard vcg
+application/vnd.handheld-entertainment+xml zmm
+application/vnd.hbci hbci
+application/vnd.hcl-bireports
+application/vnd.hhe.lesson-player les
+application/vnd.hp-hpgl hpgl
+application/vnd.hp-hpid hpid
+application/vnd.hp-hps hps
+application/vnd.hp-jlyt jlt
+application/vnd.hp-pcl pcl
+application/vnd.hp-pclxl pclxl
+application/vnd.httphone
+application/vnd.hydrostatix.sof-data sfd-hdstx
+application/vnd.hzn-3d-crossword x3d
+application/vnd.ibm.afplinedata
+application/vnd.ibm.electronic-media
+application/vnd.ibm.minipay mpy
+application/vnd.ibm.modcap afp listafp list3820
+application/vnd.ibm.rights-management irm
+application/vnd.ibm.secure-container sc
+application/vnd.iccprofile icc icm
+application/vnd.igloader igl
+application/vnd.immervision-ivp ivp
+application/vnd.immervision-ivu ivu
+application/vnd.informedcontrol.rms+xml
+application/vnd.intercon.formnet xpw xpx
+application/vnd.intertrust.digibox
+application/vnd.intertrust.nncp
+application/vnd.intu.qbo qbo
+application/vnd.intu.qfx qfx
+application/vnd.iptc.g2.conceptitem+xml
+application/vnd.iptc.g2.knowledgeitem+xml
+application/vnd.iptc.g2.newsitem+xml
+application/vnd.iptc.g2.packageitem+xml
+application/vnd.ipunplugged.rcprofile rcprofile
+application/vnd.irepository.package+xml irp
+application/vnd.is-xpr xpr
+application/vnd.jam jam
+application/vnd.japannet-directory-service
+application/vnd.japannet-jpnstore-wakeup
+application/vnd.japannet-payment-wakeup
+application/vnd.japannet-registration
+application/vnd.japannet-registration-wakeup
+application/vnd.japannet-setstore-wakeup
+application/vnd.japannet-verification
+application/vnd.japannet-verification-wakeup
+application/vnd.jcp.javame.midlet-rms rms
+application/vnd.jisp jisp
+application/vnd.joost.joda-archive joda
+application/vnd.kahootz ktz ktr
+application/vnd.kde.karbon karbon
+application/vnd.kde.kchart chrt
+application/vnd.kde.kformula kfo
+application/vnd.kde.kivio flw
+application/vnd.kde.kontour kon
+application/vnd.kde.kpresenter kpr kpt
+application/vnd.kde.kspread ksp
+application/vnd.kde.kword kwd kwt
+application/vnd.kenameaapp htke
+application/vnd.kidspiration kia
+application/vnd.kinar kne knp
+application/vnd.koan skp skd skt skm
+application/vnd.kodak-descriptor sse
+application/vnd.liberty-request+xml
+application/vnd.llamagraphics.life-balance.desktop lbd
+application/vnd.llamagraphics.life-balance.exchange+xml lbe
+application/vnd.lotus-1-2-3 123
+application/vnd.lotus-approach apr
+application/vnd.lotus-freelance pre
+application/vnd.lotus-notes nsf
+application/vnd.lotus-organizer org
+application/vnd.lotus-screencam scm
+application/vnd.lotus-wordpro lwp
+application/vnd.macports.portpkg portpkg
+application/vnd.marlin.drm.actiontoken+xml
+application/vnd.marlin.drm.conftoken+xml
+application/vnd.marlin.drm.license+xml
+application/vnd.marlin.drm.mdcf
+application/vnd.mcd mcd
+application/vnd.medcalcdata mc1
+application/vnd.mediastation.cdkey cdkey
+application/vnd.meridian-slingshot
+application/vnd.mfer mwf
+application/vnd.mfmp mfm
+application/vnd.micrografx.flo flo
+application/vnd.micrografx.igx igx
+application/vnd.mif mif
+application/vnd.minisoft-hp3000-save
+application/vnd.mitsubishi.misty-guard.trustweb
+application/vnd.mobius.daf daf
+application/vnd.mobius.dis dis
+application/vnd.mobius.mbk mbk
+application/vnd.mobius.mqy mqy
+application/vnd.mobius.msl msl
+application/vnd.mobius.plc plc
+application/vnd.mobius.txf txf
+application/vnd.mophun.application mpn
+application/vnd.mophun.certificate mpc
+application/vnd.motorola.flexsuite
+application/vnd.motorola.flexsuite.adsi
+application/vnd.motorola.flexsuite.fis
+application/vnd.motorola.flexsuite.gotap
+application/vnd.motorola.flexsuite.kmr
+application/vnd.motorola.flexsuite.ttc
+application/vnd.motorola.flexsuite.wem
+application/vnd.motorola.iprm
+application/vnd.mozilla.xul+xml xul
+application/vnd.ms-artgalry cil
+application/vnd.ms-asf asf
+application/vnd.ms-cab-compressed cab
+application/vnd.ms-excel xls xlm xla xlc xlt xlw
+application/vnd.ms-fontobject eot
+application/vnd.ms-htmlhelp chm
+application/vnd.ms-ims ims
+application/vnd.ms-lrm lrm
+application/vnd.ms-playready.initiator+xml
+application/vnd.ms-powerpoint ppt pps pot
+application/vnd.ms-project mpp mpt
+application/vnd.ms-tnef
+application/vnd.ms-wmdrm.lic-chlg-req
+application/vnd.ms-wmdrm.lic-resp
+application/vnd.ms-wmdrm.meter-chlg-req
+application/vnd.ms-wmdrm.meter-resp
+application/vnd.ms-works wps wks wcm wdb
+application/vnd.ms-wpl wpl
+application/vnd.ms-xpsdocument xps
+application/vnd.mseq mseq
+application/vnd.msign
+application/vnd.multiad.creator
+application/vnd.multiad.creator.cif
+application/vnd.music-niff
+application/vnd.musician mus
+application/vnd.muvee.style msty
+application/vnd.ncd.control
+application/vnd.ncd.reference
+application/vnd.nervana
+application/vnd.netfpx
+application/vnd.neurolanguage.nlu nlu
+application/vnd.noblenet-directory nnd
+application/vnd.noblenet-sealer nns
+application/vnd.noblenet-web nnw
+application/vnd.nokia.catalogs
+application/vnd.nokia.conml+wbxml
+application/vnd.nokia.conml+xml
+application/vnd.nokia.isds-radio-presets
+application/vnd.nokia.iptv.config+xml
+application/vnd.nokia.landmark+wbxml
+application/vnd.nokia.landmark+xml
+application/vnd.nokia.landmarkcollection+xml
+application/vnd.nokia.n-gage.ac+xml
+application/vnd.nokia.n-gage.data ngdat
+application/vnd.nokia.n-gage.symbian.install n-gage
+application/vnd.nokia.ncd
+application/vnd.nokia.pcd+wbxml
+application/vnd.nokia.pcd+xml
+application/vnd.nokia.radio-preset rpst
+application/vnd.nokia.radio-presets rpss
+application/vnd.novadigm.edm edm
+application/vnd.novadigm.edx edx
+application/vnd.novadigm.ext ext
+application/vnd.oasis.opendocument.chart odc
+application/vnd.oasis.opendocument.chart-template otc
+application/vnd.oasis.opendocument.formula odf
+application/vnd.oasis.opendocument.formula-template otf
+application/vnd.oasis.opendocument.graphics odg
+application/vnd.oasis.opendocument.graphics-template otg
+application/vnd.oasis.opendocument.image odi
+application/vnd.oasis.opendocument.image-template oti
+application/vnd.oasis.opendocument.presentation odp
+application/vnd.oasis.opendocument.presentation-template otp
+application/vnd.oasis.opendocument.spreadsheet ods
+application/vnd.oasis.opendocument.spreadsheet-template ots
+application/vnd.oasis.opendocument.text odt
+application/vnd.oasis.opendocument.text-master otm
+application/vnd.oasis.opendocument.text-template ott
+application/vnd.oasis.opendocument.text-web oth
+application/vnd.obn
+application/vnd.olpc-sugar xo
+application/vnd.oma-scws-config
+application/vnd.oma-scws-http-request
+application/vnd.oma-scws-http-response
+application/vnd.oma.bcast.associated-procedure-parameter+xml
+application/vnd.oma.bcast.drm-trigger+xml
+application/vnd.oma.bcast.imd+xml
+application/vnd.oma.bcast.ltkm
+application/vnd.oma.bcast.notification+xml
+application/vnd.oma.bcast.provisioningtrigger
+application/vnd.oma.bcast.sgboot
+application/vnd.oma.bcast.sgdd+xml
+application/vnd.oma.bcast.sgdu
+application/vnd.oma.bcast.simple-symbol-container
+application/vnd.oma.bcast.smartcard-trigger+xml
+application/vnd.oma.bcast.sprov+xml
+application/vnd.oma.bcast.stkm
+application/vnd.oma.dcd
+application/vnd.oma.dcdc
+application/vnd.oma.dd2+xml dd2
+application/vnd.oma.drm.risd+xml
+application/vnd.oma.group-usage-list+xml
+application/vnd.oma.poc.detailed-progress-report+xml
+application/vnd.oma.poc.final-report+xml
+application/vnd.oma.poc.groups+xml
+application/vnd.oma.poc.invocation-descriptor+xml
+application/vnd.oma.poc.optimized-progress-report+xml
+application/vnd.oma.xcap-directory+xml
+application/vnd.omads-email+xml
+application/vnd.omads-file+xml
+application/vnd.omads-folder+xml
+application/vnd.omaloc-supl-init
+application/vnd.openofficeorg.extension oxt
+application/vnd.osa.netdeploy
+application/vnd.osgi.dp dp
+application/vnd.otps.ct-kip+xml
+application/vnd.palm prc pdb pqa oprc
+application/vnd.paos.xml
+application/vnd.pg.format str
+application/vnd.pg.osasli ei6
+application/vnd.piaccess.application-licence
+application/vnd.picsel efif
+application/vnd.poc.group-advertisement+xml
+application/vnd.pocketlearn plf
+application/vnd.powerbuilder6 pbd
+application/vnd.powerbuilder6-s
+application/vnd.powerbuilder7
+application/vnd.powerbuilder7-s
+application/vnd.powerbuilder75
+application/vnd.powerbuilder75-s
+application/vnd.preminet
+application/vnd.previewsystems.box box
+application/vnd.proteus.magazine mgz
+application/vnd.publishare-delta-tree qps
+application/vnd.pvi.ptid1 ptid
+application/vnd.pwg-multiplexed
+application/vnd.pwg-xhtml-print+xml
+application/vnd.qualcomm.brew-app-res
+application/vnd.quark.quarkxpress qxd qxt qwd qwt qxl qxb
+application/vnd.rapid
+application/vnd.recordare.musicxml mxl
+application/vnd.recordare.musicxml+xml
+application/vnd.renlearn.rlprint
+application/vnd.rn-realmedia rm
+application/vnd.route66.link66+xml link66
+application/vnd.ruckus.download
+application/vnd.s3sms
+application/vnd.sbm.mid2
+application/vnd.scribus
+application/vnd.sealed.3df
+application/vnd.sealed.csf
+application/vnd.sealed.doc
+application/vnd.sealed.eml
+application/vnd.sealed.mht
+application/vnd.sealed.net
+application/vnd.sealed.ppt
+application/vnd.sealed.tiff
+application/vnd.sealed.xls
+application/vnd.sealedmedia.softseal.html
+application/vnd.sealedmedia.softseal.pdf
+application/vnd.seemail see
+application/vnd.sema sema
+application/vnd.semd semd
+application/vnd.semf semf
+application/vnd.shana.informed.formdata ifm
+application/vnd.shana.informed.formtemplate itp
+application/vnd.shana.informed.interchange iif
+application/vnd.shana.informed.package ipk
+application/vnd.simtech-mindmapper twd twds
+application/vnd.smaf mmf
+application/vnd.software602.filler.form+xml
+application/vnd.software602.filler.form-xml-zip
+application/vnd.solent.sdkm+xml sdkm sdkd
+application/vnd.spotfire.dxp dxp
+application/vnd.spotfire.sfs sfs
+application/vnd.sss-cod
+application/vnd.sss-dtf
+application/vnd.sss-ntf
+application/vnd.street-stream
+application/vnd.sun.wadl+xml
+application/vnd.sus-calendar sus susp
+application/vnd.svd svd
+application/vnd.swiftview-ics
+application/vnd.syncml+xml xsm
+application/vnd.syncml.dm+wbxml bdm
+application/vnd.syncml.dm+xml xdm
+application/vnd.syncml.ds.notification
+application/vnd.tao.intent-module-archive tao
+application/vnd.tmobile-livetv tmo
+application/vnd.trid.tpt tpt
+application/vnd.triscape.mxs mxs
+application/vnd.trueapp tra
+application/vnd.truedoc
+application/vnd.ufdl ufd ufdl
+application/vnd.uiq.theme utz
+application/vnd.umajin umj
+application/vnd.unity unityweb
+application/vnd.uoml+xml uoml
+application/vnd.uplanet.alert
+application/vnd.uplanet.alert-wbxml
+application/vnd.uplanet.bearer-choice
+application/vnd.uplanet.bearer-choice-wbxml
+application/vnd.uplanet.cacheop
+application/vnd.uplanet.cacheop-wbxml
+application/vnd.uplanet.channel
+application/vnd.uplanet.channel-wbxml
+application/vnd.uplanet.list
+application/vnd.uplanet.list-wbxml
+application/vnd.uplanet.listcmd
+application/vnd.uplanet.listcmd-wbxml
+application/vnd.uplanet.signal
+application/vnd.vcx vcx
+application/vnd.vd-study
+application/vnd.vectorworks
+application/vnd.vidsoft.vidconference
+application/vnd.visio vsd vst vss vsw
+application/vnd.visionary vis
+application/vnd.vividence.scriptfile
+application/vnd.vsf vsf
+application/vnd.wap.sic
+application/vnd.wap.slc
+application/vnd.wap.wbxml wbxml
+application/vnd.wap.wmlc wmlc
+application/vnd.wap.wmlscriptc wmlsc
+application/vnd.webturbo wtb
+application/vnd.wfa.wsc
+application/vnd.wmc
+application/vnd.wmf.bootstrap
+application/vnd.wordperfect wpd
+application/vnd.wqd wqd
+application/vnd.wrq-hp3000-labelled
+application/vnd.wt.stf stf
+application/vnd.wv.csp+wbxml
+application/vnd.wv.csp+xml
+application/vnd.wv.ssp+xml
+application/vnd.xara xar
+application/vnd.xfdl xfdl
+application/vnd.xmi+xml
+application/vnd.xmpie.cpkg
+application/vnd.xmpie.dpkg
+application/vnd.xmpie.plan
+application/vnd.xmpie.ppkg
+application/vnd.xmpie.xlim
+application/vnd.yamaha.hv-dic hvd
+application/vnd.yamaha.hv-script hvs
+application/vnd.yamaha.hv-voice hvp
+application/vnd.yamaha.smaf-audio saf
+application/vnd.yamaha.smaf-phrase spf
+application/vnd.yellowriver-custom-menu cmp
+application/vnd.zzazz.deck+xml zaz
+application/voicexml+xml vxml
+application/watcherinfo+xml
+application/whoispp-query
+application/whoispp-response
+application/winhlp hlp
+application/wita
+application/wordperfect5.1
+application/wsdl+xml wsdl
+application/wspolicy+xml wspolicy
+application/x-ace-compressed ace
+application/x-bcpio bcpio
+application/x-bittorrent torrent
+application/x-bzip bz
+application/x-bzip2 bz2 boz
+application/x-cdlink vcd
+application/x-chat chat
+application/x-chess-pgn pgn
+application/x-compress
+application/x-cpio cpio
+application/x-csh csh
+application/x-director dcr dir dxr fgd
+application/x-dvi dvi
+application/x-futuresplash spl
+application/x-gtar gtar
+application/x-gzip
+application/x-hdf hdf
+application/x-java-jnlp-file jnlp
+application/x-latex latex
+application/x-ms-wmd wmd
+application/x-ms-wmz wmz
+application/x-msaccess mdb
+application/x-msbinder obd
+application/x-mscardfile crd
+application/x-msclip clp
+application/x-msdownload exe dll com bat msi
+application/x-msmediaview mvb m13 m14
+application/x-msmetafile wmf
+application/x-msmoney mny
+application/x-mspublisher pub
+application/x-msschedule scd
+application/x-msterminal trm
+application/x-mswrite wri
+application/x-netcdf nc cdf
+application/x-pkcs12 p12 pfx
+application/x-pkcs7-certificates p7b spc
+application/x-pkcs7-certreqresp p7r
+application/x-rar-compressed rar
+application/x-sh sh
+application/x-shar shar
+application/x-shockwave-flash swf
+application/x-stuffit sit
+application/x-stuffitx sitx
+application/x-sv4cpio sv4cpio
+application/x-sv4crc sv4crc
+application/x-tar tar
+application/x-tcl tcl
+application/x-tex tex
+application/x-texinfo texinfo texi
+application/x-ustar ustar
+application/x-wais-source src
+application/x-x509-ca-cert der crt
+application/x400-bp
+application/xcap-att+xml
+application/xcap-caps+xml
+application/xcap-el+xml
+application/xcap-error+xml
+application/xcap-ns+xml
+application/xenc+xml xenc
+application/xhtml+xml xhtml xht
+application/xml xml xsl
+application/xml-dtd dtd
+application/xml-external-parsed-entity
+application/xmpp+xml
+application/xop+xml xop
+application/xslt+xml xslt
+application/xspf+xml xspf
+application/xv+xml mxml xhvml xvml xvm
+application/zip zip
+audio/32kadpcm
+audio/3gpp
+audio/3gpp2
+audio/ac3
+audio/amr
+audio/amr-wb
+audio/amr-wb+
+audio/asc
+audio/basic au snd
+audio/bv16
+audio/bv32
+audio/clearmode
+audio/cn
+audio/dat12
+audio/dls
+audio/dsr-es201108
+audio/dsr-es202050
+audio/dsr-es202211
+audio/dsr-es202212
+audio/dvi4
+audio/eac3
+audio/evrc
+audio/evrc-qcp
+audio/evrc0
+audio/evrc1
+audio/evrcb
+audio/evrcb0
+audio/evrcb1
+audio/evrcwb
+audio/evrcwb0
+audio/evrcwb1
+audio/g722
+audio/g7221
+audio/g723
+audio/g726-16
+audio/g726-24
+audio/g726-32
+audio/g726-40
+audio/g728
+audio/g729
+audio/g7291
+audio/g729d
+audio/g729e
+audio/gsm
+audio/gsm-efr
+audio/ilbc
+audio/l16
+audio/l20
+audio/l24
+audio/l8
+audio/lpc
+audio/midi mid midi kar rmi
+audio/mobile-xmf
+audio/mp4 mp4a
+audio/mp4a-latm m4a m4p
+audio/mpa
+audio/mpa-robust
+audio/mpeg mpga mp2 mp2a mp3 m2a m3a
+audio/mpeg4-generic
+audio/ogg oga ogg spx
+audio/parityfec
+audio/pcma
+audio/pcmu
+audio/prs.sid
+audio/qcelp
+audio/red
+audio/rtp-enc-aescm128
+audio/rtp-midi
+audio/rtx
+audio/smv
+audio/smv0
+audio/smv-qcp
+audio/sp-midi
+audio/t140c
+audio/t38
+audio/telephone-event
+audio/tone
+audio/ulpfec
+audio/vdvi
+audio/vmr-wb
+audio/vnd.3gpp.iufp
+audio/vnd.4sb
+audio/vnd.audiokoz
+audio/vnd.celp
+audio/vnd.cisco.nse
+audio/vnd.cmles.radio-events
+audio/vnd.cns.anp1
+audio/vnd.cns.inf1
+audio/vnd.digital-winds eol
+audio/vnd.dlna.adts
+audio/vnd.dolby.mlp
+audio/vnd.dts dts
+audio/vnd.dts.hd dtshd
+audio/vnd.everad.plj
+audio/vnd.hns.audio
+audio/vnd.lucent.voice lvp
+audio/vnd.ms-playready.media.pya pya
+audio/vnd.nokia.mobile-xmf
+audio/vnd.nortel.vbk
+audio/vnd.nuera.ecelp4800 ecelp4800
+audio/vnd.nuera.ecelp7470 ecelp7470
+audio/vnd.nuera.ecelp9600 ecelp9600
+audio/vnd.octel.sbc
+audio/vnd.qcelp
+audio/vnd.rhetorex.32kadpcm
+audio/vnd.sealedmedia.softseal.mpeg
+audio/vnd.vmx.cvsd
+audio/vorbis
+audio/vorbis-config
+audio/wav wav
+audio/x-aiff aif aiff aifc
+audio/x-mpegurl m3u
+audio/x-ms-wax wax
+audio/x-ms-wma wma
+audio/x-pn-realaudio ram ra
+audio/x-pn-realaudio-plugin rmp
+audio/x-wav wav
+chemical/x-cdx cdx
+chemical/x-cif cif
+chemical/x-cmdf cmdf
+chemical/x-cml cml
+chemical/x-csml csml
+chemical/x-pdb pdb
+chemical/x-xyz xyz
+image/bmp bmp
+image/cgm cgm
+image/fits
+image/g3fax g3
+image/gif gif
+image/ief ief
+image/jp2 jp2
+image/jpeg jpeg jpg jpe
+image/jpm
+image/jpx
+image/naplps
+image/pict pict pic pct
+image/png png
+image/prs.btif btif
+image/prs.pti
+image/svg+xml svg svgz
+image/t38
+image/tiff tiff tif
+image/tiff-fx
+image/vnd.adobe.photoshop psd
+image/vnd.cns.inf2
+image/vnd.djvu djvu djv
+image/vnd.dwg dwg
+image/vnd.dxf dxf
+image/vnd.fastbidsheet fbs
+image/vnd.fpx fpx
+image/vnd.fst fst
+image/vnd.fujixerox.edmics-mmr mmr
+image/vnd.fujixerox.edmics-rlc rlc
+image/vnd.globalgraphics.pgb
+image/vnd.microsoft.icon
+image/vnd.mix
+image/vnd.ms-modi mdi
+image/vnd.net-fpx npx
+image/vnd.sealed.png
+image/vnd.sealedmedia.softseal.gif
+image/vnd.sealedmedia.softseal.jpg
+image/vnd.svf
+image/vnd.wap.wbmp wbmp
+image/vnd.xiff xif
+image/x-cmu-raster ras
+image/x-cmx cmx
+image/x-icon ico
+image/x-macpaint pntg pnt mac
+image/x-pcx pcx
+image/x-pict pic pct
+image/x-portable-anymap pnm
+image/x-portable-bitmap pbm
+image/x-portable-graymap pgm
+image/x-portable-pixmap ppm
+image/x-quicktime qtif qti
+image/x-rgb rgb
+image/x-xbitmap xbm
+image/x-xpixmap xpm
+image/x-xwindowdump xwd
+message/cpim
+message/delivery-status
+message/disposition-notification
+message/external-body
+message/global
+message/global-delivery-status
+message/global-disposition-notification
+message/global-headers
+message/http
+message/news
+message/partial
+message/rfc822 eml mime
+message/s-http
+message/sip
+message/sipfrag
+message/tracking-status
+message/vnd.si.simp
+model/iges igs iges
+model/mesh msh mesh silo
+model/vnd.dwf dwf
+model/vnd.flatland.3dml
+model/vnd.gdl gdl
+model/vnd.gs.gdl
+model/vnd.gtw gtw
+model/vnd.moml+xml
+model/vnd.mts mts
+model/vnd.parasolid.transmit.binary
+model/vnd.parasolid.transmit.text
+model/vnd.vtu vtu
+model/vrml wrl vrml
+multipart/alternative
+multipart/appledouble
+multipart/byteranges
+multipart/digest
+multipart/encrypted
+multipart/form-data
+multipart/header-set
+multipart/mixed
+multipart/parallel
+multipart/related
+multipart/report
+multipart/signed
+multipart/voice-message
+text/calendar ics ifb
+text/css css
+text/csv csv
+text/directory
+text/dns
+text/enriched
+text/html html htm
+text/parityfec
+text/plain txt text conf def list log in
+text/prs.fallenstein.rst
+text/prs.lines.tag dsc
+text/red
+text/rfc822-headers
+text/richtext rtx
+text/rtf
+text/rtp-enc-aescm128
+text/rtx
+text/sgml sgml sgm
+text/t140
+text/tab-separated-values tsv
+text/troff t tr roff man me ms
+text/ulpfec
+text/uri-list uri uris urls
+text/vnd.abc
+text/vnd.curl
+text/vnd.dmclientscript
+text/vnd.esmertec.theme-descriptor
+text/vnd.fly fly
+text/vnd.fmi.flexstor flx
+text/vnd.graphviz gv
+text/vnd.in3d.3dml 3dml
+text/vnd.in3d.spot spot
+text/vnd.iptc.newsml
+text/vnd.iptc.nitf
+text/vnd.latex-z
+text/vnd.motorola.reflex
+text/vnd.ms-mediapackage
+text/vnd.net2phone.commcenter.command
+text/vnd.si.uricatalogue
+text/vnd.sun.j2me.app-descriptor jad
+text/vnd.trolltech.linguist
+text/vnd.wap.si
+text/vnd.wap.sl
+text/vnd.wap.wml wml
+text/vnd.wap.wmlscript wmls
+text/x-asm s asm
+text/x-c c cc cxx cpp h hh dic
+text/x-fortran f for f77 f90
+text/x-pascal p pas
+text/x-java-source java
+text/x-setext etx
+text/x-uuencode uu
+text/x-vcalendar vcs
+text/x-vcard vcf
+text/xml
+text/xml-external-parsed-entity
+video/3gpp 3gp
+video/3gpp-tt
+video/3gpp2 3g2
+video/bmpeg
+video/bt656
+video/celb
+video/dv
+video/h261 h261
+video/h263 h263
+video/h263-1998
+video/h263-2000
+video/h264 h264
+video/jpeg jpgv
+video/jpeg2000
+video/jpm jpm jpgm
+video/mj2 mj2 mjp2
+video/mp1s
+video/mp2p
+video/mp2t
+video/mp4 mp4 mp4v mpg4 m4v
+video/mp4v-es
+video/mpeg mpeg mpg mpe m1v m2v
+video/mpeg4-generic
+video/mpv
+video/nv
+video/ogg ogv
+video/parityfec
+video/pointer
+video/quicktime qt mov
+video/raw
+video/rtp-enc-aescm128
+video/rtx
+video/smpte292m
+video/ulpfec
+video/vc1
+video/vnd.cctv
+video/vnd.dlna.mpeg-tts
+video/vnd.fvt fvt
+video/vnd.hns.video
+video/vnd.iptvforum.1dparityfec-1010
+video/vnd.iptvforum.1dparityfec-2005
+video/vnd.iptvforum.2dparityfec-1010
+video/vnd.iptvforum.2dparityfec-2005
+video/vnd.iptvforum.ttsavc
+video/vnd.iptvforum.ttsmpeg2
+video/vnd.motorola.video
+video/vnd.motorola.videop
+video/vnd.mpegurl mxu m4u
+video/vnd.ms-playready.media.pyv pyv
+video/vnd.nokia.interleaved-multimedia
+video/vnd.nokia.videovoip
+video/vnd.objectvideo
+video/vnd.sealed.mpeg1
+video/vnd.sealed.mpeg4
+video/vnd.sealed.swf
+video/vnd.sealedmedia.softseal.mov
+video/vnd.vivo viv
+video/x-dv dv dif
+video/x-fli fli
+video/x-ms-asf asf asx
+video/x-ms-wm wm
+video/x-ms-wmv wmv
+video/x-ms-wmx wmx
+video/x-ms-wvx wvx
+video/x-msvideo avi
+video/x-sgi-movie movie
+x-conference/x-cooltalk ice
+#Add by me
+#More Image Formats
+image/dpx dpx
+image/exr exr
+image/hdr hdr
+image/raw raw cr2 crw dng
+image/iff iff
+image/sgi sgi
+image/pcd pcd
+image/cineon cin
+#More Video Formats
+video/x-matroska mkv
+video/webm webm
+video/dvd vob
+#More Text
+text/mel mel
+#More Application Formats
+application/maya ma mb
+application/maya-geocache mc
+application/maya-swatch swatch swatches
+application/shake shk
+application/nuke nk
+applicatons/boujou bpj
diff --git a/project_browser/progress_overlay.py b/project_browser/progress_overlay.py
new file mode 100644
index 0000000..0b3a8fd
--- /dev/null
+++ b/project_browser/progress_overlay.py
@@ -0,0 +1,625 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import sys
+import os
+
+import traceback
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import traceback
+
+
+
+
+class Progress_Overlay_Painter(QObject):
+ def __init__(self,parent=None):
+ pass
+ #super(Progress_Overlay_Painter,self).__init__(parent)
+
+ self.message = ''
+ self.details = ''
+
+ self.progress_min = 0
+ self.progress_max = 100
+
+ self.progress_value = 0
+
+ self.last_progress_range = [0,0]
+
+ #self.continus = False
+
+ self.angle = 0
+
+ self.textColor = QColor(255,255,255,255)
+
+ self.progressColor = QColor(125,161,200)
+
+ self.bgColor = QColor(0,0,0,60)
+ self.spinner_color = QColor(39,144,255)
+ self.progressColor = self.spinner_color
+
+ self.visible = False
+
+
+ def set_message(self,message,details=''):
+ self.message = message
+ self.details = details
+
+ def set_progress(self,progress_min,progress_max,progress_value):
+ self.progress_min = float(progress_min)
+ self.progress_max = float(progress_max)
+ self.progress_value = float(progress_value)
+
+ if not [self.progress_min,self.progress_max] == self.last_progress_range:
+ self.last_progress_range = [self.progress_min,self.progress_max]
+ self.set_angle(0)
+
+ def show(self):
+ self.visible = True
+
+ def hide(self):
+ self.visible = False
+
+ def set_angle(self,value):
+ self.angle = value
+
+ def get_angle(self):
+ return self.angle
+
+ def get_progress_percent(self):
+
+ if self.progress_min == 0 and self.progress_max == 0:
+ return None
+
+ else:
+ percent = (self.progress_value - self.progress_min) / (self.progress_max - float(self.progress_min))
+ return int(100 * percent)
+
+
+ def set_paint_device(self,paint_device):
+
+ self.paint_device = paint_device
+
+ def draw_center(self,rect):
+ self.painter.drawLine(rect.center().x(),rect.top(),
+ rect.center().x(),rect.bottom())
+
+ self.painter.drawLine(rect.left(),rect.center().y(),
+ rect.right(),rect.center().y())
+
+ def fit_font(self,rect,font,string):
+ if not string:
+ string = ' '
+
+ width = rect.width()
+ height = rect.height()
+
+ font.setPixelSize(float(height))
+
+ fm = QFontMetricsF(font)
+
+ text_width = fm.width(string)
+
+ factor = width / float(text_width)
+ #print factor
+ if text_width > width:
+ font.setPixelSize(font.pixelSize() * factor)
+
+ return font
+
+ def draw_shadow(self,draw_cmd,args,pen=False):
+
+ self.painter.save()
+
+
+ self.painter.save()
+
+ shadow_color = QColor(0,0,0,128)
+ if pen:
+ self.painter.setPen(shadow_color)
+
+ else:
+ self.painter.setPen(Qt.NoPen)
+
+ self.painter.setBrush(shadow_color)
+
+ self.painter.translate(QPointF(1,1))
+ draw_cmd(*args)
+
+ self.painter.restore()
+
+ draw_cmd(*args)
+
+ self.painter.restore()
+
+
+ def draw_percent(self):
+ percent = self.get_progress_percent()
+
+ if percent != None:
+ self.painter.save()
+
+ self.painter.setPen(self.progressColor)
+ self.painter.setBrush(self.progressColor)
+
+
+ percent_value = str(percent) + '%'
+
+ font = QFont("Helvetica",25,QFont.Bold)
+ self.painter.setFont(self.fit_font(self.percent_rect, font, percent_value))
+
+
+
+ self.draw_shadow(self.painter.drawText,(self.percent_rect, Qt.AlignCenter,percent_value),pen=True)
+ #self.painter.drawText(self.percent_rect, Qt.AlignCenter,percent_value)
+
+
+
+ self.painter.restore()
+
+ def draw_message(self):
+ self.painter.save()
+
+
+ self.painter.setPen(self.textColor)
+ self.painter.setBrush(self.textColor)
+
+ title_font = QFont("Helvetica",25,QFont.Bold)
+
+ title_height = self.message_rect.height() * .1
+
+ details_height = self.message_rect.height() * .25
+
+
+
+ title_rect = QRectF(0,0,self.message_rect.width(),title_height)
+
+ title_text = self.message
+
+ title_font = self.fit_font(title_rect, title_font, title_text)
+
+ details_height_font = self.message_rect.width() * .05
+
+
+ details_font = QFont("Helvetica",details_height_font,QFont.Normal,)
+
+ info = QFontInfo(details_font)
+
+
+
+ details_font.setPointSizeF(details_height_font)
+
+ details_font.setPixelSize(details_height_font)
+ #title_rect.moveCenter(QPointF(self.message_rect.center()))
+
+ details_rect = QRectF(0,0,self.message_rect.width(),details_height)
+
+ details_text = self.details
+
+ self.painter.setFont(details_font)
+
+
+ new_details_rect = self.painter.boundingRect(details_rect, Qt.TextWordWrap, details_text)
+ #print new_rect,details_rect
+
+
+ new_details_rect.moveCenter(QPointF(self.message_rect.center()))
+
+ new_details_rect.translate(0,title_rect.height())
+
+
+ title_center_x = self.message_rect.center().x()
+
+ title_center_y = new_details_rect.top() - title_rect.height()
+
+
+ title_rect.moveCenter(QPointF(title_center_x,title_center_y))
+ #title_rect
+
+ #self.painter.scale(.5,.5)
+
+ #self.painter.drawText(new_details_rect, Qt.TextWordWrap,details_text)
+
+ args = (new_details_rect, Qt.TextWordWrap,details_text)
+ self.draw_shadow(self.painter.drawText, args, pen=True)
+
+ self.painter.setFont(title_font)
+
+
+ #self.painter.scale(.5,.5)
+
+ #self.painter.drawText(title_rect, Qt.AlignCenter,title_text)
+
+ args = (title_rect, Qt.AlignCenter,title_text)
+
+ self.draw_shadow(self.painter.drawText, args, pen=True)
+
+ self.painter.restore()
+
+ def draw_progress_spinner(self):
+ self.painter.save()
+
+ width = self.spinner_rect.width()
+ outerRadius = (width-1)*0.5
+ innerRadius = (width-1)*0.5*0.38
+
+ capsuleHeight = outerRadius - innerRadius
+ if width > 32:
+ capsuleWidth = capsuleHeight *.23
+ else:
+ capsuleWidth = capsuleHeight *.35
+
+ capsuleRadius = capsuleWidth/2.0
+
+
+
+
+ for i in xrange(12):
+ color = QColor(self.spinner_color)
+
+ color_bg = QColor(100,110,115)
+
+
+ percent = self.get_progress_percent()
+
+ if percent != None:
+
+ current_angle_precent = (i * 30.0) / 360.0
+
+ current_value = percent / 100.0
+
+ if current_angle_precent > current_value:
+ color = color_bg
+
+ else:
+
+ mix = i/12.0
+
+ color.setRedF((color.redF() * mix) + ( color_bg.redF() * (1-mix)) )
+ color.setGreenF((color.greenF() * mix) + ( color_bg.greenF() * (1-mix)) )
+ color.setBlueF((color.blueF() * mix) + ( color_bg.blueF() * (1-mix)) )
+ #item(1.0 - (i/12.0))
+ #color.setAlphaF(1.0 - (i/12.0))
+
+ self.painter.setPen(Qt.NoPen)
+
+ self.painter.setBrush(color)
+ self.painter.save()
+
+ self.painter.translate(self.spinner_rect.center())
+ self.painter.rotate(self.angle + i*30.0)
+
+ #self.painter.drawRoundedRect(-capsuleWidth*0.5,
+ # -(innerRadius+capsuleHeight),
+ # capsuleWidth, capsuleHeight,
+ # capsuleRadius, capsuleRadius)
+
+ args = (-capsuleWidth*0.5,
+ -(innerRadius+capsuleHeight),
+ capsuleWidth, capsuleHeight,
+ capsuleRadius, capsuleRadius)
+
+ self.draw_shadow(self.painter.drawRoundedRect, args, pen=False)
+
+ self.painter.restore()
+
+
+ self.painter.restore()
+
+ def paint_overlay(self):
+
+ if self.visible:
+ self.draw()
+
+ def draw(self):
+
+ self.painter = QPainter()
+
+
+ if hasattr(self.paint_device, 'viewport'): # if drowing on any vew widget
+ self.painter.begin(self.paint_device.viewport())
+
+ else:
+ self.painter.begin(self.paint_device)
+
+ self.painter.save()
+
+ self.painter.setRenderHint(QPainter.Antialiasing)
+
+
+ device_rect = self.paint_device.rect()
+
+
+ aspect = 9.0/16.0
+
+ overlay_width = device_rect.width() *.66
+
+ overlay_height = overlay_width * aspect
+
+
+ #overlay_height = overlay_height * device_rect.height()
+
+
+ vertical_spacing = .15
+
+ if device_rect.height() - overlay_height < device_rect.height() * vertical_spacing:
+ difference = device_rect.height() - overlay_height
+ factor = vertical_spacing - difference/float(device_rect.height())
+
+ overlay_width *= 1- factor
+ overlay_height *= 1- factor
+
+
+ if overlay_width < 100 or overlay_width < 100:
+ self.painter.restore()
+
+ self.painter.end()
+ return None
+
+
+ x_space = max((device_rect.width() * .25) * .5,(device_rect.height() * .25) * .5)
+ y_space = x_space
+
+
+ center = QPointF(self.paint_device.rect().center().x(),self.paint_device.rect().height() * .42)
+
+
+ self.overlay_rect = QRectF(0,0,overlay_width,overlay_height)
+ self.overlay_rect.moveCenter(center)
+
+
+
+
+ x_overlay_boarder = self.overlay_rect.width() * .02
+ y_overlay_boarder = self.overlay_rect.height() * .02
+
+ progress_message_ratio = .33
+
+ p_width = (self.overlay_rect.width() * (1.0-progress_message_ratio)) - (x_overlay_boarder *2.0)
+
+
+
+ progress_rect = self.overlay_rect.adjusted(x_overlay_boarder,y_overlay_boarder,
+ -p_width,-y_overlay_boarder)
+
+
+
+ p_width = (self.overlay_rect.width() * progress_message_ratio) + (x_overlay_boarder *3.0)
+ #p_topR = progress_rect.topRight()
+
+
+ self.message_rect = self.overlay_rect.adjusted(p_width,y_overlay_boarder,
+ -x_overlay_boarder,-y_overlay_boarder)
+
+
+ progress_spiner_ratio = .75
+
+ ps_height = (progress_rect.height() * (1.0 -progress_spiner_ratio) - y_overlay_boarder)
+
+ progress_spiner_center_rect = progress_rect.adjusted(x_overlay_boarder,y_overlay_boarder,
+ -x_overlay_boarder,-ps_height)
+
+
+ spiner_radius = min(progress_spiner_center_rect.width(),progress_spiner_center_rect.height()) * .5
+
+
+ #print spiner_radius
+ spinner_center = progress_spiner_center_rect.center()
+
+
+ self.spinner_rect = QRectF(0,0,spiner_radius*2,spiner_radius*2)
+
+ self.spinner_rect.moveCenter(QPointF(progress_spiner_center_rect.center()))
+
+
+ percent_border = 5
+
+
+
+ y_pspace = progress_rect.bottom() - self.spinner_rect.bottom() - percent_border
+ #print y_pspace
+
+
+ percent_center_y = self.spinner_rect.bottom() + (y_pspace * .5) + percent_border
+
+ self.percent_rect = QRectF(0,0,progress_rect.width(),y_pspace)
+
+ percent_center = QPointF(self.spinner_rect.center().x(),percent_center_y)
+
+ self.percent_rect.moveCenter(percent_center)
+
+
+ self.painter.setPen(Qt.NoPen)
+ self.painter.setBrush(self.bgColor)
+ self.painter.drawRoundedRect(self.overlay_rect, 20, 20,)
+
+ #self.painter.drawRoundedRect(progress_rect, 15, 15,)
+
+
+ #self.painter.drawEllipse(self.spinner_rect)
+
+
+ #self.painter.drawRoundedRect(self.message_rect,15,15)
+
+ #self.painter.drawRoundedRect(self.percent_rect,15,15)
+
+ #self.draw_center(self.message_rect)
+ #self.draw_center(self.spinner_rect)
+
+ self.draw_percent()
+ self.draw_message()
+ self.draw_progress_spinner()
+
+ self.painter.restore()
+
+ self.painter.end()
+
+
+
+class Overaly_Test_Widget(QListWidget):
+
+ def __init__(self,parent=None):
+ super(Overaly_Test_Widget,self).__init__(parent)
+
+ self.progress_overlay = Progress_Overlay_Painter()
+
+ self.setAlternatingRowColors(True)
+
+ self.progress_overlay.set_paint_device(self)
+
+ for i in range(30):
+ self.addItem(str(i+10000000000000000000))
+
+
+ def paintEvent(self,event):
+ super(Overaly_Test_Widget,self).paintEvent(event)
+
+
+ self.progress_overlay.paint_overlay()
+
+
+class Test_Widget(QWidget):
+
+
+ def __init__(self,parent=None):
+ super(Test_Widget,self).__init__(parent)
+
+ self.overlayWidget = Overaly_Test_Widget()
+
+ self.start_progressButton = QPushButton("start progress")
+ self.start_busyindicatorButton = QPushButton("start Busy indicator")
+ self.stop_button = QPushButton("stop")
+
+ message = "Message Title"
+ details = "This is a message of what the Progress Overlay is doing,lots of text is suppose to be able to go here so I'm typing alot just for fun, lets see if this will fit"
+ self.overlayWidget.progress_overlay.set_message(message=message, details=details)
+ layout = QVBoxLayout()
+
+ buttonLayout = QHBoxLayout()
+
+ layout.addWidget(self.overlayWidget)
+
+ buttonLayout.addWidget(self.start_progressButton)
+ buttonLayout.addWidget(self.start_busyindicatorButton)
+
+ buttonLayout.addWidget(self.stop_button)
+
+
+ layout.addLayout(buttonLayout)
+
+ self.setLayout(layout)
+
+ self.timer_id = None
+ self.delay = 200
+
+
+ self.connect(self.start_progressButton, SIGNAL('clicked ()'),self.start_progress)
+ self.connect(self.start_busyindicatorButton, SIGNAL('clicked ()'),self.start_busyindicator)
+ self.connect(self.stop_button, SIGNAL('clicked ()'),self.stop_progress)
+
+ self.busy = False
+
+
+ def start_progress(self):
+ self.overlayWidget.progress_overlay.show()
+ self.overlayWidget.progress_overlay.angle = 0
+ self.overlayWidget.progress_overlay.set_progress(0, 100, 0)
+ self.busy = False
+ self.startAnimation()
+
+ def start_busyindicator(self):
+ self.overlayWidget.progress_overlay.show()
+ self.overlayWidget.progress_overlay.angle = 0
+ self.overlayWidget.progress_overlay.set_progress(0, 0, 0)
+ self.busy = True
+
+ self.startAnimation()
+
+ def stop_progress(self):
+ self.overlayWidget.progress_overlay.hide()
+ self.stopAnimation()
+ viewport= self.overlayWidget.viewport()
+ viewport.update()
+
+ def startAnimation(self):
+
+ if not self.timer_id:
+ self.timer_id = self.startTimer(self.delay)
+
+
+ def stopAnimation(self):
+
+ if self.timer_id:
+ self.killTimer(self.timer_id)
+ self.timer_id = None
+
+ def timerEvent(self,event):
+
+ if self.busy:
+ angle = self.overlayWidget.progress_overlay.angle
+ self.overlayWidget.progress_overlay.angle = (angle + 30) % 360
+ else:
+ progress_value = self.overlayWidget.progress_overlay.progress_value
+ self.overlayWidget.progress_overlay.set_progress(0, 100, ( progress_value + 1) % 100)
+
+
+
+
+
+ #self.overlayWidget.repaint()
+ #self.overlayWidget.update()
+ #self.overlayWidget.setUpdatesEnabled(True)
+ #self.overlayWidget.repaint(self.overlayWidget.rect())
+ viewport= self.overlayWidget.viewport()
+ viewport.update()
+
+ #self.overlayWidget.repaint()
+
+
+
+ #self.overlayWidget.t
+
+
+
+
+def run_test():
+
+
+ QResource.registerResource('images/themes.rcc')
+
+
+ QIcon.setThemeSearchPaths([':/themes/tango'])
+
+ QIcon.setThemeName('Tango')
+ app = QApplication(sys.argv)
+ main = Test_Widget()
+
+ main.show()
+ main.raise_()
+
+ sys.exit(app.exec_())
+
+
+if __name__ == '__main__':
+
+
+
+ run_test()
\ No newline at end of file
diff --git a/project_browser/project_search.py b/project_browser/project_search.py
new file mode 100644
index 0000000..8f7cf36
--- /dev/null
+++ b/project_browser/project_search.py
@@ -0,0 +1,131 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import projects
+import os
+
+
+class Path_Finder(object):
+
+ """searches set projects for a path"""
+
+ def __init__(self,path,root):
+ """path is the path your looking for and root is to root of all projects"""
+ self.path = path
+ self.root = root
+
+ properties = {'name':'Name','type':'Type','path':''}
+ nearest = projects.Project_Item(properties=properties)
+
+ self.nearest_item = None
+
+ self.stop = False
+
+
+ def get_nearest_item(self):
+ """returns the nearest match to set path"""
+
+ match = self.search_projects()
+
+ if not match:
+ return self.nearest_item
+
+ self.nearest_item = match
+
+ return match
+
+
+ def compare_common_prefix(self,item,nearest_item):
+ """compares items path to self.path and sets self.nearest path if its the neareset"""
+
+ common = os.path.commonprefix([self.path,item.properties['path']])
+
+
+
+
+ if os.path.exists(common):
+ if len(common) > len(nearest_item.properties['path']):
+
+ if self.nearest_item:
+ if len(common) > len(self.nearest_item.properties['path']):
+ self.nearest_item = item
+ else:
+ self.nearest_item = item
+
+
+
+ return common
+
+ return None
+
+
+ def search_projects(self,root=None,nearest=None):
+ """walks projects trying to match a item to self.path
+ if you have your projects setup funky it might case a infinate loop"""
+
+ if nearest is None:
+ properties = {'name':'Name','type':'Type','path':''}
+ nearest = projects.Project_Item(properties=properties)
+
+ if root is None:
+ root = self.root
+
+ #print root.properties
+ try:
+ root.check_children()
+
+ except:
+ pass
+ #return None
+
+ match = None
+ for item in root.children:
+ if item.properties['path']:
+
+
+ item_path = item.properties['path']
+ new_common_prefix = self.compare_common_prefix(item,nearest)
+
+ if new_common_prefix:
+ #print new_common_prefix
+ if new_common_prefix == self.path:
+ match = item
+ break
+ else:
+ match = self.search_projects(item,item)
+ if match:
+ break
+
+ else:
+ match = None
+
+
+ else:
+ match = None
+
+
+ else:
+ match = self.search_projects(item,nearest)
+ if match:
+ break
+ else:
+ match = None
+
+
+ return match
+
+
diff --git a/project_browser/project_selector.py b/project_browser/project_selector.py
new file mode 100644
index 0000000..fbcfa67
--- /dev/null
+++ b/project_browser/project_selector.py
@@ -0,0 +1,1292 @@
+#Copyright 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import sys
+import os
+
+from PyQt4.QtGui import *
+from PyQt4.QtCore import *
+from PyQt4.Qt import *
+
+import project_search
+
+import traceback
+
+import projects
+
+import busy_indicator
+import gui_utilities
+
+import time
+from pprint import pprint
+
+
+class Background_Model_Thread(QThread):
+ def __init__(self,parent=None):
+
+ super(Background_Model_Thread, self).__init__(parent)
+ self.current_item = None
+ self.work = []
+
+ def set_stop(self):
+ self.current_item.stop = True
+
+ def clear(self):
+ work_items = []
+ while self.work:
+ item = self.work.pop()
+ self.clean_item(item)
+ work_items.append(item)
+ if self.current_item:
+ self.current_item.stop = True
+
+ return work_items
+
+ def add_work(self,item):
+ self.work.append(item)
+
+ def run(self):
+
+ while self.work:
+ item =self.work.pop(0)
+ self.current_item = item
+
+ try:
+ #time.sleep(2)
+ if isinstance(self.current_item, projects.Project_Item):
+ self.current_item.load_children()
+
+ elif isinstance(self.current_item, project_search.Path_Finder):
+ print 'getting nearest item'
+ self.current_item.get_nearest_item()
+
+ if item.stop:
+ self.work_stoped(self.current_item)
+
+ else:
+ self.work_done(self.current_item)
+
+ except:
+ trace = traceback.format_exc()
+ self.work_error(trace, item)
+
+ self.current_item = None
+
+ def clean_item(self,item):
+ if isinstance(item, projects.Project_Item):
+ item.loading=False
+ item.loaded = False
+
+ del item.children[:]
+
+ def work_error(self,trace,item):
+ self.clean_item(item)
+ self.emit(SIGNAL("work_error"),trace,item)
+
+ def work_stoped(self,item):
+ self.clean_item(item)
+ self.emit(SIGNAL("work_stoped"),item)
+
+ def work_done(self,item):
+ print 'work done'
+ self.emit(SIGNAL("work_done"),item)
+
+
+class Project_Model(QAbstractItemModel):
+ def __init__(self, parent=None):
+ super(Project_Model, self).__init__(parent)
+
+ root_properties = {'name':'Name','type':'Type'}
+ self.root_item = projects.Project_Item(properties=root_properties)
+
+ self.history = []
+ self.history_index = 0
+
+ self.background_thread = Background_Model_Thread()
+
+ self.connect(self.background_thread, SIGNAL('work_done'),self.work_done)
+ self.connect(self.background_thread, SIGNAL('work_stoped'),self.work_stoped)
+ self.connect(self.background_thread, SIGNAL('work_error'),self.work_error)
+
+
+ self.default_icon = QIcon.fromTheme('folder')
+
+ pixmaps = busy_indicator.get_indicator_pixmaps(20,20)
+
+ self.busy_pixmaps = []
+
+ for item in pixmaps:
+ self.busy_pixmaps.append(QIcon(item))
+ self.busy_index = 0
+ self.busy_delay = 150
+
+ self.loading_pixmap = self.busy_pixmaps[self.busy_index]
+
+ self.timer_id = None
+
+ self.setup_model()
+
+ self.startAnimation()
+
+ self.selected_item = None
+
+
+ def startAnimation(self):
+
+ if not self.timer_id:
+ self.timer_id = self.startTimer(self.busy_delay)
+
+
+ def stopAnimation(self):
+
+ if self.timer_id:
+ self.killTimer(self.timer_id)
+ self.timer_id = None
+ self.emit(SIGNAL('loaded_data'))
+
+ def timerEvent(self,event):
+
+ self.loading_pixmap = self.busy_pixmaps[self.busy_index]
+ self.busy_index = (self.busy_index + 1 ) % len(self.busy_pixmaps)
+
+ if self.selected_item:
+ if isinstance(self.selected_item,projects.Project_Item):
+ self.update_item_view(self.selected_item)
+
+
+
+ def columnCount(self, parent):
+ if parent.isValid():
+ return parent.internalPointer().columnCount()
+ else:
+ return self.root_item.columnCount()
+
+ def get_icon(self,path):
+
+ if os.path.exists(path):
+ return QIcon(path)
+
+ #else:
+ return QIcon.fromTheme(path)
+
+
+
+ def data(self, index, role):
+ if not index.isValid():
+
+ v = QVariant()
+ v.clear()
+ return v
+
+ if role == Qt.DecorationRole:
+ #print 'icon'
+ item = index.internalPointer()
+
+ #item_data = item.data(index.column())
+
+
+ if item.loading:
+ return self.loading_pixmap
+
+ if item.properties['icon']:
+
+ return self.get_icon(item.properties['icon'])
+
+ else:
+ return self.default_icon
+ #v = QVariant()
+ #v.clear()
+ #return v
+
+ if role != Qt.DisplayRole:
+
+
+ #print role
+
+ v = QVariant()
+ v.clear()
+ return v
+
+ item = index.internalPointer()
+
+ item_data = item.data(index.column())
+
+ if item_data:
+ return QVariant(item_data)
+
+
+ return item_data
+
+ def flags(self, index):
+ if not index.isValid():
+ return Qt.NoItemFlags
+
+ return Qt.ItemIsEnabled | Qt.ItemIsSelectable
+
+ def headerData(self, section, orientation, role):
+ if orientation == Qt.Horizontal and role == Qt.DisplayRole:
+ return self.root_item.data(section)
+
+ return None
+
+
+ def index(self, row, column, parent):
+
+ if not self.hasIndex(row, column, parent):
+ return QModelIndex()
+
+ if not parent.isValid():
+ parent_item = self.root_item
+ else:
+ parent_item = parent.internalPointer()
+
+ child_item = parent_item.child(row)
+ if child_item:
+ return self.createIndex(row, column, child_item)
+ else:
+ return QModelIndex()
+
+ def hasChildren(self,parent):
+ item_data = parent.internalPointer()
+ #print 'checking for children',parent,item_data
+
+
+ if not item_data:
+ return True
+
+ if not item_data.canLoadChildren():
+ return False
+ #if item_data.properties['']
+
+ if item_data.loaded:
+
+ if not item_data.children:
+ return False
+
+
+
+ return True
+
+ def parent(self, index):
+ if not index.isValid():
+ return QModelIndex()
+
+ child_item = index.internalPointer()
+ parent_item = child_item.parent()
+
+ if parent_item == self.root_item:
+ return QModelIndex()
+
+ return self.createIndex(parent_item.row(), 0, parent_item)
+
+ def rowCount(self, parent):
+ if parent.column() > 0:
+ return 0
+
+ if not parent.isValid():
+ parent_item = self.root_item
+ else:
+ parent_item = parent.internalPointer()
+
+ if parent_item.loading:
+
+ return 0
+ if not parent_item.loaded:
+ #self.add_work(parent_item)
+ return 0
+
+ childcount = parent_item.childCount()
+ return childcount
+
+
+ def load_index(self,index):
+ """loads a index if it needs to be loaded, sends it to add_work"""
+
+ item = index.internalPointer()
+
+ if item.loading:
+ pass
+ elif not item.loaded:
+ if item.canLoadChildren():
+ self.add_work(item)
+
+ else:
+ item.loaded = True
+ self.update_item_view(item)
+
+ else:
+ pass
+
+ self.add_to_history(index)
+
+ def reload_index(self,index):
+ item = index.internalPointer()
+ if item.loading:
+ pass
+
+ else:
+ del item.children[:]
+ item.loaded = False
+
+ self.add_work(item)
+ self.update_item_view(item)
+ #self.emit(SIGNAL('index_updated'),item)
+
+
+ pass
+
+ def add_to_history(self,index):
+
+ if self.history:
+ index_data = index.internalPointer()
+ last_index = self.history[self.history_index]
+
+ if index == last_index:
+ #print 'repeat'
+ self.print_history()
+ return None
+
+
+ if self.history_index + 1 < len(self.history):
+ del self.history[self.history_index + 1:]
+ #print index
+ self.history.append(index)
+ self.history_index = len(self.history)-1
+
+ #self.print_history()
+
+
+
+ def print_history(self):
+ print '****'
+ for i,item in enumerate(self.history):
+ data = item.internalPointer()
+ if i == self.history_index:
+ l = '*'
+ else:
+ l = ' '
+ print l,i,data
+
+ print '****'
+
+
+ #print 'click'
+
+
+ def add_work(self,item):
+ cleared_items = self.background_thread.clear()
+
+ print 'adding', item
+
+ if isinstance(item,projects.Project_Item):
+ item.loading = True
+
+ self.background_thread.add_work(item)
+
+ if not self.background_thread.isRunning():
+ print 'starting thread'
+
+ self.background_thread.start()
+
+
+ self.startAnimation()
+ self.selected_item = item
+ self.emit(SIGNAL('loading_data'))
+
+ for cleared_item in cleared_items:
+ if isinstance(item,projects.Project_Item):
+ self.update_item_view(cleared_item)
+ #item.load_children()
+
+ def work_done(self,work):
+ print '***loaded',work
+ if isinstance(work,projects.Project_Item):
+ self.update_item_view(work)
+
+ elif isinstance(work,project_search.Path_Finder):
+ self.path_search_ready(work)
+
+
+ if work == self.selected_item:
+ self.selected_item = None
+
+ self.stopAnimation()
+
+
+ def work_error(self,traceback,item):
+ print 'error'
+ print traceback
+
+ if item == self.selected_item:
+ self.selected_item = None
+ self.stopAnimation()
+
+ if isinstance(item,projects.Project_Item):
+ self.update_item_view(item)
+
+ def work_stoped(self,item):
+ print 'stoped'
+ if item == self.selected_item:
+ self.selected_item = None
+ self.stopAnimation()
+
+ if isinstance(item,projects.Project_Item):
+ self.update_item_view(item)
+
+ def update_item_view(self,item):
+ """send a dataChanged signal to the view"""
+ index_start = self.createIndex(item.row(), 0, item)
+ index_end = self.createIndex(item.row(), item.columnCount(), item)
+
+ self._dataChange(index_start, index_end)
+ #if reload_selected:
+ #self.emit(SIGNAL('index_updated'),item)
+
+ def _dataChange(self,index_start,index_end):
+ self.emit(SIGNAL('dataChanged(const QModelIndex &, const QModelIndex &)'), index_start, index_end)
+
+
+ def setup_model(self):
+
+ self.root_item.loaded = True
+ project_list = projects.get_projects()
+ for p in project_list:
+ self.root_item.addChild(p)
+
+ def path_search_ready(self,item):
+
+ item_data = item.nearest_item
+
+ if not item_data:
+ return
+
+ index_path = item_data.get_index_path()
+ index = self.createIndex(0, 0, self.root_item)
+
+ print index_path
+
+ for p in index_path[1:]:
+ print p
+ index = index.child(p['row'],0)
+
+ print 'path_search_ready'
+ self.emit(SIGNAL("path_search_ready"),index)
+ #return index
+
+ def path_search(self,path):
+ f = project_search.Path_Finder(path,self.root_item)
+ self.add_work(f)
+
+
+
+class Project_Item_Delegate(QStyledItemDelegate):
+
+ def __init__(self,parent=None):
+ super(Project_Item_Delegate,self).__init__(parent)
+
+
+class Project_QListView(QListView):
+
+ def scrollto(self,index,hint=QAbstractItemView.EnsureVisible):
+ print 'scroll to'
+ QListView.scrollTo(self,index,hint)
+
+ #self.setFocus()
+
+
+ def scrollContentsBy(self,dx,dy):
+
+ #print '%%%', dx,dy
+
+ QListView.scrollContentsBy(self,dx,dy)
+
+
+class Project_ColumnView(QColumnView):
+ def __init__(self,parent=None):
+ super(Project_ColumnView,self).__init__(parent)
+ self.setAlternatingRowColors(True)
+ self.setSelectionMode(QAbstractItemView.SingleSelection)
+ #self.setAutoScroll(False)
+
+ #print self.
+ #self.setAutoScrollMargin(False)
+ self.columnWidths_store = None
+
+ self.columns_list = []
+
+ #self.crea
+
+ def setModel(self,model):
+ QColumnView.setModel(self,model)
+ self.connect(model, SIGNAL("path_search_ready"),self.path_search_ready)
+
+ def set_navigator(self,navigator):
+
+ self.connect(navigator,SIGNAL("go_back"),self.go_back)
+ self.connect(navigator,SIGNAL("go_forward"),self.go_forward)
+ self.connect(navigator,SIGNAL("go_up"),self.go_up)
+ self.connect(navigator,SIGNAL("go_home"),self.go_home)
+
+ self.connect(navigator,SIGNAL("refresh"),self.refresh)
+ self.connect(navigator, SIGNAL("set_path"),self.set_path)
+
+ model = self.model()
+ self.connect(model,SIGNAL("loading_data"),navigator.start_animation)
+ self.connect(model,SIGNAL("loaded_data"),navigator.stop_animation)
+
+
+ def select_index(self,index):
+ self.go_home()
+ self.setCurrentIndex(index)
+ self.scrollTo(index)
+ self.update_size()
+
+ def clean_column_list(self):
+ """remove columns that have been delete by pyqt"""
+
+ #clean_list = []
+ deleted_columns = []
+
+ for item in self.columns_list:
+ try:
+ offset = item.horizontalOffset()
+ #clean_list.append(item)
+
+
+ except:
+
+ deleted_columns.append(item)
+ #print traceback.format_exc()
+ pass
+ for item in deleted_columns:
+ self.columns_list.remove(item)
+
+ def scrollTo(self,index,hint= QAbstractItemView.EnsureVisible):
+
+ QColumnView.scrollTo(self,index,hint)
+
+ parent = index.parent()
+ self.clean_column_list()
+
+ if parent.isValid():
+
+ for item in self.columns_list:
+ if item.rootIndex() == parent:
+ item.setCurrentIndex(index) #make sure that index is selected
+ #item.scrollTo( )
+
+
+ def check_columns_pos(self):
+
+ """this nasty hack fixes columns that are improperly layout, it runs before a repaint event"""
+
+ self.clean_column_list()
+ levels = self.levels_check()
+
+ if levels:
+ xpos = 0
+ for i,item in enumerate(self.columnWidths()):
+ if i < len(self.columns_list):
+ list_item = self.columns_list[i]
+
+ list_item_pos = list_item.pos()
+ list_item_xpos = list_item.pos().x()
+ list_item_ypos = list_item.pos().y()
+ correction = xpos - list_item_xpos
+
+
+ #print list_item.currentIndex()
+ #print xpos,list_item_xpos,correction
+
+ if correction < 0:
+ list_item.move(xpos,0)
+
+ #list_item.resize(list_item.size())
+
+ xpos += item
+
+
+
+ def go_back(self):
+ print 'back'
+ model = self.model()
+
+ if model.history_index:
+ index = self.currentIndex()
+ model.add_to_history(index)
+ model.history_index -= 1
+
+ index = model.history[model.history_index]
+
+
+ model.print_history()
+ self.select_index(index)
+
+ def go_forward(self):
+ print 'forward'
+ model = self.model()
+
+ if model.history_index < len(model.history)-1:
+ model.history_index += 1
+
+ index = model.history[model.history_index]
+
+ model.print_history()
+ self.select_index(index)
+
+ def go_up(self):
+ print 'up'
+
+ current = self.currentIndex()
+ parent = current.parent()
+
+ if parent:
+ self.select_index(parent)
+
+ def go_home(self):
+ print 'home'
+
+ self.reset()
+ self.emit(SIGNAL('reset'))
+
+ def refresh(self):
+ print 'refresh'
+
+ self.model().reload_index(self.currentIndex())
+
+ def set_path(self,path):
+
+ self.model().path_search(path)
+
+ #index = self.model().get_nearest_item(path)
+ #if index:
+ #self.select_index(index)
+
+ def path_search_ready(self,index):
+ self.select_index(index)
+
+ def dataChanged(self,topLeft,topRight):
+
+ QColumnView.dataChanged(self,topLeft,topRight)
+
+ if self.load_check(topLeft):
+ if topLeft == self.currentIndex():
+ self.index_ready(topLeft)
+
+
+
+ def createColumn(self,index):
+ """overloaded default createColumn to have control over the listViews"""
+
+ view = Project_QListView(self.viewport())
+
+ self.initializeColumn(view)
+
+ view.setRootIndex(index)
+
+ self.columns_list.append( view)
+
+
+
+ return view
+
+ def currentChanged(self,current,previous):
+
+ self.update_size()
+
+ QColumnView.currentChanged(self,current,previous)
+
+ self.index_changed(current, previous)
+ if self.load_check(current):
+ self.index_ready(current)
+
+ else:
+ model = self.model()
+ model.load_index(current) #load current index if it's not loaded
+
+
+ def index_changed(self,current,previous):
+
+ self.emit(SIGNAL('index_changed'),current,previous)
+
+
+ def index_ready(self,index):
+ self.emit(SIGNAL('index_ready'),index)
+ #print 'index selected'
+
+ def load_check(self,index):
+ item_data = index.internalPointer()
+
+ if item_data:
+ if item_data.loaded:
+ return True
+
+ return False
+
+ def scroll_check(self,dx):
+
+ if self.horizontalOffset() + dx > 0:
+ #print 'fixing offset'
+ dx = -self.horizontalOffset()
+
+ return dx
+
+ def levels_check(self):
+ current = self.currentIndex()
+
+
+ current_item = current.internalPointer()
+
+ try:
+ if current_item:
+ if current_item.properties['levels']:
+ #self.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
+ #self.setResizeGripsVisible(False)
+ return current_item.properties['levels']
+
+ #self.setHorizontalScrollBarPolicy(Qt.ScrollBarAsNeeded)
+ #self.setResizeGripsVisible(True)
+
+ except:
+ pass
+ return False
+
+
+ def scrollContentsBy(self,dx,dy):
+
+ if self.levels_check():
+ QColumnView.scrollContentsBy(self,0,dy) # disable scrolling on levels mode
+
+ else:
+
+ QColumnView.scrollContentsBy(self,self.scroll_check(dx),dy)
+
+ def resizeEvent(self,event):
+ #if self.levels_check():
+ #if self.
+
+ self.auto_size()
+ QColumnView.resizeEvent(self,event)
+
+
+ #self.viewport().update()
+
+ def paintEvent(self,event):
+ #self.auto_size()
+ self.check_columns_pos()
+ QColumnView.paintEvent(self,event)
+
+ def fit_columns(self):
+
+
+ levels = self.levels_check()
+
+ QColumnView.scrollContentsBy(self,-self.horizontalOffset(),0)
+ width = self.width()
+ split = width/float(levels)
+ columns = []
+
+ for i in range(levels):
+ columns.append(int(split))
+
+
+ columns[-1] = columns[-1] -2
+ self.setColumnWidths(columns)
+
+ def update_size(self):
+
+ viewport = self.viewport()
+ size = self.size()
+ viewport.resize(size)
+
+ viewport.repaint()
+ #viewport.update()
+ self.setFocus() #if the widgets not in focus it doesn't show selections on some occasions
+
+ def auto_size(self):
+
+ if self.levels_check():
+ self.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
+ self.setResizeGripsVisible(False)
+
+ self.columnWidths_store = self.columnWidths()
+ self.fit_columns()
+
+ else:
+ self.setHorizontalScrollBarPolicy(Qt.ScrollBarAsNeeded)
+ self.setResizeGripsVisible(True)
+
+class Combo_Button(QPushButton):
+ def __init__(self, parent=None):
+ super(Combo_Button,self).__init__(parent)
+ self.last_mouse_pos = None
+
+ def mousePressEvent(self, event):
+ self.last_mouse_pos = event.pos()
+ QPushButton.mousePressEvent(self, event)
+
+ def mouseReleaseEvent(self, event):
+ self.last_mouse_pos = event.pos()
+ QPushButton.mouseReleaseEvent(self, event)
+
+ def get_last_pos(self):
+ if self.last_mouse_pos:
+ return self.mapToGlobal(self.last_mouse_pos)
+ else:
+ return None
+
+
+
+class Project_Navigator_Widget(QWidget):
+
+ def __init__(self,parent=None):
+ super(Project_Navigator_Widget,self).__init__(parent)
+
+ self.homeButton = QPushButton()
+ self.upButton = QPushButton()
+ self.backButton = QPushButton()
+ self.forwardButton = QPushButton()
+
+
+ self.path = busy_indicator.Busy_QEdit()
+
+
+ self.refreshButton = QPushButton()
+ self.browseButton = QPushButton()
+
+ self.menuButton = Combo_Button()
+
+ homeIcon = QIcon.fromTheme('go-home')
+ upIcon = QIcon.fromTheme('go-up')
+ backIcon = QIcon.fromTheme('go-previous')
+ fowardIcon = QIcon.fromTheme('go-next')
+
+ refreshIcon = QIcon.fromTheme('reload')
+ browseIcon = QIcon.fromTheme('folder-open')
+
+ menuIcon =QIcon.fromTheme('preferences-system')
+
+ self.homeButton.setIcon(homeIcon)
+ self.upButton.setIcon(upIcon)
+ self.backButton.setIcon(backIcon)
+ self.forwardButton.setIcon(fowardIcon)
+
+ self.refreshButton.setIcon(refreshIcon)
+ self.browseButton.setIcon(browseIcon)
+ self.menuButton.setIcon(menuIcon)
+
+
+ #self.loadingIcon.setIc
+
+ ButtonSize = QSize(32,32)
+ IconSize = QSize(28,28)
+ for item in [self.homeButton,self.upButton,self.backButton,self.forwardButton, self.refreshButton,self.browseButton,self.menuButton]:
+ item.setFixedSize(ButtonSize)
+ item.setIconSize(IconSize)
+
+ self.path.setFixedHeight(IconSize.height())
+
+ self.connect(self.homeButton, SIGNAL("clicked ()"),self.go_home)
+ self.connect(self.upButton, SIGNAL("clicked ()"),self.go_up)
+ self.connect(self.backButton, SIGNAL("clicked ()"),self.go_back)
+ self.connect(self.forwardButton, SIGNAL("clicked ()"),self.go_forward)
+
+ self.connect(self.refreshButton, SIGNAL("clicked ()"),self.refresh)
+ self.connect(self.browseButton, SIGNAL("clicked ()"),self.browse)
+
+ self.connect(self.menuButton, SIGNAL("clicked ()"),self.popup_menu)
+
+
+ self.connect(self.path, SIGNAL("returnPressed ()"),self._set_path)
+
+ layout = QHBoxLayout()
+ layout.setMargin(5)
+
+ #layout.setSpacing(0)
+ layout.addWidget(self.homeButton)
+ layout.addWidget(self.upButton)
+ layout.addWidget(self.backButton)
+ layout.addWidget(self.forwardButton)
+ layout.addWidget(self.path)
+ #
+ layout.addSpacing(10)
+ #layout.addWidget(self.loadingIcon)
+ layout.addWidget(self.refreshButton)
+ layout.addWidget(self.browseButton)
+ #layout.addWidget(self.menuButton)
+
+
+ layout.setAlignment(Qt.AlignTop)
+ #layout.setStretch(0,0)
+
+ #layout.add
+ #self.loadingIcon.startAnimation()
+ self.setLayout(layout)
+ #popup.addAction(icon,'Get From Nuke')
+ #popup.addAction(icon,'Get From Maya')
+ #popup.addAction(icon,'Get From Shake')
+ #popup.addSeparator()
+ self.menu_items = [('emblem-symbolic-link','Get From Nuke'),
+ ('emblem-symbolic-link','Get From Shake'),
+ ('emblem-symbolic-link','Get From Maya'),
+ (None,None),
+ ('exit','Quit')]
+
+ def browse(self):
+
+ current_path = str(self.path.text())
+ file_list = gui_utilities.file_directory_dialog(default_dir=current_path)
+ print file_list
+ if file_list:
+ self.set_path(file_list[0], send_update=True)
+
+ def start_animation(self):
+ self.path.startAnimation()
+
+ def stop_animation(self):
+ self.path.stopAnimation()
+
+ def go_back(self):
+ self.emit(SIGNAL("go_back"))
+
+ def go_forward(self):
+ self.emit(SIGNAL("go_forward"))
+ def go_up(self):
+ self.emit(SIGNAL("go_up"))
+ def go_home(self):
+ self.emit(SIGNAL("go_home"))
+
+ self.clear()
+
+ def refresh(self):
+
+ self.emit(SIGNAL("refresh"))
+ #self.path.startAnimation()
+ #self.loadingIcon.startAnimation()
+
+
+ def set_path(self,path,send_update=False):
+ #print QUrl().fromLocalFile(path)
+
+ if os.path.isfile(path):
+ path = os.path.dirname(path)
+
+ self.path.setText(path)
+
+ if send_update:
+ self._set_path()
+
+ def _set_path(self):
+
+ path = self.path.text()
+ self.emit(SIGNAL('set_path'),str(path))
+
+ def clear(self):
+ self.set_path('')
+
+ def popup_menu(self):
+
+ popup = QMenu()
+ icon = QIcon.fromTheme('emblem-symbolic-link')
+
+
+ for icon,actionName in self.menu_items:
+
+ if icon and actionName:
+ popup.addAction(QIcon.fromTheme(icon),actionName)
+
+ else:
+ popup.addSeparator()
+
+ #popup.addAction(icon,'Get From Nuke')
+ #popup.addAction(icon,'Get From Maya')
+ #popup.addAction(icon,'Get From Shake')
+ #popup.addSeparator()
+ #popup.addAction(icon,'Show in Finder')
+
+ #popup.addSeparator()
+ #quit = popup.addAction(QIcon.fromTheme('exit'),'Quit')
+
+
+
+ popup.exec_(self.menuButton.get_last_pos())
+ #popuop
+
+ #self.setFixedSize(QSize(32*4 + 10,32))
+
+
+class Project_Selector(QWidget):
+
+ def __init__(self,parent=None):
+ super(Project_Selector,self).__init__(parent)
+
+ #self.path_label = QLabel()
+
+ self.view = Project_ColumnView()
+
+ self.navigation = Project_Navigator_Widget()
+
+ layout = QVBoxLayout()
+ topLayout = QHBoxLayout()
+ self.viewLayout = QHBoxLayout()
+
+ topLayout.addWidget(self.navigation)
+ #topLayout.addWidget(self.path_label)
+
+ #topLayout.setAlignment(Qt.AlignLeft)
+
+ self.viewLayout.addWidget(self.view)
+
+ layout.addLayout(topLayout)
+ layout.addLayout(self.viewLayout)
+
+ layout.setMargin(0)
+
+ self.setLayout(layout)
+
+ model = Project_Model()
+ #self.connect(self.view,SIGNAL("activated (const QModelIndex&)"),model.item_activated)
+
+ self.view.setModel(model)
+
+ self.view.set_navigator(self.navigation)
+ self.connect(self.view, SIGNAL('index_changed'),self.clear_path_label)
+ self.connect(self.view, SIGNAL("index_ready"),self.set_path_label)
+
+
+
+ def get_selected_item(self):
+
+ index = self.view.currentIndex()
+
+ item_data = index.internalPointer()
+
+ return item_data
+ #self.setStyleSheet("QScrollBar:vertical{background-color:grey}")
+
+ def clear_path_label(self,item,prevous):
+ self.navigation.set_path("")
+
+ def set_path_label(self,item):
+
+ project_item = item.internalPointer()
+
+ path = project_item.properties['path']
+
+ if not path:
+ path = ''
+
+ self.navigation.set_path(path)
+
+ def set_path(self,path):
+
+ self.navigation.set_path(path,send_update=True)
+
+
+def clean_QString(string):
+
+
+ if isinstance(string, QString):
+
+ return str(string)
+ else:
+ return string
+
+def clean_variant_data(data):
+
+ if isinstance(data, dict):
+ new_data = {}
+
+ for key,value in data.items():
+
+ new_key = clean_QString(key)
+
+ if isinstance(value,list) or isinstance(value, dict):
+ new_value = clean_variant_data(value)
+
+ else:
+ new_value = clean_QString(value)
+
+ new_data[new_key] = new_value
+
+ return new_data
+
+ elif isinstance(data, list):
+ new_data = []
+
+ for value in data:
+ if isinstance(value,list) or isinstance(value, dict):
+ new_value = clean_variant_data(value)
+
+ else:
+ new_value = clean_QString(value)
+
+ new_data.append(new_data)
+
+ return new_data
+
+
+ else:
+ return data
+
+
+class Mode_Data(object):
+
+ def __init__(self,data):
+
+ self._data = data
+
+ def data(self):
+ return self._data
+
+
+
+class Project_Selector_Widget(Project_Selector):
+
+ def __init__(self,parent=None):
+ super(Project_Selector_Widget,self).__init__(parent)
+
+ #self.project_selector = Project_Selector()
+
+ self.content_modes = QListWidget()
+ self.content_modes.setFixedWidth(150)
+ self.last_item_name = None
+ self.last_index_type = None
+
+ self.viewLayout.addWidget(self.content_modes)
+
+
+ self.connect(self.view, SIGNAL('index_changed'),self.index_changed)
+ self.connect(self.view, SIGNAL('index_ready'),self.index_ready)
+
+ self.connect(self.view,SIGNAL('reset'),self.clear)
+
+
+
+ self.connect(self.content_modes, SIGNAL('currentItemChanged (QListWidgetItem *,QListWidgetItem *)'),self.content_mode_changed)
+
+
+ def content_mode_changed(self,current,previous):
+
+
+ if current:
+ data_variant = current.data(Qt.UserRole)
+
+ data = data_variant.toPyObject().data()
+
+ index = self.view.currentIndex()
+
+ if index:
+ index_data = index.internalPointer()
+
+ if index_data:
+ self.last_index_type = index_data.properties['type']
+
+ new_data = dict(index_data.properties)
+
+ if not new_data.has_key('children'):
+
+
+ new_data['children'] = []
+
+ if not isinstance(new_data['children'], list):
+ new_data['children'] = []
+
+
+ for item in index_data.children:
+
+ new_data['children'].append(dict(item.properties))
+ #new_data
+
+ self.item_selected(new_data, data)
+
+
+
+ def item_selected(self,index_data,content_mode):
+
+ #print 'selected!'
+ #pprint( [index_data,content_mode],)
+
+ self.emit(SIGNAL("item_selected"),index_data,content_mode)
+
+
+ def sizeHint(self):
+
+ return QSize(700,200)
+
+
+ def index_changed(self,current,previous):
+ self.clear()
+
+ def index_ready(self,index):
+
+ #print '####',current
+ self.clear()
+ item_data = index.internalPointer()
+
+
+ if item_data.properties['content_dirs']:
+ self.set_content_dir_list(item_data.properties['content_dirs'])
+
+
+ def set_content_dir_list(self,item_list):
+
+
+ name_list = []
+
+ default = []
+ index = self.view.currentIndex()
+ index_data = index.internalPointer()
+
+ for item in item_list:
+
+ item_name = item['name']
+
+ list_item = QListWidgetItem(item_name,self.content_modes)
+ #name_list.append(list_item)
+ #print item
+ if item.has_key('default'):
+ if item['default']:
+ default = list_item
+
+ if item_name == self.last_item_name:
+ if index_data.properties['type'] == self.last_index_type:
+ default = list_item
+
+ list_item.setIcon(QIcon.fromTheme('image'))
+ list_item.setData(Qt.UserRole,QVariant(Mode_Data(item)))
+ #if item.has_key('icon')
+
+ #self.picker_list.addItems(name_list)
+ if default:
+ self.content_modes.scrollToItem(default)
+ self.content_modes.setCurrentItem(default)
+
+
+ def clear(self):
+ self.emit(SIGNAL("clear"))
+
+
+ current_item = self.content_modes.currentItem()
+
+ if current_item:
+
+ self.last_item_name = str(current_item.text())
+
+ self.content_modes.clear()
+
+
diff --git a/project_browser/projects.py b/project_browser/projects.py
new file mode 100644
index 0000000..7c636b0
--- /dev/null
+++ b/project_browser/projects.py
@@ -0,0 +1,397 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import os
+import imp
+import copy
+import traceback
+
+import re
+
+from collections import defaultdict
+
+import utilities
+
+def default_value():
+ return None
+
+class Project_Item():
+
+ def __init__(self,properties,parent=None):
+ self.parent_item = parent
+ self.properties = defaultdict(default_value)
+ for key,value in properties.items():
+ self.properties[key] = value
+ self.item_data = [self.properties['name'], self.properties['type']]
+ self.children = []
+
+
+ self.stop = False
+ self.loaded = False
+ self.loading = False
+
+
+ def __str__(self):
+ return self.properties['name']
+ def setParent(self,item):
+ self.parent_item = item
+
+
+ def get_index_path(self):
+
+ index_path = self._get_index_path()
+
+ index_path.reverse()
+
+ return index_path
+
+ def _get_index_path(self,index_path=None):
+
+ if index_path is None:
+ index_path = []
+
+ index_path.append({'name':self.properties['name'],'row':self.row(),'column':0})
+
+ if self.parent_item:
+ self.parent_item._get_index_path(index_path)
+
+ return index_path
+
+
+
+ def addChild(self,item):
+ item.setParent(self)
+ self.children.append(item)
+
+ def canLoadChildren(self):
+ if self.properties['subdirectories']:
+ return True
+ if self.properties['children']:
+ return True
+
+ if self.properties['children_func']:
+
+ return True
+
+ return False
+
+ def parent(self):
+ return self.parent_item
+
+ def child(self, row):
+ return self.children[row]
+
+ def row(self):
+ if self.parent_item:
+ return self.parent_item.children.index(self)
+
+ return 0
+
+ def columnCount(self):
+ return len(self.item_data)
+
+ def childCount(self):
+
+ if self.children:
+
+ return len(self.children)
+
+ return 0
+
+
+ def data(self, column):
+ try:
+ d = self.item_data[column]
+ return d
+ except IndexError:
+ return None
+
+ def check_children(self):
+ if not self.loaded:
+ if not self.loading:
+ self.load_children()
+ def load_children(self):
+ self.loading = True
+
+ if self.properties['children']:
+ for item_properties in self.properties['children']:
+ p = Project_Item(properties=item_properties)
+ self.addChild(p)
+
+
+ if self.properties['paths']:
+ for item in self.properties['paths']:
+ if os.path.exists(item):
+ self.properties['path'] = item
+ break
+
+ if self.stop:
+ return None
+
+
+ if self.properties['path'] and self.properties['subdirectories']:
+ for item in self.properties['subdirectories']:
+
+ subdirectory = item['path']
+ item_properties = item['properties']
+
+ if self.stop:
+ return None
+
+ if isinstance(item_properties, str):
+ if item_properties == 'self':
+ item_properties = copy.deepcopy(self.properties)
+
+
+ path = self.properties['path']
+ full_subdir_path = os.path.join(path,subdirectory)
+ for subdir_item in listdir_fullpath(full_subdir_path):
+ name = subdir_item[0]
+ path = subdir_item[1]
+ if check_item_rules(item_properties,path):
+
+ item_properties['name'] = name
+ item_properties['path'] = path
+ p = Project_Item(properties=item_properties)
+ self.addChild(p)
+
+ if self.stop:
+ return None
+
+
+
+
+ if self.stop:
+ return None
+
+ if self.properties['children_func']:
+
+ children = self.properties['children_func'](self.properties)
+
+ if isinstance(children, list):
+ for item_properties in children:
+ if self.stop:
+ return None
+
+ p = Project_Item(properties=item_properties)
+ self.addChild(p)
+
+ self.loaded = True
+ self.loading = False
+
+def check_item_rules(item_type,path):
+
+ if item_type.has_key('ignore'):
+ for item in item_type['ignore']:
+ basename = os.path.basename(path)
+ p = re.compile(item)
+ if p.match(basename):
+ return False
+ #required
+
+ if item_type.has_key('required_subdirectories'):
+ for subdir in item_type['required_subdirectories']:
+ full_path = os.path.join(path,subdir)
+ if not os.path.exists(full_path):
+ #print 'bad',full_path
+ return False
+
+
+
+
+ return True
+
+
+def get_projects_list_dir():
+ projects_dir = 'projects'
+
+ return projects_dir
+
+
+def read_project_file(name,path):
+
+ #print path
+ p = imp.load_source(name,path)
+
+
+ if "Project" in dir(p):
+ if isinstance(p.Project, dict):
+ return Project_Item(properties=p.Project)
+
+ return None
+
+
+
+def get_projects(project_configuration_dirs=None):
+
+ if not project_configuration_dirs:
+ project_configuration_dirs = utilities.find_project_configuration_dirs()
+ project_file_list = []
+
+ #print project_configuration_dirs
+
+ for dirname in project_configuration_dirs:
+ for filename in os.listdir(dirname):
+
+ name,ext = os.path.splitext(filename)
+ fullpath = os.path.join(dirname,filename)
+ if ext.lower() in ['.py']:
+ project_file_list.append({'name':name,
+ 'path':fullpath})
+
+
+ def sort_func(item):
+
+ return item['name']
+
+
+
+ project_file_list.sort(key=sort_func)
+
+
+ project_list = []
+
+ for item in project_file_list:
+
+ project = read_project_file(item['name'],item['path'])
+ if project:
+ project_list.append(project)
+
+
+ return project_list
+
+
+def validate_project_item(project_item):
+ if not os.path.isdir(project_item['path']):
+ return False
+
+ if project_item.has_key('requred_subdirs'):
+ for subdir in project_item['requred_subdirs']:
+ full_path = os.path.join(project_item['path'],subdir)
+ if not os.path.exists(full_path):
+ #print 'bad',full_path
+ return False
+
+
+ return True
+
+def lowercase(item):
+ return item.lower()
+
+def listdir_fullpath(path):
+
+ try:
+ paths = []
+
+ file_list = os.listdir(path)
+
+ file_list.sort(key=lowercase)
+
+ for item in file_list:
+
+ full_path = os.path.join(path,item)
+ if os.path.isdir(full_path):
+ paths.append((item,full_path))
+
+ return paths
+ except:
+ return []
+
+def try_list(path):
+ try:
+ return os.listdir(path)
+ except:
+ #print traceback.format_exc()
+ return []
+
+
+def walk_project_item(item):
+
+ subdirs = item['subdirs']
+ path = item['path']
+
+ print path
+
+ for subdir,item_type in subdirs:
+
+ print subdir,item_type
+ if isinstance(item_type, str):
+ if item_type == 'self':
+ item_type = copy.deepcopy(item)
+
+ print os.path.join(path,subdir)
+
+ for subdir_item in try_list(os.path.join(path,subdir)):
+
+ full_path = os.path.join(path,subdir,subdir_item)
+
+ print full_path
+
+ new_item = copy.deepcopy(item_type)
+ new_item['path'] = full_path
+ if validate_project_item(new_item):
+
+ #yield new_item
+ print full_path
+ walk_project_item(new_item)
+
+
+
+
+
+def walk_project(project):
+ assert project['type'] == 'Project'
+ valid_path = None
+
+
+ if isinstance(project['paths'],list):
+
+ for item in project['paths']:
+ if os.path.exists(item):
+ project['path'] = item
+ break
+ else:
+ project['path'] = ''
+
+ print project['name'], ":"
+
+
+ walk_project_item(project)
+
+
+
+
+
+
+ #print item
+
+
+
+
+if __name__ == '__main__':
+
+ projects = get_projects()
+
+ for item in projects:
+
+ print item
+ #walk_project(item)
+ #for project_item in walk_project(item):
+ #print project_item['path']
+
+
+
\ No newline at end of file
diff --git a/project_browser/projects/10-Computer.py b/project_browser/projects/10-Computer.py
new file mode 100644
index 0000000..647bef7
--- /dev/null
+++ b/project_browser/projects/10-Computer.py
@@ -0,0 +1,81 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import os
+import platform
+import string
+import copy
+
+content_dirs = [{'name':'Directory Contents','relative_paths':[{'path':'','recursive':False}],'default':True},
+ {'name':'All Footage','relative_paths':[{'path':'','recursive':True}],}]
+
+Directory ={
+'name':None,
+'type':'Directory',
+'subdirectories':[{'path':'','properties':'self'}],
+'recursive':False,
+'content_dirs':content_dirs
+}
+
+RootDirectory = {
+'name':None,
+'type':'RootDirectory',
+'ignore':['[.].*'],
+'subdirectories':[{'path':'','properties':Directory}],
+'content_dirs':content_dirs
+}
+
+HardDrive = {
+'name':None,
+'type':'HardDrive',
+'ignore':['[.].*'],
+'subdirectories':[{'path':'','properties':Directory}],}
+
+Project = {
+'name':"Computer",
+'type':'Computer',
+'paths':['/'],
+'ignore':['[.].*'],
+'subdirectories':[{'path':'','properties':RootDirectory}],
+'icon':'computer'
+}
+
+
+if platform.system() == 'Windows': #show harddrive if windows
+ drives = []
+ for c in string.uppercase:
+ drive_path = c + ':\\'
+ if os.path.isdir(drive_path):
+ item_data = copy.deepcopy(HardDrive)
+ item_data['name'] = drive_path
+ item_data['paths'] = [drive_path]
+ item_data['icon'] = 'drive-harddisk'
+ drives.append(item_data)
+
+ #HardDrive['subdirs'] = drives
+
+ Project['paths'] = None
+ Project['subdirectories'] = None
+ Project['children'] = drives
+
+elif platform.system() == 'Darwin':#Hide yucky system files
+
+ RootDirectory['ignore'].extend(['dev','cores','bin','net','private','Keyboard','Network'])
+ Project['subdirectories'] = [{'path':'','properties':RootDirectory}]
+
+if __name__ == '__main__':
+ print Project
\ No newline at end of file
diff --git a/project_browser/sequence.py b/project_browser/sequence.py
new file mode 100644
index 0000000..8600893
--- /dev/null
+++ b/project_browser/sequence.py
@@ -0,0 +1,2341 @@
+# ***** BEGIN LICENSE BLOCK *****
+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Original Code is the Python Computer Graphics Kit.
+#
+# The Initial Developer of the Original Code is Matthias Baas.
+# Portions created by the Initial Developer are Copyright (C) 2004
+# the Initial Developer. All Rights Reserved.
+#
+# Contributor(s):
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 2 or later (the "GPL"), or
+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+# in which case the provisions of the GPL or the LGPL are applicable instead
+# of those above. If you wish to allow use of your version of this file only
+# under the terms of either the GPL or the LGPL, and not to allow others to
+# use your version of this file under the terms of the MPL, indicate your
+# decision by deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL or the LGPL. If you do not delete
+# the provisions above, a recipient may use your version of this file under
+# the terms of any one of the MPL, the GPL or the LGPL.
+#
+# ***** END LICENSE BLOCK *****
+# $Id: rmshader.py,v 1.9 2006/05/26 21:33:29 mbaas Exp $
+
+import sys
+import string
+import os.path
+import re
+import glob as _glob
+import copy
+import shutil
+
+class SeqString:
+ """Sequence string class.
+
+ Sequence strings treat numbers inside strings as integer numbers
+ and not as strings. This can be used to sort numerically (e.g.
+ ``anim01`` is smaller than ``anim0002``).
+
+ A sequence string is initialized by passing a regular string to
+ the constructor. It can be converted back using the :func:`str()` operator.
+ The main task of a :class:`SeqString` is comparing two strings which can
+ be done with the normal comparison operators. Example:
+
+ >>> a = SeqString('a08')
+ >>> b = SeqString('a2')
+ >>> a>> a>b
+ True
+ """
+
+ def __init__(self, s=None):
+ """Constructor.
+
+ The sequence string is initialized with s which can be a regular
+ string, another SeqString or anything else that can be turned into
+ a string using str(s). s can also be None which is equivalent
+ to an empty string.
+ """
+ # This is an alternating sequence of text and number values
+ # (always beginning and ending with a text (which might both be empty)).
+ # The value part is a tuple (value,numdigits) where value
+ # is an integer and numdigits the number of digits the
+ # value was made of. The list can never be empty (it always contains
+ # at least one string, even when that one is empty).
+ # Example: 'anim1_0001.png' -> ['anim', (1,1), '_', (1,4), '.png']
+ self._value = [""]
+ self._initSeqString(s)
+
+ def __repr__(self):
+ return "'%s'"%self.__str__()
+
+ def __str__(self):
+ """Convert the sequence string into a normal string.
+
+ The number of digits is maintained. The result is the original
+ string.
+ """
+
+ res=""
+ for i, vn in enumerate(self._value):
+ if i%2==0:
+ res += vn
+ else:
+ val,ndigits = vn
+ a = '%'+"0%dd"%ndigits
+ res += a%val
+ return res
+
+ def __cmp__(self, other):
+ """Comparison operator.
+
+ The text parts are treated as strings, the number parts as numbers
+ (e.g. 'a08' is greater than 'a2').
+ """
+ if other is None:
+ return 1
+ if not isinstance(other, SeqString):
+ if not isinstance(other, basestring):
+ return 1
+
+ # Convert both strings into pristine SeqStrings (because some numbers
+ # on the input strings may have been replaced by strings which would
+ # mess with the comparison).
+ selfStr = SeqString(self)
+ other = SeqString(other)
+
+ # Check the 'structure' of the strings first.
+ # The numeric comparison is only done when the strings have the same
+ # text/num patterns.
+ res = selfStr.match_cmp(other)
+ if res!=0:
+ return res
+
+ # Compare the individual components of the values side by side
+ for i, (a,b) in enumerate(zip(selfStr._value, other._value)):
+ if i%2==1:
+ # Get the numbers
+ a = a[0]
+ b = b[0]
+
+ if ab:
+ return 1
+
+ # If we are here everything has been equal so far, but maybe
+ # one string has one component more in _value
+ return cmp(len(selfStr._value), len(other._value))
+
+ def _initSeqString(self, s):
+ """Initialize the sequence string with a string.
+
+ s can either be a regular string, another sequence string (to create
+ a copy) or anything else that can be turned into a string using str(s).
+ s can also be None which is equivalent to passing an empty string.
+ Internally, the string is split into its text components and
+ number components.
+ """
+ if s is None:
+ s = ""
+
+ s = str(s)
+ textbuf = ""
+ numtup = (0,0)
+ res = []
+ # State
+ z = 0
+
+ for c in s:
+ # State: Collect text
+ if (z==0):
+ # Is this the beginning of a number?
+ if (c in string.digits):
+ res.append(textbuf)
+ numtup = (0,1)
+ textbuf = c
+ z = 1
+ # Store text in buffer
+ else:
+ textbuf += c
+ # State: Collect number
+ else:
+ # Another digit?
+ if (c in string.digits):
+ numtup = (0,numtup[1]+1)
+ textbuf += c
+ # No more digits
+ else:
+ numtup = (int(textbuf),numtup[1])
+ res.append(numtup)
+ textbuf = c
+ z = 0
+
+ # Add last value
+ if (z==0):
+ res.append(textbuf)
+ else:
+ numtup = (int(textbuf),numtup[1])
+ res.append(numtup)
+ res.append("")
+
+ self._value = res
+
+ def match(self, template, numPos=None):
+ """Check if one sequence string is equal to another except for one or all numbers.
+
+ Returns ``True`` if the text parts of *self* and *template* are equal,
+ i.e. both strings belong to the same sequence. *template* must be
+ a :class:`SeqString` object.
+
+ *numPos* is the index of the number that is allowed to vary. For example,
+ if *numPos* is -1, only the last number in a string may be different for two
+ strings to be in the same sequence. Al other numbers must match exactly
+ (including the padding). If *numPos* is ``None``, all numbers may vary.
+ """
+ if not isinstance(template, SeqString):
+ raise TypeError("The template argument must be a SeqString object")
+
+ # The lengths of the value lists must be equal
+ if len(self._value)!=len(template._value):
+ return False
+
+ if numPos is not None:
+ if numPos<0:
+ numPos = self.numCount()+numPos
+ numPos = 2*numPos + 1
+
+ for i, (va,vb) in enumerate(zip(self._value, template._value)):
+ # Only compare the text parts and ignore the numbers
+ if i%2==0:
+ if va!=vb:
+ return False
+ elif numPos is not None and i!=numPos and va!=vb:
+ return False
+
+ return True
+
+ def match_cmp(self, template):
+ """Comparison function to build groups.
+
+ Compare the text parts (the group name) of two sequence strings.
+ Numbers within the strings are ignored.
+
+ 0 is returned if *self* and *template* belong to the same group,
+ a negative value is returned if *self* comes before *template* and
+ a positive value is returned if *self* comes after *template*.
+ """
+ a = self.groupRepr()
+ b = template.groupRepr()
+ return cmp(a,b)
+
+ def groupRepr(self, numChar="*"):
+ """Return a template string where the numbers are replaced by the given character.
+ """
+ res=""
+ numChar = str(numChar)
+ for i,v in enumerate(self._value):
+ if i%2==0:
+ res += v
+ else:
+ res += numChar
+ return res
+
+ def numCount(self):
+ """Return the number of number occurrences in the string.
+
+ Examples:
+
+ - ``anim01.tif`` -> 1
+ - ``anim1_018.tif`` -> 2
+ - ``anim`` -> 0
+ """
+ return int(len(self._value)/2)
+
+ def getNum(self, idx):
+ """Return a particular number inside the string.
+
+ *idx* is the index of the number (0-based) which may also be
+ negative. The return value is an integer containing the number
+ at that position.
+ Raises an :exc:`IndexError` exception when *idx* is out of range.
+ """
+
+ if idx<0:
+ idx = self.numCount()+idx
+ if idx<0 or idx>=self.numCount():
+ raise IndexError, "index out of range"
+
+ return self._value[idx*2+1][0]
+
+ def getNumStr(self, idx):
+ """Return a particular number as a string just as it appears in the original string.
+
+ *idx* is the index of the number (0-based) which may also be
+ negative. The return value is a string that contains the number
+ as it appears in the string (including padding).
+ Raises an :exc:`IndexError` exception when *idx* is out of range.
+ """
+
+ if idx<0:
+ idx = self.numCount()+idx
+ if idx<0 or idx>=self.numCount():
+ raise IndexError, "index out of range"
+
+ val,ndigits = self._value[idx*2+1]
+ a = '%'+"0%dd"%ndigits
+ return a%val
+
+ def getNums(self):
+ """Return all numbers.
+
+ Returns a list of all numbers in the order as they appear in the string.
+ """
+ res=[]
+ for i in range(self.numCount()):
+ res.append(self.getNum(i))
+
+ return res
+
+ def setNum(self, idx, value, width=None):
+ """Set a new number.
+
+ *idx* is the index of the number (may be negative) and *value*
+ is the new integer value. If *width* is given, it will be the new
+ width of the number, otherwise the number keeps its old width.
+ Raises an :exc:`IndexError` exception when *idx* is out of range.
+
+ Note: It is possible to set a negative value. But when converted to
+ a string and then back to a sequence string again, that negative
+ number becomes a positive number and the minus symbol is part of
+ the preceding text part.
+ """
+ if idx<0:
+ idx = self.numCount()+idx
+ if idx<0 or idx>=self.numCount():
+ raise IndexError, "index out of range"
+
+ if width is None:
+ width = self._value[idx*2+1][1]
+ self._value[idx*2+1] = (int(value),int(width))
+
+ def setNums(self, nums):
+ """Set all numbers at once.
+
+ *nums* is a list of integers. The number of values may not
+ exceed the number count in the string, otherwise an :exc:`IndexError`
+ exception is thrown. There may be fewer items in *nums* though in
+ which case the remaining numbers in the string keep their old value.
+ """
+ for i,val in enumerate(nums):
+ self.setNum(i, val)
+
+ def getNumWidth(self, idx):
+ """Return the number of digits of a particular number.
+
+ *idx* is the index of the number (may be negative).
+ Raises an :meth:`IndexError` exception when *idx* is out of range.
+ """
+ if idx<0:
+ idx = self.numCount()+idx
+ if idx<0 or idx>=self.numCount():
+ raise IndexError, "index out of range"
+
+ return self._value[idx*2+1][1]
+
+ def setNumWidth(self, idx, width):
+ """Set the number of digits of a number.
+
+ *idx* is the index of the number (may be negative) and *width*
+ the new number of digits.
+ Raises an :exc:`IndexError` exception when *idx* is out of range.
+ """
+ if idx<0:
+ idx = self.numCount()+idx
+ if idx<0 or idx>=self.numCount():
+ raise IndexError, "index out of range"
+
+ width = int(width)
+ val = self._value[idx*2+1][0]
+ self._value[idx*2+1] = (val,width)
+
+ def getNumWidths(self):
+ """Return the number of digits of all numbers.
+
+ Returns a list of width values.
+ """
+ res=[]
+ for i in range(self.numCount()):
+ res.append(self.getNumWidth(i))
+
+ return res
+
+ def setNumWidths(self, widths):
+ """Set the number of digits for all numbers.
+
+ *widths* must be a list of integers. The number of values may not
+ exceed the number count in the string, otherwise an :exc:`IndexError`
+ exception is thrown.
+ """
+ for i,w in enumerate(widths):
+ self.setNumWidth(i, w)
+
+ def deleteNum(self, idx):
+ """Delete a number inside the string.
+
+ This is the same as replacing the number by an empty string.
+
+ *idx* is the index of the number (0-based) which may also be
+ negative.
+ Raises an :exc:`IndexError` exception when *idx* is out of range.
+ """
+ self.replaceNum(idx, "")
+
+ def replaceNum(self, idx, txt):
+ """Replace a number by a string.
+
+ The string is merged with the surrounding string parts.
+
+ *idx* is the index of the number (0-based) which may also be
+ negative. *txt* is a string that will replace the number.
+ Raises an :exc:`IndexError` exception when *idx* is out of range.
+ """
+ if idx<0:
+ idx = self.numCount()+idx
+ if idx<0 or idx>=self.numCount():
+ raise IndexError, "index out of range"
+
+ # Insert the text
+ self._value[idx*2] += str(txt)
+ # Concatenate the adjacent texts
+ if len(self._value)>idx*2+2:
+ self._value[idx*2] += self._value[idx*2+2]
+ # Remove the number
+ del self._value[idx*2+1:idx*2+3]
+
+ def replaceStr(self, idx, txt):
+ """Replace a string part by another string.
+
+ *idx* is the index of the sub-string (0-based) which may also be
+ negative. *txt* is a string that will replace the sub-string.
+ Raises an :exc:`IndexError` exception when *idx* is out of range.
+ """
+
+ if idx<0:
+ idx2 = len(self._value)+2*idx
+ # Does the value list end in a text part? Then we need to adjust the index
+ if len(self._value)%2==1:
+ idx2 += 1
+ else:
+ idx2 = 2*idx
+
+ # Check if the index is valid
+ if idx2<0 or idx2>=len(self._value):
+ raise IndexError, "index out of range"
+
+ # Replace the text
+ self._value[idx2] = str(txt)
+
+class Sequence:
+ """A list of names/objects that all belong to the same sequence.
+
+ The sequence can store the original objects that are associated with a
+ name or it can only store the names (as :class:`SeqString` objects).
+ Whether the original objects are available or not depends on how the
+ sequence was built. If the *nameFunc* parameter was used when building
+ the sequence (see :func:`buildSequences`), then the original objects will be available.
+
+ The class can be used like a list (using :func:`len()`, index operator or
+ iteration).
+ """
+
+ def __init__(self):
+ """Constructor.
+ """
+ # A list of file names (stored as SeqString objects)
+ self._names = []
+
+ # The actual objects. This is either a list that always has as many
+ # items as _names or it is None.
+ self._objects = None
+
+ def __str__(self):
+ placeholder,ranges = self.sequenceName()
+ if len(ranges)==0:
+ return placeholder
+ else:
+ infoStr = "; ".join(ranges)
+ if len(infoStr)>20:
+ infoStr = "%d items"%len(self._names)
+ return "%s (%s)"%(placeholder, infoStr)
+
+ def __repr__(self):
+ return ""%self.__str__()
+
+ def __len__(self):
+ """Return the length of the sequence.
+ """
+ return len(self._names)
+
+ def __getitem__(self, idx):
+ """Return the object at position idx.
+
+ The return value is either the original object that was stored
+ in the sequence or it is a SeqString containing the name if the
+ original object was just a string.
+ """
+ if self._objects is None:
+ return self._names[idx]
+ else:
+ return self._objects[idx]
+
+ def iterNames(self):
+ """Iterates over the object names.
+
+ Yields :class:`SeqString` objects.
+ """
+ return iter(self._names)
+
+ def iterObjects(self):
+ """Iterate over the objects.
+
+ Yields the original objects or the names as :class:`SeqString` objects
+ if the objects haven't been stored in the sequence.
+ Using this method is equivalent to iterating over the sequence
+ object directly.
+ """
+ if self._objects is None:
+ return self.iterNames()
+ else:
+ return iter(self._objects)
+
+ def match(self, name, numPos=None):
+ """Check if a name matches the names in this sequence.
+
+ *name* is a string or :class:`SeqString` object that is tested if
+ it matches the names in the sequence.
+ If the sequence doesn't contain any name at all yet, then any name
+ will match.
+
+ *numPos* is an integer that specifies which number is allowed to
+ vary. If *numPos* is ``None``, all numbers may vary.
+ """
+ # Turn the name into a SeqString
+ if not isinstance(name, SeqString):
+ name = SeqString(name)
+
+ if len(self._names)==0:
+ return True
+ else:
+ return self._names[0].match(name, numPos)
+
+ def append(self, name, obj=None):
+ """Append a name/object to the end of the sequence.
+
+ *name* can be a :class:`SeqString` object or a regular string.
+ The name must match the names in the sequence, otherwise a
+ :exc:`ValueError` exception is thrown.
+
+ *obj* can be any Python object that is stored alongside the name
+ (this is supposed to be the actual object that has the given name).
+ In any sequence, either all or none of the names must be associated
+ with an object. An attempt to append a name without an object to a
+ sequence that has objects will trigger a :exc:`ValueError` exception.
+
+ Usually, you won't call this method manually to build a sequence
+ but instead use the :func:`buildSequences()` function which returns
+ initialized ``Sequence`` objects.
+ """
+ # Turn the name into a SeqString
+ if not isinstance(name, SeqString):
+ name = SeqString(name)
+
+ if not self.match(name):
+ placeholder,ranges = self.sequenceName()
+ raise ValueError("Cannot add '%s' to sequence %s. The name doesn't match the sequence."%(name, placeholder))
+
+ if obj is not None:
+ if self._objects is None:
+ if len(self._names)==0:
+ self._objects = []
+ else:
+ raise ValueError("objects must be given for all or none of the names")
+ self._objects.append(obj)
+ elif self._objects is not None:
+ raise ValueError("objects must be given for all or none of the names")
+
+ self._names.append(name)
+
+ def sequenceNumberIndex(self):
+ """Return the index of the sequence number.
+
+ Returns the index of the number that has the most variation among its
+ values. If two number positions have the same variation, then the last
+ number is returned.
+ Returns ``None`` if there is no number at all.
+ """
+ ranges = self.ranges()
+
+ # This will be the index of the number that varies most (i.e. the index of the sequence number)
+ seqNumIdx = None
+ maxValues = -1
+ for i,rng in enumerate(ranges):
+ lr = len(rng)
+ if lr>=maxValues:
+ maxValues = lr
+ seqNumIdx = i
+
+ return seqNumIdx
+
+ def ranges(self):
+ """Returns a list of all the number ranges in the sequence.
+
+ The return value is a list of :class:`Range` objects. There are as many
+ ranges as there are separate numbers in the names. The ranges
+ are given in the same order as the corresponding number appears in
+ the names.
+ """
+ name,rangeStrs = self._nameAndRangeStrs()
+ return map(lambda x: Range(x), rangeStrs)
+
+ def sequenceName(self):
+ """Return a sequence placeholder and range strings.
+
+ Returns a tuple (*placeholder*, *ranges*) where *placeholder* is the
+ name of a member of the sequence where all numbers have been replaced
+ by ``'#'`` (0-padded number with 4 digits) or one or more ``'@'`` (padded
+ number with as many digits as there are ``'@'`` characters. Just a single
+ ``'@'`` represents an unpadded number). If the sequence contains inconsistent
+ padding, the number is replaced by ``'*'``.
+ The number is not replaced at all if there is only one single value
+ among all file names anyway.
+ *ranges* is a list of strings where each string describes the range
+ of values of the corresponding number in the placeholder string.
+
+ The returned information is meant to be displayed to the user as
+ information about the sequence. It is not possible to reconstruct
+ all original file names (unless the placeholder contains no more than
+ one substitution).
+ """
+ name,rangeStrs = self._nameAndRangeStrs(ignoreSingleValues=True)
+ return name,rangeStrs
+
+
+ def _nameAndRangeStrs(self, ignoreSingleValues=False):
+ """Helper method for sequenceName() and ranges().
+
+ Returns a tuple (placeholder, ranges). See sequenceName().
+ if ignoreSingleValues is True, any number in the sequence names
+ whose range only consists of a single value will not be replaced
+ by # or @ and will not appear in the "ranges" list.
+ """
+ if len(self._names)==0:
+ return "", []
+
+ # How many numbers do we have in the string?
+ n = self._names[0].numCount()
+ if n==0:
+ return str(self._names[0]), []
+
+ # The minimum width of every number
+ minWidths = self._names[0].getNumWidths()
+ # The maximum width of every number
+ maxWidths = list(minWidths)
+ # A flag indicating whether the number is unpadded or not
+ unpadded = len(minWidths)*[True]
+ # A list of values
+ values = []
+ for i in range(n):
+ values.append([])
+
+ # Collect all required values from the names
+ for name in self._names:
+ for i in range(name.numCount()):
+ v = name.getNum(i)
+ w = name.getNumWidth(i)
+
+ # Update the minimum width
+ minWidths[i] = min(w, minWidths[i])
+ # Update the maximum width
+ maxWidths[i] = max(w, maxWidths[i])
+ # Update the unpadded flag
+ if len(str(v))>> list(Range("1,5,10"))
+ [1, 5, 10]
+ >>> list(Range("1-5"))
+ [1, 2, 3, 4, 5]
+ >>> list(Range("2-8x2"))
+ [2, 4, 6, 8]
+ >>> list(Range("1-3,10-13"))
+ [1, 2, 3, 10, 11, 12, 13]
+
+ The range object supports the :func:`len()` operator, comparison operators,
+ the :keyword:`in` operator and iteration. Examples:
+
+ >>> rng = Range("1-2,5")
+ >>> len(rng)
+ 3
+ >>> for i in rng: print i
+ ...
+ 1
+ 2
+ 5
+ >>> 3 in rng
+ False
+ >>> 5 in rng
+ True
+ >>> Range("1-3")==Range("1,2,3")
+ True
+ >>> Range("1-5")==Range("2-6")
+ False
+ """
+
+ def __init__(self, rangeStr=None):
+ """Constructor.
+ """
+ # The individual sub-ranges.
+ # This is a list of tuples (begin,end,step) where each value is an integer.
+ # begin is the first value of the range, end the last value or None
+ # for an infinite sub-range. step is the difference between subsequent
+ # values.
+ # The following conditions must always be met by all items:
+ # - end>=begin (if end is not None)
+ # - (end-begin)%step == 0
+ self._ranges = []
+
+ # Set the initial range
+ self.setRange(rangeStr)
+
+ def __str__(self):
+ """Return a string describing the range.
+ """
+ rangeStrs = []
+ for begin,end,step in self._ranges:
+ if begin==end:
+ rangeStrs.append(str(begin))
+ else:
+ if step==1:
+ stepStr = ""
+ else:
+ stepStr = "x%s"%step
+
+ if end is None:
+ endStr = ""
+ else:
+ endStr = str(end)
+
+ rangeStrs.append("%s-%s%s"%(begin,endStr,stepStr))
+
+ return ",".join(rangeStrs)
+
+ __repr__ = __str__
+
+ def __eq__(self, other):
+ """Equality operator
+ """
+ if not isinstance(other, Range):
+ return False
+
+ return self._ranges==other._ranges
+
+ def __ne__(self, other):
+ """Inequality operator
+ """
+ if not isinstance(other, Range):
+ return True
+
+ return self._ranges!=other._ranges
+
+ def __len__(self):
+ """Return the number of values in the sequence.
+
+ A ValueError exception is thrown if the sequence is infinite.
+ """
+ res = 0
+ for begin,end,step in self._ranges:
+ if end is None:
+ raise ValueError("Cannot return length of infinite range")
+ res += int((end-begin)/step)+1
+ return res
+
+
+ def __iter__(self):
+ """Iterate over all individual values in the range.
+
+ The values are reported in increasing order. No value is reported twice.
+ Note that the sequence will be infinite if isInfinite() returns True.
+ """
+ # Copy the _ranges list and convert the tuples to lists.
+ # The "begin" value will be increased during the iteration.
+ currentValues = map(lambda x: list(x), self._ranges)
+
+ # Advance all sub-ranges in parallel and always yield the minimum
+ # value. The ensures that the iteration is done in order and no value
+ # is reported twice.
+ while len(currentValues)>0:
+ # The next value is the minimum "begin" value...
+ nextVal = min(map(lambda x: x[0], currentValues))
+ # Report the value
+ yield nextVal
+
+ # Now increase all "begin" values that are equal to the current value
+ for i in range(len(currentValues)):
+ current,end,step = currentValues[i]
+ if current==nextVal:
+ current += step
+ if end is not None and current>end:
+ # Replace the tuple with None (so that it gets removed later on)
+ currentValues[i] = None
+ else:
+ # Set the new step value
+ currentValues[i][0] = current
+
+ # Remove the deleted items (the ones that are None)
+ currentValues = filter(lambda x: x is not None, currentValues)
+
+ def __contains__(self, val):
+ """Check if a value is inside the range.
+
+ *val* is an integer that is checked against the range. The method
+ returns ``True`` when the value is part of the range.
+ """
+ for begin,end,step in self._ranges:
+ if val>=begin and (end is None or val<=end) and (val-begin)%step==0:
+ return True
+ return False
+
+ def isInfinite(self):
+ """Check if the range is infinite.
+
+ Examples:
+
+ >>> Range("1-5").isInfinite()
+ False
+ >>> Range("1-").isInfinite()
+ True
+ """
+ for begin,end,step in self._ranges:
+ if end is None:
+ return True
+
+ return False
+
+ def setRange(self, rangeStr):
+ """Initialize the range object with a new range string.
+
+ The range string may contain individual numbers or ranges separated by
+ comma. The individual ranges are specified by a begin, an optional
+ end (inclusive) and an optional step number. Passing ``None`` is
+ equivalent to passing an empty string.
+
+ This is the opposite operation to e :func:`compactRange()` function.
+ """
+
+ if rangeStr is None:
+ rangeStr = ""
+
+ if type(rangeStr) is not str:
+ raise TypeError("The rangeStr argument must be a string")
+
+ reRange = re.compile(r"([0-9]+)(?:-([0-9]*)(?:x([0-9]+))?)?$")
+
+ ranges = []
+ for rs in rangeStr.split(","):
+ rs = rs.strip()
+ if rs=="":
+ continue
+ # Matches a single number, a range without step and a range with step
+ m = reRange.match(rs)
+ if m is not None:
+ begin = int(m.group(1))
+ end = m.group(2)
+ step = m.group(3)
+ if step is None:
+ step = 1
+ else:
+ step = int(step)
+ if end is None:
+ end = begin
+ else:
+ if end=="":
+ end = None
+ else:
+ end = int(end)
+ # Adjust the end so that it is actually part of the
+ # sequence (i.e. 1-10x2 -> 1-9x2)
+ end -= (end-begin)%step
+ if end is None or end>=begin:
+ ranges.append((begin,end,step))
+ else:
+ raise ValueError("Invalid range string: %s"%rs)
+
+ ranges = self._normalizeRanges(ranges)
+ self._ranges = ranges
+
+ def _normalizeRanges(self, ranges):
+ """Normalize the given ranges.
+
+ ranges is a list of range tuples (just like self._ranges).
+ Sorts the ranges, merges them if possible (1,2,3 -> 1-3) or
+ splits them up so that they don't overlap (2-20x2,11 -> 2-10x2,11,12-20x2).
+ Returns a new range list (the input list gets destroyed).
+ """
+ if len(ranges)==0:
+ return []
+
+ ranges.sort()
+
+ newRanges = []
+ # The current range
+ rng = ranges.pop(0)
+ while len(ranges)>0:
+ # Get the next range
+ nextRng = ranges.pop(0)
+
+ # Handle range overlaps
+ rngs = self._resolveRangeOverlap(rng, nextRng)
+ if rngs is not None:
+ rng = rngs[0]
+ # Only 1 range? Then nextRange was completely contained in rng, so get a new range
+ if len(rngs)>1:
+ # Continue with the adjusted ranges (insert them into the range
+ # list and sort again because the order may have changed)
+ ranges.extend(rngs[1:])
+ ranges.sort()
+ continue
+
+ # Merge the ranges if possible...
+ rng,nextRng = self._mergeRanges(rng, nextRng)
+ if nextRng is not None:
+ newRanges.append(rng)
+ rng = nextRng
+
+ # Append the last range
+ newRanges.append(rng)
+
+ # Final step that moves end values to the subsequent range if this
+ # makes the sub-ranges "nicer".
+ for i in range(len(newRanges)-1):
+ begin1,end1,step1 = newRanges[i]
+ begin2,end2,step2 = newRanges[i+1]
+ # Can the last value of the current range be moved into the subsequent
+ # range and the current range would then only be one single value?
+ # (Example: 1-5x4,6-10 -> 1,5-10)
+ if end1==begin2-step2 and begin1+step1==end1:
+ newRanges[i] = (begin1,begin1,1)
+ newRanges[i+1] = (end1,end2,step2)
+
+ return newRanges
+
+ def _resolveRangeOverlap(self, rng1, rng2):
+ """Resolve overlapping ranges.
+
+ rng1 and rng2 are two adjacent ranges in sorted order (rng2 must
+ not be before rng1).
+ Returns a list of 1-3 ranges where the first range is guaranteed
+ to be non-overlapping. The other ranges are in sort order but may
+ still overlap (they will be handled in a subsequent iteration).
+ Returns None when rng1 and rng2 don't overlap at all.
+
+ This is a helper method for _normalizeRanges().
+ """
+ begin1,end1,step1 = rng1
+ begin2,end2,step2 = rng2
+
+ # No overlap? Then don't modify anything
+ if end1 is not None and begin2>end1:
+ return None
+
+ # The ranges overlap...
+
+ # Remove all initial values from rng2 that are also part of rng1.
+ # First check if begin2 is part of rng1
+ if (begin2-begin1)%step1==0:
+ # Does rng2 use a step size that is a multiple of the step size of rng1?
+ if step2%step1==0: #step1==step2:
+ # Does rng2 completely lie within rng1? Then just ignore rng2
+ if end1 is None or (end2 is not None and end2<=end1):
+ return [rng1]
+ else:
+ # Set the begin of rng2 to the first value behind the end of rng1
+ n = int((end1-begin2)/step2)+1
+ begin2 += n*step2
+ # Different steps, so only the first value is identical
+ else:
+ # Is rng2 just one single value? Then we can ignore rng2
+ # (because this value is also part of rng1)
+ if begin2==end2:
+ return [rng1]
+ else:
+ begin2 += step2
+
+ # If the ranges don't overlap anymore, then we are done.
+ if end1 is not None and begin2>end1:
+ return [rng1,(begin2,end2,step2)]
+
+
+ # At this point, it is guaranteed that...
+ # - ...rng1 and rng2 don't begin with the same value (i.e. begin1 adjust rng1 so that it only contains the remaining range
+ n = int((begin2-begin1-1)/step1)
+ e1 = begin1+n*step1
+ res.append((begin1,e1,step1))
+ begin1 = e1+step1
+
+ # begin1 is now greater than begin2 (they can't be equal because we know
+ # that begin2 is not part of the initial rng1)
+
+ res.append((begin2,end2,step2))
+ res.append((begin1,end1,step1))
+
+ # res now contains 3 ranges. The first one is guaranteed to be unique
+ # and doesn't overlap anymore. The other two may still overlap but
+ # this is dealt with in a subsequent iteration.
+
+ return res
+
+ def _mergeRanges(self, rng1, rng2):
+ """Merge two ranges if possible.
+
+ Returns the new ranges. The second range may become None if it was
+ entirely consumed by the first range.
+
+ The input ranges must be sorted (i.e. rng2 must not be *before* rng1).
+
+ This is a helper method for _normalizeRanges().
+ """
+ begin1,end1,step1 = rng1
+ begin2,end2,step2 = rng2
+
+ # If range1 is just a single value, then we can always merge at least
+ # the first value of range2 (as we are free to change the step).
+ if begin1==end1:
+ step1 = begin2-end1
+
+ # If range2 does not start right behind range1, then there is nothing to merge
+ if end1 is None or begin2!=end1+step1:
+ return rng1,rng2
+
+ # Can the entire range2 be merged into range1? (this is the case if
+ # the step size is identical or range2 is just a single value anyway)
+ if step1==step2 or begin2==end2:
+ return (begin1,end2,step1),None
+ # Only put the first value of range2 into range1
+ else:
+ return (begin1,begin2,step1), (begin2+step2, end2, step2)
+
+
+class SeqTemplate:
+ """Sequence name template class.
+
+ An instance of this class represents a template string that may contain
+ patterns that will be substituted by numbers.
+ This can be used to generate the individual names for an output sequence.
+
+ Example:
+
+ >>> tmpl = SeqTemplate("foo#.tif")
+ >>> tmpl([17])
+ 'foo0017.tif'
+ >>> tmpl=SeqTemplate("foo@@_#.tif")
+ >>> tmpl([2,17])
+ 'foo02_0017.tif'
+ >>> tmpl=SeqTemplate("foo@@[2]_#[1].tif")
+ >>> tmpl([2,17])
+ 'foo17_0002.tif'
+ >>> tmpl=SeqTemplate("foo{2*#+1}.tif")
+ >>> tmpl([5])
+ 'foo0011.tif'
+ """
+
+ def __init__(self, template):
+ """Constructor.
+
+ template is a string that contains substitution patterns. The patterns
+ may be composed of a number of @ characters or a # character.
+ Directly following the pattern there may be an optional integer index
+ in brackets that refers to a particular source number that will be used
+ during the substitution (e.g. @@[1], #[2]).
+ The pattern may also include an entire expression in Python syntax.
+ In this case, the above simple expression must be enclosed in curly
+ braces (e.g. {#[-1]+10}, {2*@@@@}).
+ """
+
+ self.template = template
+
+ seqStr,valExprs,indices,hasExplicitIndex = self._splitTemplate(template)
+ self._templateSeqString = seqStr
+ self._valExprs = valExprs
+ self._exprIndices = indices
+ self.hasExplicitIndex = hasExplicitIndex
+
+ def __call__(self, values):
+ """An alternative way to call the substitute() method.
+ """
+ return self.substitute(values)
+
+ def substitute(self, values):
+ """Return a string that uses the given input numbers.
+
+ The substitution patterns in the template string are replaced by
+ the given numbers. *values* must be a list of objects that can be
+ turned into integers.
+ It is the callers responsibility to make sure that *values* contains
+ enough numbers.
+ If any number expression fails, a :exc:`ValueError` exception is thrown
+ (this is also the case when an expression refers to a value in
+ the input list that is not available).
+
+ Calling this method is equivalent to using the object as a callable.
+ """
+ # Make sure we have integers
+ values = [int(v) for v in values]
+
+ # Evaluate the number expressions...
+ nums = []
+ for expr in self._valExprs:
+ try:
+ nums.append(eval(expr, {"n":values}))
+ except:
+ raise ValueError("Error in sequence number expression %s: %s"%(expr,sys.exc_info()[1]))
+
+ # Set the numbers in the template and return the result as a plain string.
+ self._templateSeqString.setNums(nums)
+ return str(self._templateSeqString)
+
+ def expressionIndices(self, inputSize):
+ """Return the indices of the source values that the number expressions refer to.
+
+ *inputSize* is the length of the value sequence that will get passed
+ to :meth:`substitute()`. This is used to resolve negative indices. The
+ result may still contain negative indices if any index in the expressions
+ is out of range. The order of the values in the list is the same
+ order as the expressions appear in the template.
+ The return value can be used to check if an expression would produce
+ an :exc:`IndexError` exception.
+
+ Example:
+
+ >>> t=SeqTemplate("foo#_#")
+ >>> t.expressionIndices(2)
+ [0, 1]
+ >>> t=SeqTemplate("foo#[-1]_#[1]")
+ >>> t.expressionIndices(2)
+ [1, 0]
+ >>> t.expressionIndices(3)
+ [2, 0]
+ """
+ res = []
+ for i in self._exprIndices:
+ if i<0:
+ i = inputSize+i
+ res.append(i)
+ return res
+
+ def _splitTemplate(self, template):
+ """Split a template into a sequence string and value expressions.
+
+ template is a string that contains substitution patterns. The patterns
+ may be composed of a number of @ characters or a # character.
+ Directly following the pattern there may be an optional integer index
+ in brackets that refers to a particular source number that will be used
+ during the substitution (e.g. @@[1], #[2]).
+ The pattern may also include an entire expression in Python syntax.
+ In this case, the above simple expression must be enclosed in curly
+ braces (e.g. {#[-1]+10}, {2*@@@@}).
+
+ The return value is a tuple (seqStr, valExprs, indices, hasExplicitIndex)
+ where seqStr is a sequence string that has as many number components
+ as there were substitution patterns in the template string. The text
+ parts of the sequence string are identical to the template, the numbers
+ will all be 0. valExprs is a list of strings that contain the expressions
+ that have to be used to obtain the final number value. The expressions
+ use a variable n which must be a list of integers.
+ indices is a list of integer indices that refer to the source number
+ that each expression is using. This is the array index that appears
+ in the expression. The numbers may still be negative.
+ hasExplicitIndex is a boolean that indicates whether the template
+ had any substitution pattern where the number index was specified explicitly.
+
+ The substitution can then be performed by evaluating the expressions
+ and setting the resulting numbers in the sequence string.
+ """
+ tmpl = template.replace("#", "@@@@")
+ # Regular expression that detects a substitution pattern.
+ # There are two variants:
+ # 1. A number of @ characters, followed by an optional index (@@@2)
+ # 2. A full expression enclosed in {} ({@@2+10})
+ patternExp = re.compile(r"(@+)(?:\[(-?[0-9]+)\])?|\{[^@]*(@+)(?:\[(-?[0-9]+)\])?(.*)\}")
+
+ # The individual tokens for the sequence string input. The text parts
+ # will only be represented by a single "*" (to make sure they don't
+ # contain any numbers). The number parts will be composed of "0" with
+ # the correct padding.
+ toks = []
+ # For every "*" in toks, this list will contain the corresponding real
+ # string. These strings are replaced after the SeqString has been created.
+ strToks = []
+ # The final value expressions
+ valExprs = []
+ # The indices that are used in the expression (0-based or negative)
+ indices = []
+ # This is set to true if any expression was using an explicit index
+ hasExplicitIndex = False
+ # This index is used if there was none specified in the template string
+ currentIdx = 1
+ while 1:
+ # Search for the next substitution pattern
+ m = patternExp.search(tmpl)
+ # Not found, then terminate
+ if m is None:
+ toks.append("*")
+ strToks.append(tmpl)
+ break
+
+ # Get the complete substitution pattern
+ fullPattern = m.group()
+# print "Pattern:",fullPattern, m.groups()
+ # Is it the version with the {}?
+ if fullPattern.startswith("{"):
+ pattern = m.group(3)
+ idx = m.group(4)
+ e = m.end(4)
+ if e is -1:
+ e = m.end(3)
+ else:
+ e += 1
+ valExprPre = tmpl[m.start()+1:m.start(3)]
+ valExprPost = tmpl[e:m.end()-1]
+ # No {}
+ else:
+ pattern = m.group(1)
+ idx = m.group(2)
+ valExprPre = ""
+ valExprPost = ""
+
+# print "-> pat:'%s' idx:'%s' valExprPre:'%s' valExprPost:'%s'"%(pattern, idx, valExprPre, valExprPost)
+ width = len(pattern)
+
+ if idx is None or idx=="":
+ idx = currentIdx
+ else:
+ hasExplicitIndex = True
+ idx = int(idx)
+
+ if idx==0:
+ raise ValueError("0-index is not defined: %s"%fullPattern)
+ elif idx>0:
+ idx -= 1
+ indices.append(idx)
+ valExpr = "%sn[%s]%s"%(valExprPre, idx, valExprPost)
+# print valExpr
+ valExprs.append(valExpr)
+
+ s = m.start()
+ e = m.end()
+ strToks.append(tmpl[:s])
+ toks.append("*")
+ toks.append(width*"0")
+ tmpl = tmpl[e:]
+ currentIdx += 1
+
+ # Create the sequence string from the "*", "0000" tokens. This ensures
+ # that the number count is as expected.
+ s = SeqString("".join(toks))
+ # Now replace the "*" with their corresponding strings (which may
+ # contain numbers. But these numbers are just treated as strings)
+ for i,tok in enumerate(strToks):
+ s.replaceStr(i,tok)
+
+ return s, valExprs, indices, hasExplicitIndex
+
+
+class OutputNameGenerator:
+ """Generate the file names of an output sequence based on an input sequence.
+
+ This class produces output sequence file names that are based on an input
+ sequence. The class is meant to be used by applications that produce an
+ output file sequence based on an input sequence but where the numbers in
+ the output sequence may be different than the numbers in the input sequence.
+ For example, the class is used by the sequence utilities (seqmv, seqcp,
+ seqrm).
+
+ An :class:`OutputNameGenerator` has one public attribute called :attr:`numberMergeFlag`
+ which is ``True`` when the output name pattern ended in a digit but didn't
+ contain any number pattern. In this case, the class will append a 4-padded
+ number but because the name already ended in a digit, the combination
+ of the pattern and the number results in a larger number which is
+ not necessarily what the user intended. The flag can be used by an
+ application to check whether it should ask the user for confirmation.
+
+ Example:
+
+ >>> seqs = buildSequences(["spam1_1.tif", "spam1_2.tif", "spam1_5.tif"])
+ >>>
+ >>> for src,dst in OutputNameGenerator(seqs, "foo"):
+ ... print src,"->",dst
+ ...
+ spam1_1.tif -> foo0001.tif
+ spam1_2.tif -> foo0002.tif
+ spam1_5.tif -> foo0005.tif
+ >>>
+ >>> for src,dst in OutputNameGenerator(seqs, "foo@_#.tif", dstRange=Range("10-")):
+ ... print src,"->",dst
+ ...
+ spam1_1.tif -> foo1_0010.tif
+ spam1_2.tif -> foo1_0011.tif
+ spam1_5.tif -> foo1_0012.tif
+ >>>
+ >>> for src,dst in OutputNameGenerator(seqs, "foo_#[2]_{@[1]+2}.tif"):
+ ... print src,"->",dst
+ ...
+ spam1_1.tif -> foo_0001_3.tif
+ spam1_2.tif -> foo_0002_3.tif
+ spam1_5.tif -> foo_0005_3.tif
+ """
+
+ def __init__(self, srcSequences, dstName, srcRanges=None, dstRange=None, keepExt=True,
+ enforceDstRange=False, repeatSrc=True):
+ """Constructor.
+
+ srcSequences is a list of Sequence objects that contain the source
+ sequence files that the output sequence is based on. The structure of
+ the names (i.e. how many separate numbers are within a name) determines
+ how many number patterns the output name may have.
+ dstName is a string containing the name pattern for building the
+ output file names. The syntax of the pattern is determined by the
+ SeqTemplate class (i.e. you can use @ or # characters to define where
+ the numbers are located and what their padding is. You can also
+ use an index to refer to a particular number from the input sequence
+ and you can use expressions within curly braces).
+ In the simplest case, the name can just be a base name without any
+ special characters at all. In this case, a 4-padded number is
+ automatically appended which will receive the values from the
+ main number sequence in the input files (or the values specified by
+ the destination range).
+
+ srcRanges is a list of Range objects that defines which files from the
+ source sequence should be considered, everything outside the range
+ is ignored. The numbers produced by the range object refers to the
+ main sequence number of the input sequence (i.e. the number that varies
+ fastest). If no source range is given for a particular sequence, then
+ all input files are considered.
+
+ dstRange may be a Range object that provides the main sequence number
+ for the output names. In this case, the main number from the input
+ sequence is ignored (unless referenced via an expression). If no range
+ object is given, the numbers are taken from the input sequence.
+
+ keepExt is a boolean that indicates whether the file name extension
+ should be added automatically if it isn't already part of the output
+ name pattern. Note that the extension is *always* added unless the
+ output name already contains exactly the expected extension. If the
+ output name contains a different extension, the old extension is still
+ added. So if you want to be able to let the user rename the extension,
+ you must set this flag to False.
+
+ enforceDstRange is a boolean that indicates whether the number of
+ generated name pairs should always match the number of files indicated
+ by the (finite) destination range, even when the source files have
+ already been exhausted. The default behavior is to abort the sequence
+ if there are no more source files. If the destination range is infinite,
+ then this flag has no effect and the sequence always ends when there
+ are no more source files.
+
+ repeatSrc is a flag that is only used when enforceDstRange is True
+ and there are fewer input files than there are values in the destination
+ range. If repeatSrc is True, the input sequence is repeated from the
+ beginning again, otherwise the last name is duplicated.
+ """
+ if srcRanges is None:
+ srcRanges = []
+ for seq in srcSequences:
+ if not isinstance(seq, Sequence):
+ raise TypeError("The source sequences must be Sequence objects")
+ if not isinstance(dstName, basestring):
+ raise TypeError("The output sequence pattern must be a string")
+ for sr in srcRanges:
+ if sr is not None and not isinstance(sr, Range):
+ raise TypeError("The source ranges must be Range objects or None")
+ if dstRange is not None and not isinstance(dstRange, Range):
+ raise TypeError("The destination range must be a Range object or None")
+
+ # Add full range to the srcRanges list until the length is identical to
+ # the number of sequences.
+ srcRanges.extend((len(srcSequences)-len(srcRanges))*[Range("0-")])
+
+ if dstRange is None:
+ dstRangeIter = None
+ enforceDstRange = False
+ else:
+ # Never enforce an infinite range
+ if dstRange.isInfinite():
+ enforceDstRange = False
+
+ dstRangeIter = iter(dstRange)
+
+ self._srcSequences = srcSequences
+ self._dstName = dstName
+ self._srcRanges = srcRanges
+ self._dstRange = dstRange
+ self._dstRangeIter = dstRangeIter
+ self._keepExt = keepExt
+ self._enforceDstRange = enforceDstRange
+ self._repeatSrc = repeatSrc
+ self.numberMergeFlag = False
+
+ # Run the output preparation just to set the numberMergeFlag.
+ # The preparation is later done again when the user iterates over the names
+ for srcSeq in self._srcSequences:
+ self._outputNameSpec(srcSeq, dstName, dstRangeIter is not None)
+
+ def __iter__(self):
+ return self.iterNames()
+
+ def iterNames(self):
+ """Iterate over input/output name pairs.
+
+ Yields tuples (srcName, dstName) where source name is the unmodified
+ name from the input sequences and dstName is the generated output name
+ (as specified by the output pattern and additional arguments that
+ were passed to the constructor).
+
+ This is equivalent to iterating directly over the object.
+ """
+
+ # Iterate over all input sequences
+ for srcSeq,srcRange in zip(self._srcSequences, self._srcRanges):
+ # If the destination name refers to a directory, then use the sequence
+ # name of the input sequence.
+ if os.path.isdir(self._dstName):
+ dstName = os.path.join(self._dstName, os.path.basename(srcSeq.sequenceName()[0]))
+ else:
+ dstName = self._dstName
+
+ # Create the src,dst pairs...
+ seqFileTable = []
+ for src,dst in self._iterNames(srcSeq, dstName, srcRange, self._dstRangeIter,
+ self._enforceDstRange, self._repeatSrc, self._keepExt):
+ yield (src,dst)
+
+ def _iterNames(self, srcSequence, dstName, srcRange, dstRangeIter, enforceDstRange, repeatSrc, keepExt):
+ """Iterate over input/output name pairs.
+
+ Yields tuples (srcName, dstName) where source name is the unmodified
+ name from the input sequence and dstName the generated output name
+ (as specified by the output pattern and additional arguments that
+ were passed to the constructor).
+ """
+
+ # If no source files are given, then no output files can be generated
+ if len(srcSequence)==0:
+ return
+
+ # Prepare output name generation
+ res = self._outputNameSpec(srcSequence, dstName, dstRangeIter is not None)
+ dstTemplate, numIdxs, seqNumIdx = res
+
+ # Check what indices are used by the expressions (the result may not be
+ # accurate when negative numbers are used because the integer we pass
+ # to expressionIndices() may not be the correct one, but we are only
+ # really interested in the simpler case were no explicit indices have
+ # been provided anyway).
+ ei = dstTemplate.expressionIndices(len(numIdxs))
+ # Adjust the index of the main sequence number if it is not in the
+ # list of used indices. Otherwise providing a destination range would
+ # be useless because it would affect an unused number.
+ # This can happen when an input sequence has at least two varying numbers
+ # and the output sequence has only one number pattern and a destination
+ # range has been specified.
+ # Example: "spam1_1", "spam1_2", "spam2_5", "spam2_6" -> "foo#" (2-)
+ # The main sequence number will be the second one, but the pattern
+ # in the output name would refer to the first number, so the destination
+ # range would have no effect and the output would be "foo1", "foo1",
+ # "foo2", "foo2". The following if sets the main sequence number to be
+ # the first one and then everything is fine again.
+ if seqNumIdx not in ei:
+ seqNumIdx = max(ei)
+
+ srcIter = iter(srcSequence)
+
+ # Assign output names to the input names...
+ while 1:
+ # srcIter is only None after it was already iterated over the source
+ # names and repeatSrc is set to False, so that the last name
+ # should just be kept.
+ if srcIter is not None:
+ try:
+ srcName = srcIter.next()
+ except StopIteration:
+ if enforceDstRange:
+ if repeatSrc:
+ srcIter = iter(srcSequence)
+ srcName = srcIter.next()
+ else:
+ srcIter = None
+ else:
+ break
+
+ srcName = str(srcName)
+ baseName = os.path.basename(srcName)
+ baseName,ext = os.path.splitext(baseName)
+ baseName = SeqString(baseName)
+ # Get all the numbers that are present in the source name
+ allNums = baseName.getNums()
+ # Only keep the numbers that are actually used in the output name
+ nums = map(lambda i: allNums[i], numIdxs)
+
+ # Only queue this file when it is part of the source range
+ if len(nums)==0 or (nums[seqNumIdx] in srcRange):
+ # If a destination range was specified then replace the
+ # main file number with the next number in the range, otherwise
+ # the number from the input file is used
+ if dstRangeIter is not None and len(nums)>0:
+ try:
+ nums[seqNumIdx] = dstRangeIter.next()
+ except StopIteration:
+ break
+ # Create the file names
+ dstName = dstTemplate.substitute(nums)
+ if keepExt and os.path.splitext(dstName)[1]!=ext:
+ dstName += ext
+ yield (srcName, dstName)
+
+ def _outputNameSpec(self, fileSequence, dstName, newSequenceValues):
+ """Return everything that is required to produce output names.
+
+ newSequenceValues is a boolean indicating whether the main sequence number
+ will receive new values or if the values from the input sequence are used.
+
+ The return value is a 3-tuple (dstTemplate, numIdxs, seqNumIdx)
+ where dstTemplate is the SeqTemplate object that has to be used to
+ generate the final output name.
+ numIdxs is a list of indices that refer to the number in the source name
+ that will make it into the output name. For example, if the source files
+ are of the form "clip@_#" and numIdxs is [1], then this means only the
+ last number will be used for substitution and the final destination name
+ must have one substitution pattern. seqNumIdx is the index of the number
+ that is considered to be the main number (the index refers to the numIdxs
+ list, it's not the index in the source name).
+
+ The method also sets the attribute numberMergeFlag to True if it
+ has appended a number pattern to the output name (because none was given)
+ but the name ended in a digit. This means the final number will be
+ different than what was specified in the input arguments. The caller may
+ use this attribute to ask the user for confirmation.
+ """
+
+ # Get the number ranges of all numbers in the input sequence
+ ranges = fileSequence.ranges()
+
+ # Create the output template
+ dstTemplate = SeqTemplate(dstName)
+
+ # The index of the number that varies most (i.e. the index of the sequence number)
+ seqNumIdx = fileSequence.sequenceNumberIndex()
+
+ numIdxs = []
+ numValues = len(ranges)
+ numVaryingValues = len(filter(lambda rng: len(rng)>1, ranges))
+
+ numIdxs = range(numValues)
+
+ indices = dstTemplate.expressionIndices(numValues)
+ numPatterns = len(indices)
+ if numPatterns>0 and (min(indices)<0 or max(indices)>=numValues):
+ raise ValueError("A number pattern in the output template name refers to a non-existent source number: %s"%dstName)
+
+ # Is the destination name without any pattern at all? Then append '#' if
+ # there is a unique sequence number
+ if numPatterns==0:
+ if numVaryingValues==1 or newSequenceValues:
+ # Check if the name ends in a number. Appending the sequence number
+ # would create new numbers (e.g. "clip2#" -> "clip20001", "clip20002",...)
+ if len(dstName)>0 and dstName[-1] in string.digits:
+ self.numberMergeFlag = True
+ # Add a pattern that refers to the sequence number (+1 because the index in the pattern is 1-based)
+ dstTemplate = SeqTemplate(dstName+"#[%s]"%(seqNumIdx+1))
+ indices = [seqNumIdx]
+# numIdxs = [seqNumIdx]
+ elif numVaryingValues!=0:
+ raise ValueError('Invalid destination name: "%s". Cannot figure out how to number the destination files. There are %s varying numbers.'%(dstName, numVaryingValues))
+ # Do we only have as many patterns as there are *varying* numbers
+ # and no explicit index was specified?
+ # Then we can assume that the user only wants to reference the varying
+ # numbers and the constant numbers are just part of the name.
+ elif numPatterns==numVaryingValues and not dstTemplate.hasExplicitIndex:
+ numIdxs = []
+ for i,rng in enumerate(ranges):
+ if len(rng)>1:
+ numIdxs.append(i)
+ # Do we have too few patterns? (and the user did not specify any
+ # index explicitly?)
+ # If so, throw an error because it's not clear which number should be
+ # mapped to which pattern.
+ elif numPatterns!=numValues and not dstTemplate.hasExplicitIndex and not newSequenceValues:
+ if numValues==numVaryingValues:
+ expectedStr = "%s pattern"%numValues
+ if numValues>1:
+ expectedStr += "s"
+ else:
+ expectedStr = "%s or %s patterns"%(numVaryingValues, numValues)
+ if numPatterns>numValues:
+ raise ValueError('Invalid destination name: "%s". There are too many substitution patterns (expected %s).'%(dstName, expectedStr))
+ else:
+ raise ValueError('Invalid destination name: "%s". There are not enough substitution patterns (expected %s).'%(dstName, expectedStr))
+
+ # Recompute the index that refers to the sequence number (as we might have
+ # removed some numbers from the list and seqNumIdx should always refer
+ # to a number that is actually used in the output, so that the -d option works)
+ seqNumIdx = -1
+ maxVal = -1
+# for i,idx in enumerate(indices):
+ for i,idx in enumerate(numIdxs):
+ v = len(ranges[idx])
+ if v>=maxVal:
+ seqNumIdx = i
+ maxVal = v
+
+ return dstTemplate, numIdxs, seqNumIdx
+
+
+class _SequenceProcessor:
+ """Base class for move/copy/link.
+ """
+
+ def __init__(self, srcSequences, dstName, srcRanges=None, dstRange=None,
+ keepExt=True, enforceDstRange=False, verbose=False,
+ resolveSrcLinks=False):
+ """Constructor.
+
+ See the derived classes for documentation on most arguments.
+
+ resolveSrcLinks: If true, the source file names will be replaced by
+ their real paths.
+ """
+ ong = OutputNameGenerator(srcSequences,
+ dstName,
+ srcRanges = srcRanges,
+ dstRange = dstRange,
+ keepExt = keepExt,
+ enforceDstRange = enforceDstRange)
+
+ self._mergesNumbers = ong.numberMergeFlag
+ self._verbose = verbose
+
+ # Create the file table
+ fileTab = []
+ for uiSrc,uiDst in ong.iterNames():
+ src = os.path.abspath(uiSrc)
+ dst = os.path.abspath(uiDst)
+ if resolveSrcLinks:
+ src = os.path.realpath(uiSrc)
+ fileTab.append((src,dst,uiSrc,uiDst))
+
+ # Resolve internal collisions
+ srcFiles = map(lambda t: t[0], fileTab)
+ fileTab = self._resolveCollisions(fileTab, srcFiles)
+
+ self._fileTab = fileTab
+
+ def mergesNumbers(self):
+ """Check if a trailing number on the output sequence and a file number would get merged.
+
+ This method returns ``True`` when the base output sequence name ends in
+ a number and a sequence number would be appended as well which results
+ in a new number (for example, writing a sequence with the base name
+ ``out2`` can produce output files ``out20001``, ``out20002``, ... which
+ may not be what the user intended). The result of this call can be used to
+ check if the application should ask the user for confirmation.
+ """
+ return self._mergesNumbers
+
+ def overwrites(self):
+ """Iterate over all output file names that already exist on disk.
+
+ Only iterates over the files that are not part of the input sequence.
+ The returned files are those that would get overwritten when the
+ operation would be carried out.
+ This can be used to check if the user should be asked for confirmation.
+ """
+ srcDict = {}
+ srcFiles = map(lambda t: t[0], self._fileTab)
+ for srcName in srcFiles:
+ srcDict[srcName] = 1
+
+ dstFiles = map(lambda t: t[1], self._fileTab)
+ overwrites = []
+ for dstName in dstFiles:
+ if dstName not in srcDict and os.path.exists(dstName):
+ yield dstName
+
+ def sequences(self):
+ """Iterate over the input/output sequences.
+
+ Yields tuples (*srcSeq*, *dstSeq*) where each item is a :class:`Sequence`
+ object. The result can be used to show an overview of what the
+ operation will do.
+ """
+ # Print the final source and destination sequences (just for user info)
+
+ # We use _buildSequences() instead of buildSequences() so that the
+ # fileTab doesn't get sorted again (it is already sorted). This
+ # ensures that the sequences are yielded in the same order in which
+ # they will get processed.
+ objects = map(lambda obj: (SeqString(obj[2]),obj), self._fileTab)
+ seqs = _buildSequences(objects)
+ for srcSeq in seqs:
+ dstFiles = map(lambda t: t[3], srcSeq)
+ dstSeq = buildSequences(dstFiles)[0]
+ yield srcSeq, dstSeq
+
+ def dryRun(self, outStream=None):
+ """Print what would get done when run() was called.
+
+ *outStream* is an object with a :meth:`write()` method that will
+ receive the text. If ``None`` is passed, ``sys.stdout`` is used.
+ """
+ if outStream is None:
+ outStream = sys.stdout
+
+ for src,dst,uiSrc,uiDst in self._fileTab:
+ if src!=dst:
+ outStream.write("%s -> %s\n"%(uiSrc, uiDst))
+
+ def run(self, outStream=None):
+ """Do the operation.
+
+ *outStream* is an object with a :meth:`write()` and :meth:`flush()`
+ method that will receive the text (only in verbose mode). If ``None``
+ is passed, ``sys.stdout`` is used.
+ """
+ if outStream is None:
+ outStream = sys.stdout
+
+ # Execute the list
+ for src,dst,uiSrc,uiDst in self._fileTab:
+ if src!=dst:
+ if self._verbose:
+ outStream.write("%s -> %s\n"%(uiSrc, uiDst))
+ outStream.flush()
+ self._fileOperation(src, dst)
+
+ def _fileOperation(self, src, dst):
+ """Do the file operation.
+
+ This must be implemented in a derived class.
+ """
+ raise NotImplementedError("This method must be implemented in a derived class")
+
+ def _resolveCollisions(self, fileTable, srcFiles):
+ """Modify the file table, so that moving files doesn't result in collisions.
+
+ Collisions are only checked among the files in the table, it is not checked
+ that a move operation would overwrite a file on disk.
+ Returns the new file table (the old table might have been modified!).
+
+ srcFiles is the list of initial files as they exist on disk (the strings
+ must match the srcName strings in fileTable).
+
+ Raises an exception if collisions cannot be resolved (this can happen
+ when the sequence contains file like img1.tif and img01.tif which might
+ both get mapped to the same output file name).
+
+ This has to be implemented in a derived class.
+ """
+ return fileTable
+
+
+class MoveSequence(_SequenceProcessor):
+ """This class moves one or more sequences of files.
+ """
+
+ def __init__(self, srcSequences, dstName, srcRanges=None, dstRange=None, keepExt=True, verbose=False):
+ """Constructor.
+
+ srcSequences is a list of Sequence objects that contain the source
+ sequence files that the output sequence is based on.
+
+ dstName is a string containing the name pattern for building the
+ output file names. The pattern may contain @ or # characters to define
+ where the numbers should appear and what their padding is.
+ You can also use an index to refer to a particular number from the
+ input sequence and you can use expressions within curly braces.
+ In the simplest case, the name can just be a base name without any
+ special characters at all. In this case, a 4-padded number is
+ automatically appended which will receive the values from the
+ main number sequence in the input files (or the values specified by
+ the destination range).
+
+ srcRanges is a list of Range objects that defines which files from the
+ source sequence should be considered, everything outside the range
+ is ignored. The numbers produced by the range object refers to the
+ main sequence number of the input sequence (i.e. the number that varies
+ fastest). If no source range is given for a particular sequence, then
+ all input files are considered.
+
+ dstRange may be a Range object that provides the main sequence number
+ for the output names. In this case, the main number from the input
+ sequence is ignored (unless referenced via an expression). If no range
+ object is given, the numbers are taken from the input sequence.
+
+ keepExt is a boolean that indicates whether the file name extension
+ should be added automatically if it isn't already part of the output
+ name pattern. Note that the extension is *always* added unless the
+ output name already contains exactly the expected extension. If the
+ output name contains a different extension, the old extension is still
+ added. So if you want to be able to let the user rename the extension,
+ you must set this flag to False.
+
+ The verbose flag determines whether each file is printed during the
+ actual operation.
+ """
+ _SequenceProcessor.__init__(self, srcSequences, dstName, srcRanges, dstRange, keepExt, enforceDstRange=False, verbose=verbose)
+
+ def _fileOperation(self, src, dst):
+ """Do the move operation.
+ """
+ shutil.move(src, dst)
+
+ def _checkCollisions(self, fileTable, srcFiles):
+ """Check if moving/renaming the files would lead to collisions.
+
+ fileTable is a list of tuples where the first two items are the
+ srcName and the dstName. There may be additional items per tuple which
+ are just ignored.
+ srcFiles is the list of initial files as they exist on disk (the strings
+ must match the srcName strings in fileTable).
+
+ Returns True when a file from the input sequence would get overwritten.
+ """
+ fileDict = {}
+ # Initialize the file dict with the source files
+ for name in srcFiles:
+ fileDict[name] = 1
+
+ # Simulate the rename operations and check if there is a collision
+ for item in fileTable:
+ srcName = item[0]
+ dstName = item[1]
+ del fileDict[srcName]
+ if fileDict.has_key(dstName):
+ return True
+ fileDict[dstName] = 1
+
+ return False
+
+ def _resolveCollisions(self, fileTable, srcFiles):
+ """Modify the file table, so that moving files doesn't result in collisions.
+
+ Collisions are only checked among the files in the table, it is not checked
+ that a move operation would overwrite a file on disk.
+ Returns the new file table (the old table might have been modified!).
+
+ srcFiles is the list of initial files as they exist on disk (the strings
+ must match the srcName strings in fileTable).
+
+ Raises an exception if collisions cannot be resolved (this can happen
+ when the sequence contains file like img1.tif and img01.tif which might
+ both get mapped to the same output file name).
+ """
+ # Check if renaming in the current order would result in a collision.
+ if self._checkCollisions(fileTable, srcFiles):
+ # Try the reverse order instead
+ fileTable.reverse()
+
+ # If this still collides, then use a temporary name
+ if self._checkCollisions(fileTable, srcFiles):
+ fileTable.reverse()
+ tab1 = []
+ tab2 = []
+ for item in fileTable:
+ srcName = item[0]
+ dstName = item[1]
+ uiSrcName = item[2]
+ uiDstName = item[3]
+
+ p,n = os.path.split(dstName)
+ tmpName = os.path.join(p, "__tmp__"+n)
+ p,n = os.path.split(uiDstName)
+ uiTmpName = os.path.join(p, "__tmp__"+n)
+
+ tab1.append((srcName,tmpName,uiSrcName,uiTmpName))
+ tab2.append((tmpName,dstName,uiTmpName,uiDstName))
+ fileTable = tab1+tab2
+
+ if self._checkCollisions(fileTable, srcFiles):
+ raise ValueError("Cannot resolve collisions because of inconsistent sequence numbering. A file from the input sequence would overwrite another file from the same sequence.")
+
+ return fileTable
+
+
+class CopySequence(_SequenceProcessor):
+ """This class copies one or more sequences of files.
+ """
+
+ def __init__(self, srcSequences, dstName, srcRanges=None, dstRange=None,
+ keepExt=True, verbose=False, resolveSrcLinks=False):
+ """Constructor.
+
+ srcSequences is a list of Sequence objects that contain the source
+ sequence files that the output sequence is based on.
+
+ dstName is a string containing the name pattern for building the
+ output file names. The pattern may contain @ or # characters to define
+ where the numbers should appear and what their padding is.
+ You can also use an index to refer to a particular number from the
+ input sequence and you can use expressions within curly braces.
+ In the simplest case, the name can just be a base name without any
+ special characters at all. In this case, a 4-padded number is
+ automatically appended which will receive the values from the
+ main number sequence in the input files (or the values specified by
+ the destination range).
+
+ srcRanges is a list of Range objects that defines which files from the
+ source sequence should be considered, everything outside the range
+ is ignored. The numbers produced by the range object refers to the
+ main sequence number of the input sequence (i.e. the number that varies
+ fastest). If no source range is given for a particular sequence, then
+ all input files are considered.
+
+ dstRange may be a Range object that provides the main sequence number
+ for the output names. In this case, the main number from the input
+ sequence is ignored (unless referenced via an expression). If no range
+ object is given, the numbers are taken from the input sequence.
+
+ keepExt is a boolean that indicates whether the file name extension
+ should be added automatically if it isn't already part of the output
+ name pattern. Note that the extension is *always* added unless the
+ output name already contains exactly the expected extension. If the
+ output name contains a different extension, the old extension is still
+ added. So if you want to be able to let the user rename the extension,
+ you must set this flag to False.
+
+ The verbose flag determines whether each file is printed during the
+ actual operation.
+
+ resolveSrcLinks determines whether source links are resolved before
+ processing the sequence.
+ """
+ _SequenceProcessor.__init__(self, srcSequences, dstName, srcRanges, dstRange,
+ keepExt, enforceDstRange=True, verbose=verbose,
+ resolveSrcLinks=resolveSrcLinks)
+
+ def _fileOperation(self, src, dst):
+ """Do the copy operation.
+ """
+ shutil.copy(src, dst)
+
+ def _checkCollisions(self, fileTable, srcFiles):
+ """Check if copying the files would lead to collisions.
+
+ fileTable is a list of tuples where the first two items are the
+ srcName and the dstName. There may be additional items per tuple which
+ are just ignored.
+ srcFiles is the list of initial files as they exist on disk (the strings
+ must match the srcName strings in fileTable).
+ """
+ fileDict = {}
+ # Initialise the file dict with the source files
+ for name in srcFiles:
+ fileDict[name] = 1
+
+ # Simulate the copy operations and check if there is a collision
+ for item in fileTable:
+ srcName = item[0]
+ dstName = item[1]
+ # Check if the original source file has already been overwritten
+ if srcName not in fileDict:
+ return True
+ if dstName in fileDict:
+ del fileDict[dstName]
+
+ return False
+
+ def _resolveCollisions(self, fileTable, srcFiles):
+ """Modify the file table, so that moving files doesn't result in collisions.
+
+ Collisions are only checked among the files in the table, it is not checked
+ that a move operation would overwrite a file on disk.
+ Returns the new file table (the old table might have been modified!).
+
+ srcFiles is the list of initial files as they exist on disk (the strings
+ must match the srcName strings in fileTable).
+
+ Raises an exception if collisions cannot be resolved (this can happen
+ when the sequence contains file like img1.tif and img01.tif which might
+ both get mapped to the same output file name).
+ """
+ # Check if renaming in the current order would result in a collision.
+ if self._checkCollisions(fileTable, srcFiles):
+ # Try the reverse order instead
+ fileTable.reverse()
+
+ # If this still collides, then use a temporary name
+ if self._checkCollisions(fileTable, srcFiles):
+ fileTable.reverse()
+ raise ValueError("Cannot resolve collisions because of inconsistent sequence numbering. A file from the input sequence would overwrite another file from the same sequence.")
+
+ return fileTable
+
+
+class SymLinkSequence(CopySequence):
+ """This class creates symbolic links between sequences.
+ """
+ def _fileOperation(self, src, dst):
+ """Do the copy operation.
+ """
+ os.symlink(src, dst)
+
+
+def buildSequences(names, numPos=None, assumeFiles=False, nameFunc=None):
+ """Create sorted sequences from a list of names/objects.
+
+ *names* is a list of objects (usually strings) that are grouped into sequences.
+ If *assumeFiles* is ``True``, the input strings are assumed to be file
+ names. In this case, it will be ensured that files from different
+ directories are put into different sequences and any number occurring
+ in the directory part is "frozen" (turned into a string).
+
+ *numPos* can be set to a number index which defines the position of the
+ numbers that are allowed to vary per sequence. If not given, all numbers
+ may vary (for example, if you want the files ``clip1_#.tif`` to be a different
+ sequence than ``clip2_#.tif`` you have to set numPos to 1 or -1).
+
+ *nameFunc* can be a callable that gets called for every item in *names*.
+ The function has to return the actual name of that object. This can
+ be used if the input list contains objects that are not strings but
+ some other (compound) objects.
+
+ Returns a list of :class:`Sequence` objects.
+ The sequences and the files within the sequences are sorted.
+ """
+ # Create the objects list which contains 2-tuples (seqString,obj).
+ # obj is the original object from the "names" list or None.
+ if nameFunc is None:
+ objects = map(lambda name: (SeqString(name),None), names)
+ else:
+ objects = map(lambda obj: (SeqString(nameFunc(obj)),obj), names)
+ # Sort the objects according to their seqString
+ # The order of the result is already so that members of the same
+ # sequence are together, we just don't know yet where a sequence ends
+ # and the next one begins.
+ objects.sort(key=lambda tup: tup[0])
+
+ return _buildSequences(objects, numPos, assumeFiles)
+
+def _buildSequences(objects, numPos=None, assumeFiles=False):
+ """Helper function for buildSequences().
+
+ objects is a sorted list of (name,obj) tuples.
+ """
+ res = []
+
+ # Build sequences...
+ currentSeq = Sequence()
+ currentPath = None
+ for name,obj in objects:
+ # Are we dealing with file names? Then freeze directory numbers...
+ if assumeFiles:
+ path,n = os.path.split(str(name))
+ pathseq = SeqString(path)
+ # n: The number count in the path (these numbers have to be frozen)
+ n = pathseq.numCount()
+ for i in range(n):
+ name.replaceNum(i, name.getNumStr(i))
+
+ sequenceSplit = False
+
+ # Check if the current name has a different structure or different
+ # text parts as the names in the current sequence. If so, we
+ # have to begin a new sequence
+ if not currentSeq.match(name, numPos):
+ sequenceSplit = True
+
+ # If we are dealing with file names, then make sure files in
+ # different directories are put into separate sequences (even
+ # when the names have the same structure).
+ if assumeFiles:
+ # path has been set above where the directory numbers were frozen
+ if currentPath is not None and path!=currentPath:
+ sequenceSplit = True
+ currentPath = path
+
+ # Do we have to begin a new sequence?
+ if sequenceSplit:
+ res.append(currentSeq)
+ currentSeq = Sequence()
+
+ # Add the current name to the current sequence
+ currentSeq.append(name, obj)
+
+ # Also store the last sequence generated (if it isn't empty)
+ if len(currentSeq)>0:
+ res.append(currentSeq)
+
+ return res
+
+
+def compactRange(values):
+ """Build the range string that lists all values in the given list in a compacted form.
+
+ *values* is a list of integers (may contain duplicate values and does not have
+ to be sorted). The return value is a string that lists all values (sorted)
+ in a compacted form.
+ The returned range string can be passed into a :class:`Range` object to create
+ the expanded integer sequence again.
+
+ Examples:
+
+ >>> compactRange([1,2,3,4,5,6])
+ '1-6'
+ >>> compactRange([2,4,6,8])
+ '2-8x2'
+ >>> compactRange([1,2,3,12,11,10])
+ '1-3,10-12'
+ """
+ if len(values)==0:
+ return ""
+
+ values.sort()
+
+ # Set the initial value of the range list. The list contains
+ # lists [start,end,step].
+ v = values[0]
+ rangeList = [[v,v,None]]
+
+ # Build the range list
+ for v in values[1:]:
+ r = rangeList[-1]
+ begin,end,step = r
+ if v!=end:
+ if begin==end:
+ step = v-begin
+ r[2] = step
+ if end+step==v:
+ r[1] = v
+ else:
+ rangeList.append([v,v,None])
+
+ # Go through all individual ranges and check if ranges that only contain
+ # two values can be changed so that the end value is put into the
+ # subsequent range (e.g. 1-100x99,101 -> 1,100-101)
+ for i in range(len(rangeList)-1):
+ begin,end,step = rangeList[i]
+ # Is this a range containing 2 values? Then check if it's advantageous
+ # second value can be moved into the subsequent range
+ if begin!=end and (end-begin)/step==1:
+ begin2,end2,step2 = rangeList[i+1]
+ # The second range only contains 1 value? Then only move
+ # when the new step is smaller than the old step in the first range
+ if begin2==end2:
+ step2 = begin2-end
+ if step2` objects.
+ The sequences and the files within the sequences are sorted.
+ """
+ name = os.path.normpath(name)
+ globpattern = name
+ if not globpattern.endswith("*"):
+ globpattern += "*"
+
+ # Replace number substitution pattern by wildcards (this might result
+ # in files being reported that are actually not valid because they either
+ # contain strings instead of numbers or the padding is not as specified)
+ globpattern = globpattern.replace("#", "????")
+ while 1:
+ m = re.search(r"@+", globpattern)
+ if m is None:
+ break
+ globpattern = "%s%s%s"%(globpattern[:m.start()], "?*", globpattern[m.end():])
+
+ # Create a regular expression to filter the glob result
+ regexp = []
+ s = name
+ while 1:
+ m = re.search(r"\*|#|@+", s)
+ if m is None:
+ regexp.append(re.escape(s))
+ break
+ p = m.group()
+ regexp.append(re.escape(s[:m.start()]))
+ if p=="*":
+ regexp.append(".*")
+ elif p=="#":
+ regexp.append("[0-9][0-9][0-9][0-9]")
+ else:
+ r = len(p)*"[0-9]"
+ r = "(%s|[1-9][0-9]{%s,})"%(r,len(p))
+ regexp.append(r)
+ s = s[m.end():]
+
+ regexp = "".join(regexp)
+
+ # Get a list of potential file names
+ fileNames = _glob.glob(globpattern)
+
+ # Remove all directories
+ fileNames = filter(lambda n: not os.path.isdir(n), fileNames)
+
+ # Remove files that don't match the regular expression
+ reg = re.compile(regexp)
+ fileNames = filter(lambda n: reg.match(n) is not None, fileNames)
+
+ # Remove files that don't have any number in their name (without ext)
+ fileNames = filter(lambda n: SeqString(os.path.splitext(n)[0]).numCount()>0, fileNames)
+
+ return buildSequences(fileNames, assumeFiles=True)
+
+
+# The following function is obsolete and replaced by the SeqTemplate class.
+#def numSubstitutionPatterns(pattern):
+# """Return the number of substitution patterns inside a string.
+#
+# Returns the number of occurrences of a single '#' or a sequence of '@'
+# character.
+# """
+# rexp = re.compile(r"#|@+")
+# res = 0
+# while 1:
+# m = rexp.search(pattern)
+# if m is None:
+# break
+# res += 1
+# pattern = pattern[m.end():]
+# return res
+
+# The following function is obsolete and replaced by the SeqTemplate class.
+#def replaceNums(pattern, nums):
+# """Replace number patterns inside a string.
+#
+# pattern is a string that contains '#' or '@' characters. A single '#'
+# represents a padded number with 4 digits whereas a sequence of '@'
+# characters represents a number of that width. If a number is larger than
+# the specified width, the final width will be larger as well (i.e. the
+# number is not clipped).
+# nums is a list of integers. For each number in the list, the pattern
+# string must contain exactly one number substitution pattern.
+# """
+# if len(nums)==1:
+# patternMsg = "pattern"
+# else:
+# patternMsg = "patterns"
+#
+# s = pattern
+# for num in nums:
+# n1 = s.find("#")
+# n2 = s.find("@")
+# if n1!=-1 and (n2==-1 or n1
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import time
+import subprocess
+
+import traceback
+
+import threading
+import platform
+
+CREATE_NO_WINDOW = 134217728
+
+
+class ProccessTimeOut(Exception):
+ def __init__(self,value):
+ self.value = value
+
+ def __str__(self):
+ return repr(self.value)
+
+def communicate(p,output,stdin):
+
+
+ output.extend(p.communicate(stdin))
+
+
+def launch_process(cmd,env=None,cwd=None,stdout=None,stderr=None,stdin=None):
+ print subprocess.list2cmdline(cmd)
+
+ kwargs = {'stdin':stdin,
+ 'stdout':stdout,
+ 'stderr':stderr,
+ 'env':env,
+ 'cwd':cwd}
+
+ if platform.system() == 'Windows':
+ kwargs['creationflags'] = CREATE_NO_WINDOW
+
+ p = subprocess.Popen(cmd,**kwargs)
+
+ return p
+
+def timeout_process(cmd,stdin=None,env=None,cwd=None,timeout=12,raise_exception=True):
+
+ p = launch_process(cmd,env,cwd,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
+ stdin=subprocess.PIPE)
+
+
+ output = []
+
+ communicate_thread = threading.Thread(target=communicate,
+ args=(p, output,stdin))
+
+
+ communicate_thread.start()
+
+ start_time = time.time()
+ pid = p.pid
+ while True:
+ if p.returncode is None:
+ pass
+ else:
+ break
+
+ dur = time.time() -start_time
+
+ if dur > timeout:
+ #print 'process timed out'
+ p.kill()
+ if raise_exception:
+ raise ProccessTimeOut('pid %i timed out, over %s seconds' % (pid,str(timeout)))
+ else:
+ break
+
+ time.sleep(.05)
+
+
+ communicate_thread.join()
+
+
+
+ stdout = None
+ stderr = None
+ if output:
+ stdout = output[0]
+ if len(output) > 1:
+ stderr = output[1]
+
+ if p.returncode != 0:
+ raise Exception("pid %i exited with errors\n" % pid + stderr)
+
+ return stdout,stderr
+
+
+
+
+
+if __name__ == '__main__':
+ print timeout_process(['ls','/'])[0]
+ cmd = ['find','/']
+
+
+ timeout_process(cmd,raise_exception=False)
+
+ timeout_process(cmd)
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/project_browser/tool_actions.py b/project_browser/tool_actions.py
new file mode 100644
index 0000000..965a47c
--- /dev/null
+++ b/project_browser/tool_actions.py
@@ -0,0 +1,69 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import utilities
+import flipbook_tool
+
+def content_treeview_contextmenu_actions():
+
+
+ actions =[]
+
+ actions.append({'name':"Show in %s" % utilities.filebrowser_name().capitalize(),'func':show_content_in_file_browser})
+ actions.append(None)
+ actions.append({'name':"Copy",'func':copy_content_path})
+ actions.append(None)
+ actions.append({'name':"Flipbook",'func':flipbook})
+
+
+
+ return actions
+
+def show_content_in_file_browser(project_item,file_items):
+ print 'showing in finder'
+ print project_item,file_items
+
+ path = file_items[0].content.nice_path()
+ utilities.show_file_in_folder(path)
+
+def copy_content_path(project_item,file_items):
+ import gui_utilities
+
+ paths = []
+
+ string = ""
+
+ for item in file_items:
+
+ path = item.content.path()
+
+ paths.append(path)
+ #string += '%s\n' % path
+ #paths.append(path)
+
+ print 'copying content path to clipboard'
+ print string
+
+ gui_utilities.copy_string_to_clipboard('\n'.join(paths))
+
+
+def flipbook(project_item,file_items):
+
+ print 'flipbooking'
+ #reload(flipbook_tool)
+ flipbook_tool.launch_flipbook_tool(file_items)
+
\ No newline at end of file
diff --git a/project_browser/utilities.py b/project_browser/utilities.py
new file mode 100644
index 0000000..d5bd5f8
--- /dev/null
+++ b/project_browser/utilities.py
@@ -0,0 +1,215 @@
+#Copyright (C) 2011 Mark Reid
+
+#This file is part of Project Browser.
+
+#Project Browser 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.
+
+#Project Browser 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 Project Browser. If not, see .
+
+import os
+import sys
+import platform
+
+from timeout_process import launch_process
+
+def find_executable_path(name):
+ """search system path and included packages (if available) for executable"""
+ names = [name.lower()]
+ seperator=':'
+ if platform.system() == 'Windows':
+ names.append(name.lower() + '.exe')
+ seperator = ';'
+
+ executable = None
+
+ executable = packaged_executable(names)
+ if executable:
+ return executable
+
+ PATH = 'PATH'
+
+ if os.environ.has_key(PATH):
+ executable = search_env_variable(os.environ[PATH],names,seperator)
+
+
+
+
+ return executable
+
+
+def packaged_executable(names):
+ """search included packages for executable"""
+
+ dirs = ['Program Files/FFmpeg/bin','Program Files/ImageMagick']
+
+ for path in dirs:
+ if os.path.exists(path):
+ executable = search_dir(path,names)
+ if executable:
+ return executable
+
+ return None
+
+
+
+
+
+
+def search_env_variable(var,names,seperator=':'):
+ """search system path for executable and return it"""
+
+ for dirname in var.split(seperator):
+ if os.path.exists(dirname):
+ executable = search_dir(dirname,names)
+ if executable:
+ return executable
+ return None
+
+def search_dir(dirname,names):
+
+ """search a directory for any item in names and return it"""
+ for filename in os.listdir(dirname):
+ #print filename
+ if filename.lower() in names:
+ return os.path.join(dirname,filename)
+
+ return None
+
+
+def find_mime_types_file():
+ """find the included mime.types file which list file formats and their extensions"""
+ default_file = os.path.join(os.path.dirname(__file__),'mime.types')
+ return default_file
+
+
+def find_image_dir():
+
+ """find project browsers images directory"""
+ default_dirs = ['images',os.path.join(os.path.dirname(__file__),'images')]
+
+ for path in default_dirs:
+ if os.path.exists(path):
+ return path
+ return None
+
+def find_project_configuration_dirs():
+ """find available project directories"""
+
+
+ default_dirs = ['projects',os.path.join(os.path.dirname(__file__),'projects')]
+
+ dir_list = []
+ for path in default_dirs:
+ if os.path.exists(path):
+
+ if os.path.abspath(path) in dir_list:
+ pass
+ else:
+ dir_list.append(os.path.abspath(path))
+
+
+ return dir_list
+
+def pretty_filesize(bytes):
+ if bytes >= 1073741824:
+ return str(bytes / 1024 / 1024 / 1024) + ' GB'
+ elif bytes >= 1048576:
+ return str(bytes / 1024 / 1024) + ' MB'
+ elif bytes >= 1024:
+ return str(bytes / 1024) + ' KB'
+ elif bytes < 1024:
+ return str(bytes) + ' bytes'
+
+
+def detect_desktop_environment():
+ """Detect Current Desktop Environment"""
+ if platform.system() == 'Windows':
+ return 'Windows'
+ elif platform.system() == "Darwin":
+ return 'Darwin'
+
+ elif platform.system() == 'Linux':
+
+ desktop_environment = 'generic'
+ if os.environ.get('KDE_FULL_SESSION') == 'true':
+ desktop_environment = 'kde'
+ elif os.environ.get('GNOME_DESKTOP_SESSION_ID'):
+ desktop_environment = 'gnome'
+
+
+ return desktop_environment
+
+
+def show_file_in_folder_cmd(path):
+ """Generate the command to launch a native file browser and select it if it can"""
+ desktop_environment = detect_desktop_environment()
+
+ dirname = path
+ if os.path.isfile(path):
+ dirname = os.path.dirname(path)
+
+ if desktop_environment == 'Windows':
+ cmd = ['explorer.exe','/select,', path ]
+
+ elif desktop_environment == "Darwin":
+
+ cmd = ['/usr/bin/osascript']
+ cmd.extend(['-e', 'tell application "Finder"'])
+ cmd.extend(['-e','activate'])
+ cmd.extend(['-e','select POSIX file "%s"' % path])
+ cmd.extend(['-e','end tell'])
+
+ elif desktop_environment == 'gnome':
+ cmd = ['xdg-open',dirname]
+
+ elif desktop_environment == 'kde':
+ cmd = ['konqueror', '--select',path]
+
+ else:
+ cmd = ['xdg-open',dirname]
+
+ return cmd
+
+
+def filebrowser_name():
+
+ """return a pretty name for the native file browser"""
+ desktop_environment = detect_desktop_environment()
+
+ if desktop_environment == 'Windows':
+ return "explorer"
+
+ elif desktop_environment == "Darwin":
+ return 'finder'
+
+ elif desktop_environment == 'gnome':
+ return "nautilus"
+
+ elif desktop_environment == 'kde':
+ return 'konqueror'
+
+ else:
+ return 'file browser'
+
+def show_file_in_folder(path):
+ """show file in native file browser and select it if supported"""
+ cmd = show_file_in_folder_cmd(path)
+
+ launch_process(cmd)
+if __name__ == '__main__':
+
+ print find_executable_path('ffmpeg')
+ print find_executable_path('fFprobe')
+ print find_executable_path('Convert')
+ print find_executable_path('identify')
+
+ show_file_in_folder(find_executable_path('ffmpeg'))
\ No newline at end of file