pyneighborhood-0.5.1/ 0000755 0000000 0000000 00000000000 11424045765 011433 5 ustar pyneighborhood-0.5.1/doc/ 0000755 0000000 0000000 00000000000 11424045765 012200 5 ustar pyneighborhood-0.5.1/doc/browsing-nmblookup.dia 0000644 0000000 0000000 00000102232 11424045765 016515 0 ustar
#A4#
#Query of Master Browsers#
#nmblookup -M -- -#
#querying __MSBROWSE__ on 192.168.1.255
192.168.1.1 __MSBROWSE__ <01>
192.168.1.2 __MSBROWSE__ <01>#
#List of Master Browsers#
#nmblookup -A 192.168.1.1#
#Query each Master Browser#
#Looking up status of 192.168.1.1
SERVER <00> - B <ACTIVE>
...#
#Field <03> is the SMB Name of the Master Browser
and Field <1e> is the Workgroup Name.#
#nmblookup WORKGROUP#
#Lookup all Hosts in WORKGROUP#
#querying WORKGROUP on 192.168.1.255
192.168.1.1 WORKGROUP<00>
192.168.1.3 WORKGROUP<00>#
#IP List off all Hosts in Workgroup#
#nmblookup -A 192.168.1.3#
#Query each Host:#
#Looking up status of 192.168.1.3
WORKSTATION <00> - B <ACTIVE>
....#
#Field <03> is the SMB Name of the Host.#
pyneighborhood-0.5.1/doc/database-layout.dia 0000644 0000000 0000000 00000072223 11424045765 015744 0 ustar
#A4#
#workgroups#
##
##
#id#
#INTEGER PRIMARY KEY#
##
##
#name#
#TEXT#
##
##
#hosts#
##
##
#id#
#INTEGER PRIMARY KEY#
##
##
#name#
#TEXT#
##
#SMB Name of the Host#
#ip#
#TEXT#
##
#IP of the Host#
#hostname#
#TEXT#
##
#DNS Name of the Host#
#workgroup#
#INTEGER#
#REFERENCES workgroups(id)#
#Workgroup of the Host#
#comment#
#TEXT#
##
#SMB Comment Field#
#shares#
##
##
#id#
#INTEGER PRIMARY KEY#
##
##
#name#
#TEXT#
##
#Name of the Share#
#host#
#INTEGER#
#REFERENCES hosts(id)#
#Share of which host?#
#mountpoint#
#TEXT#
##
##
#username#
#TEXT#
##
##
#password#
#TEXT#
##
##
#guest#
#BOOLEAN#
##
##
#comment#
#TEXT#
##
##
pyneighborhood-0.5.1/setup.py 0000644 0000000 0000000 00000003535 11424045765 013153 0 ustar #!/usr/bin/env python
# pyNeighborhood -- SMB/CIFS Client
# Copyright (C) 2008 Stefan J. Betz
#
# 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 .
import os
import sys
import subprocess
import stat
from distutils.core import setup
setup(name='pyneighborhood',
version='0.5.1',
description='Python SMB Browsing Tool',
author='Mykola Lynnyk',
author_email='pydefiner@gmail.com',
maintainer='Stefan J. Betz',
maintainer_email='info@stefan-betz.net',
url='http://pyneighborhood.sourceforge.net',
scripts=['pyNeighborhood'],
packages=['pyneighborhood'],
data_files=[('share/pyneighborhood/icons',
['icons/filemanager.png',
'icons/groups.png',
'icons/host.png',
'icons/scan.png',
'icons/share.png',
'icons/workgroup.png',
'icons/pyneighborhood.png']),
('share/doc/pyneighborhood/', ['README', 'Changelog']),
('share/applications/', ["pyNeighborhood.desktop"]),
('share/pyneighborhood', ['pyNeighborhood.glade', 'pyNeighborhood.gladep']),
]
)
pyneighborhood-0.5.1/COPYING 0000644 0000000 0000000 00000104513 11424045765 012472 0 ustar 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
.
pyneighborhood-0.5.1/pyNeighborhood.glade 0000644 0000000 0000000 00000351471 11424045765 015424 0 ustar
True
Options
GTK_WINDOW_TOPLEVEL
GTK_WIN_POS_CENTER_ON_PARENT
True
True
True
True
False
False
GDK_WINDOW_TYPE_HINT_DIALOG
GDK_GRAVITY_NORTH_WEST
True
False
True
True
False
0
True
GTK_BUTTONBOX_END
True
True
True
gtk-cancel
True
GTK_RELIEF_NORMAL
True
-6
True
True
True
gtk-ok
True
GTK_RELIEF_NORMAL
True
-5
0
False
True
GTK_PACK_END
True
True
True
True
GTK_POS_TOP
False
False
True
False
0
True
0
0.5
GTK_SHADOW_ETCHED_IN
True
0.5
0.5
1
1
0
0
12
0
True
2
2
False
0
0
True
Username
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
0
1
fill
True
Password
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
1
2
fill
True
True
True
True
0
True
●
False
1
2
0
1
True
True
True
False
0
True
●
False
1
2
1
2
True
<b>Default Username and Password</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
label_item
0
False
True
True
0
0.5
GTK_SHADOW_ETCHED_IN
True
0.5
0.5
1
1
0
0
12
0
True
3
2
False
0
0
True
nmblookup
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
0
1
fill
True
smbclient
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
1
2
fill
True
True
True
True
0
True
●
False
1
2
0
1
True
True
True
True
0
True
●
False
1
2
1
2
True
smbtree
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
2
3
fill
True
True
True
True
0
True
●
False
1
2
2
3
True
<b>Lookup</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
label_item
0
False
True
True
0
0.5
GTK_SHADOW_ETCHED_IN
True
0.5
0.5
1
1
0
0
12
0
True
False
0
True
Filemanager
False
False
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
False
False
True
True
True
True
0
True
●
False
0
True
True
True
True
Launch Filemanager on mount
True
GTK_RELIEF_NORMAL
True
False
False
True
label_item
0
False
True
True
0
0.5
GTK_SHADOW_ETCHED_IN
True
0.5
0.5
1
1
0
0
12
0
True
False
0
True
Command
False
False
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
False
False
True
True
True
True
0
True
●
False
0
True
True
True
True
Use sudo
True
GTK_RELIEF_NORMAL
True
False
False
True
label_item
0
True
True
False
True
True
Network
False
False
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
tab
True
False
0
True
0
0.5
GTK_SHADOW_ETCHED_IN
True
0.5
0.5
1
1
0
0
12
0
True
3
2
False
0
0
True
True
True
True
0
True
●
False
1
2
0
1
True
True
True
True
0
True
●
False
1
2
1
2
True
True
True
True
0
True
●
False
1
2
2
3
True
Mount Command
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
0
1
fill
True
Mount Options
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
1
2
fill
True
Unmount Command
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
2
3
fill
True
<b>CIFS Settings</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
label_item
0
False
True
True
0
0.5
GTK_SHADOW_ETCHED_IN
True
0.5
0.5
1
1
0
0
12
0
True
2
2
False
0
0
True
True
Cleanup Mountpoint after Unmount
True
GTK_RELIEF_NORMAL
True
False
False
True
0
2
1
2
fill
True
Mountpoint
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
0
1
fill
True
True
True
True
0
True
●
False
1
2
0
1
True
<b>Mountpoint</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
label_item
0
False
True
False
True
True
Filesystems
False
False
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
tab
0
True
True
800
450
True
pyNeighborhood
GTK_WINDOW_TOPLEVEL
GTK_WIN_POS_NONE
False
True
False
True
False
False
GDK_WINDOW_TYPE_HINT_NORMAL
GDK_GRAVITY_NORTH_WEST
True
False
True
False
0
True
GTK_ORIENTATION_HORIZONTAL
GTK_TOOLBAR_BOTH
True
True
True
gtk-quit
True
True
False
False
True
True
gtk-preferences
True
True
False
False
True
True
gtk-add
True
True
False
False
True
True
gtk-about
True
True
False
False
True
0
False
False
True
True
250
True
GTK_SHADOW_NONE
True
False
0
True
GTK_ORIENTATION_HORIZONTAL
GTK_TOOLBAR_ICONS
True
True
True
gtk-refresh
True
True
False
False
True
True
gtk-connect
True
True
False
False
True
0
False
False
True
True
GTK_POLICY_AUTOMATIC
GTK_POLICY_AUTOMATIC
GTK_SHADOW_IN
GTK_CORNER_TOP_LEFT
True
True
False
False
False
True
False
False
False
0
True
True
True
False
True
GTK_SHADOW_NONE
True
False
0
True
GTK_ORIENTATION_HORIZONTAL
GTK_TOOLBAR_ICONS
True
True
True
gtk-refresh
True
True
False
False
True
True
gtk-disconnect
True
True
False
False
True
0
False
False
True
True
GTK_POLICY_AUTOMATIC
GTK_POLICY_AUTOMATIC
GTK_SHADOW_IN
GTK_CORNER_TOP_LEFT
True
True
True
False
False
True
False
False
False
0
True
True
True
True
0
True
True
True
Mount Share...
GTK_WINDOW_TOPLEVEL
GTK_WIN_POS_CENTER_ON_PARENT
False
True
True
True
False
False
GDK_WINDOW_TYPE_HINT_DIALOG
GDK_GRAVITY_NORTH_WEST
True
False
True
True
False
0
True
GTK_BUTTONBOX_END
True
True
True
gtk-cancel
True
GTK_RELIEF_NORMAL
True
-6
True
True
True
gtk-apply
True
GTK_RELIEF_NORMAL
True
-10
0
False
True
GTK_PACK_END
True
False
0
True
3
2
False
0
0
True
<b>Workgroup</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
0
1
fill
True
<b>Host</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
1
2
fill
True
<b>Share</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
2
3
fill
True
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
1
2
0
1
fill
True
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
1
2
1
2
fill
True
False
False
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
1
2
2
3
fill
0
False
True
True
False
0
True
True
Anonymous
True
GTK_RELIEF_NORMAL
True
True
False
True
0
False
False
True
True
User & Password
True
GTK_RELIEF_NORMAL
True
False
False
True
anonymous-button
0
False
False
True
0
0.5
GTK_SHADOW_NONE
True
0.5
0.5
1
1
0
0
12
0
True
2
2
False
0
0
True
<b>User</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
0
1
fill
True
<b>Password</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
1
1
2
fill
True
False
True
True
True
0
True
●
False
1
2
0
1
True
False
True
True
False
0
True
●
False
1
2
1
2
True
<b>User / Password</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
label_item
0
True
True
0
False
True
True
True
Individual Mountpoint
True
GTK_RELIEF_NORMAL
True
False
False
True
0
False
False
True
False
Select mount directory...
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER
True
True
False
-1
0
True
True
0
True
True
True
Add Share...
GTK_WINDOW_TOPLEVEL
GTK_WIN_POS_CENTER_ON_PARENT
False
True
False
True
False
False
GDK_WINDOW_TYPE_HINT_DIALOG
GDK_GRAVITY_NORTH_WEST
True
False
True
True
False
0
True
GTK_BUTTONBOX_END
True
True
True
gtk-cancel
True
GTK_RELIEF_NORMAL
True
-6
True
True
True
gtk-ok
True
GTK_RELIEF_NORMAL
True
-5
0
False
True
GTK_PACK_END
True
False
0
True
<b>URL:</b>
False
True
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
False
False
True
True
True
True
0
True
●
False
0
True
True
0
False
True
True
<b>Example:</b>
//192.168.1.1/share
//hostname/share
Keep in mind that <i>hostname</i> must be resolvable through DNS.
False
True
GTK_JUSTIFY_LEFT
False
False
0.5
0.5
0
0
PANGO_ELLIPSIZE_NONE
-1
False
0
0
False
True
True
GTK_PROGRESS_LEFT_TO_RIGHT
0
0.10000000149
PANGO_ELLIPSIZE_NONE
0
False
False
5
True
True
pyNeighborhood
A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
False
https://launchpad.net/pyneighborhood
Homepage
Betz Stefan <info@stefan-betz.net>
Patrick Geltinger <patlkli@patlkli.org>
Mykola Lynnyk <pydefiner@gmail.com>
Gregoire Gentil
Rodrigo Castro
Julien Cabillot
Gossler Károly
Mario Izquierdo
Mykola Lynnyk <pydefiner@gmail.com>
Credits for the translations go to all contributors
from Launchpad Translations
pyneighborhood-0.5.1/pyNeighborhood.gladep 0000644 0000000 0000000 00000000441 11424045765 015570 0 ustar
pyNeighborhood
pyNeighborhood
FALSE
pyneighborhood-0.5.1/pyneighborhood/ 0000755 0000000 0000000 00000000000 11424045765 014453 5 ustar pyneighborhood-0.5.1/pyneighborhood/mountwindow.py 0000644 0000000 0000000 00000022143 11424045765 017421 0 ustar # mount.py
# Copyright (C) 2008 Stefan J. Betz
#
# 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 .
import pygtk
pygtk.require("2.0")
import gtk
import gtk.glade
import gobject
import threading
import re
import gettext
import os
from subprocess import Popen, PIPE, STDOUT
from tempfile import NamedTemporaryFile
from pyneighborhood import config, db
from pyneighborhood.misc import sharepath, homeconfdir, print_debug, MountpointError
_ = gettext.gettext
class MountWindow(threading.Thread):
"""
Mount-dialog
"""
def __init__(self, mainwindow, shareid = None, url = None):
"""
Constructor
"""
threading.Thread.__init__(self)
self.mainwindow = mainwindow
self.shareid = shareid
if self.shareid != None:
self.shareid = shareid
cursor = db.cursor()
self.share, self.host, self.ip, self.workgroup = cursor.execute("""
SELECT shares.name, hosts.name, hosts.ip, workgroups.name
FROM shares
INNER JOIN hosts ON shares.host = hosts.id
INNER JOIN workgroups ON hosts.workgroup = workgroups.id
WHERE shares.id = ?""", (self.shareid,)).fetchone()
elif not url:
pass
if not self.host:
self.host = self.ip
self.xml = gtk.glade.XML(sharepath() + "/pyNeighborhood.glade", "mount")
self.xml.signal_autoconnect(self)
self.window = self.xml.get_widget("mount")
self.workgroupentry = self.xml.get_widget("workgroup-entry")
self.workgroupentry.set_text(self.workgroup)
self.hostentry = self.xml.get_widget("host-entry")
self.hostentry.set_text(self.host)
self.shareentry = self.xml.get_widget("share-entry")
self.shareentry.set_text(self.share)
self.anontoggle = self.xml.get_widget("anonymous-button")
self.authtoggle = self.xml.get_widget("user-pass-button")
self.user = self.xml.get_widget("user-entry")
self.user.set_text(config.get("Main", "username"))
self.password = self.xml.get_widget("password-entry")
self.password.set_text(config.get("Main", "password"))
self.individual = self.xml.get_widget("individual-button")
self.choose_mountpoint = self.xml.get_widget("mountpoint-chooser")
if os.access(config.get("Main", "mount_directory"), os.F_OK):
self.choose_mountpoint.set_current_folder(config.get("Main", "mount_directory"))
self.errorre = re.compile("^.* ([0-9]+) = (.*)")
def logon_toggle(self, widget):
"""
Logon Options Toggle Callback
"""
if self.authtoggle.get_active() == True:
self.user.set_sensitive(True)
self.password.set_sensitive(True)
else:
self.user.set_sensitive(False)
self.password.set_sensitive(False)
def mountpoint_toggled(self, button):
"""
Individual Mountpoint Toggle Callback
"""
if button.get_active() == True:
self.xml.get_widget("mountpoint-chooser").set_sensitive(True)
else:
self.xml.get_widget("mountpoint-chooser").set_sensitive(False)
def response_handler(self, widget, response_id):
"""
Response Handler
"""
if response_id == gtk.RESPONSE_CANCEL:
self.window.destroy()
elif response_id == gtk.RESPONSE_APPLY:
self.start()
def error_dialog(self, error):
"""
Shows a mount error dialog
"""
print_debug("error_dialog called with error = %s" % error)
dialog = gtk.MessageDialog(self.window, gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, _("Mount error"))
dialog.format_secondary_text(error)
def response(dialog, responseid):
dialog.destroy()
self.window.destroy()
dialog.connect("response", response)
dialog.show()
def create_mountpoint(self):
"""
Create the mountpoint
"""
basedir = config.get("Main", "mount_directory")
workgroupdir = os.path.join(basedir, self.workgroup)
hostdir = os.path.join(basedir, self.workgroup, self.host)
mountpoint = os.path.join(basedir, self.workgroup, self.host, self.share)
if not os.access(basedir, os.R_OK + os.W_OK + os.X_OK):
if not os.path.isdir(basedir):
try:
os.mkdir(basedir)
except OSError, e:
raise MountpointError("Error creating mount directory: %s" % e)
else:
raise MountpointError("Error accessing mount directory: \
Lack of permission to access %s" % basedir)
try:
if not os.path.exists(workgroupdir):
os.mkdir(workgroupdir)
if not os.path.exists(hostdir):
os.mkdir(hostdir)
if not os.path.exists(mountpoint):
os.mkdir(mountpoint)
return mountpoint
except OSError, e:
raise MountpointError("Error creating mount directory: %s" % e)
def mount(self, username=None, password=None, target=None):
"""
Mounting Shares...
"""
error = None
options = []
command = []
if config.get("Main", "enable_sudo") == "True":
for item in config.get("Main", "sudo").split(" "):
command.append(item)
del item
command.append("--")
command.append(config.get("CIFS", "mount"))
if len(config.get("CIFS", "options")) > 0:
options.append(config.get("CIFS", "options"))
command.append("//" + self.ip + "/" + self.share)
print_debug("target = "+str(target))
if target != None:
if os.path.exists(target):
mountpoint = target
else:
error = _("The specified mount directory does not exist!")
return (target, error)
else:
try:
mountpoint = self.create_mountpoint()
except MountpointError, e:
return (None, e)
command.append(mountpoint)
if username == None or password == None:
options.append("guest")
options.append("sec=none")
else:
credentials = NamedTemporaryFile(dir=homeconfdir(),prefix="smbcreds")
credentials.write('username=%s\n' % (username))
credentials.write('password=%s\n' % (password))
credentials.flush()
options.append( "credentials=%s" % (credentials.name))
if len(options) != 0:
command.append("-o")
command.append(",".join(options))
print_debug(" ".join(command))
process = Popen(command, executable = command[0], stdout=PIPE, stderr=PIPE)
stdout, stderr = process.communicate()
try:
credentials.close()
del credentials
except UnboundLocalError:
pass
if len(stderr) != 0:
print_debug(stderr)
return (mountpoint, stderr)
else:
gobject.idle_add(self.window.destroy)
return (mountpoint, None)
def run(self):
"""
Make it real!
"""
self.mountpoint = self.choose_mountpoint.get_current_folder()
self.individual_toggle = self.individual.get_active()
if self.anontoggle.get_active() == True:
if self.individual_toggle == True:
mountpoint, error = self.mount(target=self.mountpoint)
elif self.individual_toggle == False:
mountpoint, error = self.mount()
elif self.authtoggle.get_active() == True:
if self.individual_toggle == True:
mountpoint, error = self.mount(username=self.user.get_text(), password=self.password.get_text(), target=self.mountpoint)
elif self.individual_toggle == False:
mountpoint, error = self.mount(username=self.user.get_text(), password=self.password.get_text())
if error != None:
self.error_dialog(str(error))
else:
gtk.gdk.threads_enter()
if config.get("Main", "enable_file_manager") == "True":
fmcmd = [config.get("Main", "filemanager"), mountpoint]
print config.get("Main", "filemanager"), '->', fmcmd
fmpid = Popen(fmcmd, executable=fmcmd[0], stderr=PIPE)
gtk.gdk.threads_leave()
self.mainwindow.reload_mounts()
self.window.destroy()
pyneighborhood-0.5.1/pyneighborhood/database.py 0000644 0000000 0000000 00000003646 11424045765 016602 0 ustar ## database.py
##
## Copyright (C) 2009 Stefan J. Betz
##
## 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; version 3 only.
##
## 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.
"""
This Modul contains all database related stuff, expect the database itself.
"""
def init_database(database):
"""
Creates the required database tables pyNeighborhood deeds.
"""
cursor = database.cursor()
cursor.execute("""CREATE TABLE workgroups (
id INTEGER PRIMARY KEY,
name TEXT,
treeview TEXT,
validated INTEGER DEFAULT 0,
manual INTEGER DEFAULT 0);""")
cursor.execute("""CREATE TABLE hosts (
id INTEGER PRIMARY KEY,
name TEXT,
ip TEXT,
hostname TEXT,
workgroup INTEGER REFERENCES workgroups(id),
comment TEXT,
treeview TEXT,
validated INTEGER DEFAULT 0,
manual INTEGER DEFAULT 0);""")
cursor.execute("""CREATE TABLE shares (
id INTEGER PRIMARY KEY,
name TEXT,
host INTEGER REFERENCES hosts(id),
mountpoint TEXT,
username TEXT,
password TEXT,
guest BOOLEAN,
comment TEXT,
treeview TEXT,
validated INTEGER DEFAULT 0,
manual INTEGER DEFAULT 0);""")
pyneighborhood-0.5.1/pyneighborhood/smbclient.py 0000644 0000000 0000000 00000004553 11424045765 017014 0 ustar # smbclient.py
# Copyright (C) 2008 Stefan J. Betz
#
# 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 .
import subprocess
import copy
import re
from pyneighborhood import config, db, dblock
from pyneighborhood.misc import print_debug
sharere = re.compile("^\t(.*)Disk *(.*)$", re.M)
anonsharelookupcommand = [ config.get("Main", "smbclient"), "-N", "-L" ]
def scan_shares(ip, manual=False):
"""
Get a list of shares at ip
"""
print_debug("Scanning for Shares: " + ip)
manual = 1 if manual else 0
command = copy.copy(anonsharelookupcommand)
command.append(ip)
process = subprocess.Popen(command,
executable = command[0],
stdout = subprocess.PIPE,
stderr = subprocess.STDOUT )
process.wait()
output = process.stdout.read()
print_debug(command, output)
match = sharere.search(output)
cursor = db.cursor()
host_id = cursor.execute("""SELECT id FROM hosts WHERE ip=?;""", (ip,)).fetchall()
if host_id:
while match:
sharename = match.group(1).rstrip()
comment = match.group(2).rstrip()
result = cursor.execute("""SELECT * FROM shares WHERE name = ? AND host = ?""", (sharename,host_id[0][0])).fetchall()
if len(result) == 0:
dblock.acquire()
cursor.execute("""INSERT INTO shares (name,host,comment,manual) VALUES (?,?,?,?);""", (sharename,host_id[0][0],comment, manual))
dblock.release()
elif len(result) == 1:
dblock.acquire()
cursor.execute("""UPDATE shares SET validated = 1 WHERE id = ?""", (result[0][0],))
dblock.release()
match = sharere.search(output, match.end())
pyneighborhood-0.5.1/pyneighborhood/misc.py 0000644 0000000 0000000 00000012560 11424045765 015764 0 ustar #!/usr/bin/env python
## pyNeighborhood.py
##
## Copyright (C) 2005-2007 Mykola Lynnyk
## Copyright (C) 2008 Stefan J. Betz
##
## 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; version 3 only.
##
## 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.
from sys import argv, _getframe
from inspect import getframeinfo
from os import getenv, environ
from os.path import exists, dirname, abspath, join, split, basename
from optparse import OptionParser
# pyNeighborhood Version
version = '0.5.1'
# Global Variable Definitions
options = None
# Function Definitions
def unpad(mystr):
"""
Removes more than one Space in the String 'str'
"""
unpaded = []
for item in mystr.split(" "):
temp = item.strip()
if temp != "":
unpaded.append(temp)
result = " ".join(unpaded)
return result
def localenv():
"""
This function is used to determine whether we work global or local
"""
if exists(join(dirname(abspath(argv[0])),"pyneighborhood")):
return True
autoprefix = dirname(abspath(argv[0]))
else:
return False
autoprefix = dirname(dirname(abspath(argv[0]))[:-3])
def prefix():
"""
"Calculate" prefix using superior folder structure
"""
if localenv():
return dirname(abspath(argv[0]))
else:
return split(dirname(argv[0]))[0]
def iconpath():
"""
This Function returns the Icon Path
"""
if localenv():
return prefix() + "/icons"
else:
return prefix() + "/share/pyneighborhood/icons"
def sharepath():
"""
This Function returns the Shared Path (Glade Files an so on)
"""
if localenv():
return prefix()
else:
return prefix() + "/share/pyneighborhood"
def homeconfdir():
"""
This Function returns the User Configuration Path (~/.pyNeighborhood)
"""
return getenv("HOME") + "/.pyNeighborhood"
def get_desktop_environ():
"""
This function tries to determine the user's running desktop environment
and returns its result, or False otherwise
"""
if environ.get("GNOME_DESKTOP_SESSION_ID"):
desktop_env = "gnome"
elif environ.get("KDE_FULL_SESSION"):
desktop_env = "kde"
elif environ.get("XDG_CURRENT_DESKTOP") == "LXDE":
desktop_env = "lxde"
elif environ.get("DESKTOP_SESSION") == "xfce":
desktop_env = "xfce"
else:
desktop_env = False
return desktop_env
def parse_args():
"""
Parse Command Line Arguments
"""
def print_version(option, opt_str, value, parser, *args, **kwargs):
print "pyNeighborhood %s" % version
raise SystemExit
parser = OptionParser()
parser.add_option("-d", "--debug", action="store_true", dest="debug",
help="Enable Debug Output")
parser.add_option("-t", "--trace", action="store_true", dest="trace",
help="Enable Tracing Output")
parser.add_option("-v", "--version", action="callback", callback=print_version,
help="Print pyNeighborhood Version")
global options # Don't remove this, because "options" is then everytime "None"!
options, args = parser.parse_args()
def print_debug(text, output = None):
"""
Generic Debug & Trace Handler
"""
frame = _getframe(1)
frameinfo = getframeinfo(frame)
if options.trace:
if not output:
print "In %(file)s at Line %(line)i:\n%(text)s" % { "file":basename(frameinfo[0]),
"line":frameinfo[1],
"text":text }
else:
print "In %(file)s at Line %(line)i, the command '%(text)s' returns:\n%(output)s" % { "file":basename(frameinfo[0]),
"line":frameinfo[1],
"text":text,
"output":output }
elif options.debug:
if not output:
print "Debug: %s" % ( text )
else:
print "Debug: Running Command '%s'" % ( text )
def print_database(database):
"""
Generic Database Dumper
"""
if options.debug:
cur = database.cursor()
res = cur.execute("""SELECT * FROM workgroups""").fetchall()
if len(res) != 0:
print "==== WORKGROUP TABLE ===="
for workgroup in res:
print workgroup
res = cur.execute("""SELECT * FROM hosts""").fetchall()
if len(res) != 0:
print "==== HOSTS TABLE ===="
for host in res:
print host
res = cur.execute("""SELECT * FROM shares""").fetchall()
if len(res) != 0:
print "==== SHARES TABLE ===="
for share in res:
print share
# Simple Exception based MountpointError exception
class MountpointError(Exception):
"""
Exception raised when creating or accessing
the mountpoint fails in mountwindow
"""
pass
pyneighborhood-0.5.1/pyneighborhood/addwindow.py 0000644 0000000 0000000 00000013166 11424045765 017014 0 ustar # -*- coding:utf-8 -*-
# addwindow.py
# Copyright (C) 2008-2009 Stefan J. Betz
#
# 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 .
import pygtk
pygtk.require("2.0")
import gtk
import gtk.glade
from re import compile
from socket import gethostbyname, gethostbyaddr, gaierror as socketerror, herror as hosterror
from gettext import gettext
from pyneighborhood import db, dblock
from pyneighborhood.misc import sharepath, print_debug
from pyneighborhood.nmblookup import lookup, query_workgroup, query_host
from pyneighborhood.smbclient import scan_shares
_ = gettext
class AddWindow(object):
"""
Add-dialog
"""
def __init__(self, mainwindow):
"""
Constructor
"""
self.mainwindow = mainwindow
self.xml = gtk.glade.XML(sharepath() + "/pyNeighborhood.glade", "addwindow")
self.xml.signal_autoconnect(self)
self.window = self.xml.get_widget("addwindow")
self.status = self.xml.get_widget("status")
self.url = self.xml.get_widget("urlentry")
# RE for the URL Entry:
# Group 1 = host or IP
# Group 2 = share
self.urlre = compile("^//(.*)/(.*)$")
self.hostonlyre = compile("^//(.*)$")
self.ipre = compile("^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$")
def response_handler(self, widget, response_id):
"""
Response Handler
"""
if response_id == gtk.RESPONSE_CANCEL:
self.window.destroy()
return False
elif response_id == gtk.RESPONSE_OK:
# RE the url...
url = self.urlre.match(self.url.get_text())
if url != None:
if self.ipre.match(url.group(1)):
ip = url.group(1)
hostname = None
else:
hostname = url.group(1)
ip = None
hostonly = False
else:
url = self.hostonlyre.match(self.url.get_text())
if url != None:
if self.ipre.match(url.group(1)):
ip = url.group(1)
hostname = None
else:
hostname = url.group(1)
ip = None
hostonly = True
else:
print_debug("Invalid URL specified!")
self.window.destroy()
return True
# Step 1: Resolve hostname (if any) to IP via DNS
self.status.set_fraction(0.2)
self.status.set_text(_("Resolving IP ..."))
gtk.gdk.window_process_all_updates()
if not ip:
try:
ip = gethostbyname(hostname)
except socketerror:
print_debug("Cannot resolve Hostname %s" % hostname)
self.window.destroy()
return True
#### hostname isn't needed in the following code
#### -> avoid function failure due to a failed reverse DNS lookup
# if not hostname:
# try:
# hostname = gethostbyaddr(ip)[0]
# except hosterror:
# print_debug("Cannot reverse resolve IP %s" % ip)
# self.window.destroy()
# return True
print_debug("Hostname » %s, IP » %s" % ( hostname, ip))
# Step 2: Retrieve workgroup from IP (and add to database)
self.status.set_fraction(0.4)
self.status.set_text(_("Resolving Workgroup..."))
gtk.gdk.window_process_all_updates()
query_workgroup(ip, True)
# Step 3: Retrieve SMB hostname from IP (and add to datebase)
self.status.set_fraction(0.6)
self.status.set_text(_("Resolving NetBIOS Hostname..."))
gtk.gdk.window_process_all_updates()
query_host(ip, True)
# Step 4: Scan for all shares on the host (and add to datebase)
self.status.set_fraction(0.8)
self.status.set_text(_("Scanning for all Shares..."))
gtk.gdk.window_process_all_updates()
scan_shares(ip, True)
# Step 5: Add share manually to datebase if not found in Step 4
self.status.set_fraction(1.0)
if not hostonly:
self.status.set_text(_("Appending user defined Share..."))
gtk.gdk.window_process_all_updates()
cursor = db.cursor()
hostid = cursor.execute("""SELECT id FROM hosts WHERE ip = ?""", ( ip, )).fetchone()[0]
result = cursor.execute("""SELECT * FROM shares WHERE name = ? AND host = ?""", (url.group(2),hostid)).fetchall()
if len(result) == 0:
comment = u"Added manually..."
dblock.acquire()
cursor.execute("""INSERT INTO shares (name,host,comment,manual) VALUES (?,?,?,?);""", (url.group(2),hostid,comment,1))
dblock.release()
self.window.destroy()
return True
pyneighborhood-0.5.1/pyneighborhood/nmblookup.py 0000644 0000000 0000000 00000012054 11424045765 017035 0 ustar # nmblookup.py
# Copyright (C) 2008-2009 Stefan J. Betz
#
# 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 .
from re import compile
from copy import copy
from subprocess import Popen, PIPE
from pyneighborhood import config, db, dblock
from pyneighborhood.misc import print_debug
from socket import gethostbyaddr
masterRe = compile("\n((?:\d{1,3}\.){3}\d{1,3})")
lookupRe = compile("\n\t([^\s]*)\s*(<(?:20|1e)>)")
workgroupcommand = [ config.get("Main", "nmblookup") ]
lookupcommand = [ config.get("Main", "nmblookup"), "-A" ]
mastercommand = [ config.get("Main", "nmblookup"), "-M", "--", "-" ]
def lookup(ip):
"""
Lookups SMB name and workgroup
returns: (name, workgroup)
"""
command = copy(lookupcommand)
command.append(ip)
process = Popen( command, executable = command[0],
stdout = PIPE,
stderr = PIPE )
process.wait()
output = process.stdout.read()
match = lookupRe.search(output)
# preinitialize name & workgroup variables
# to avoid reference before assignment!
name = None
workgroup = None
while match:
print_debug("%s" % match.group(0))
if match.group(2) == "<20>":
name = match.group(1)
elif match.group(2) == "<1e>":
workgroup = match.group(1)
match = lookupRe.search(output, match.end())
del match
return (name, workgroup)
def query_masters():
"""
A Generator which queries all Master Browsers.
"""
process = Popen(mastercommand, stdout=PIPE)
process.wait()
stdout = process.stdout.read()
process.stdout.close()
match = masterRe.search(stdout)
while match:
yield match.group(1)
match = masterRe.search(stdout, match.end())
def query_workgroup(ip, manual=False):
"""
Resolve workgroup of the host 'ip' and add workgroup to database.
returns: (workgroup, id)
"""
# Step 1: nmblookup -A ip (hostlookupcommand)
# Step 2: Check if workgroup already in database
manual = 1 if manual else 0
name, workgroup = lookup(ip)
cursor = db.cursor()
result = cursor.execute("""SELECT id FROM workgroups WHERE name=?;""", (workgroup,)).fetchall()
if not result:
dblock.acquire()
cursor.execute("""INSERT INTO workgroups (name,manual) VALUES (?,?);""", (workgroup,manual,))
dblock.release()
elif len(result) == 1:
dblock.acquire()
cursor.execute("""UPDATE workgroups SET validated = 1 WHERE id = ?""", (result[0][0],))
dblock.release()
cursor.execute("""SELECT * FROM workgroups WHERE name=?;""", (workgroup,))
return (workgroup, cursor.fetchone()[0])
def query_workgroup_hosts(workgroup):
"""
Query all hosts of 'workgroup'.
returns: IP List of Hosts.
"""
# Step 1: nmblookup workgroup (workgrouplookupcommand)
command = copy(workgroupcommand)
command.append(workgroup)
process = Popen(command, stdout=PIPE)
process.wait()
stdout = process.stdout.read()
process.stdout.close()
match = masterRe.search(stdout)
while match:
yield match.group(1)
match = masterRe.search(stdout, match.end())
def query_host(ip, manual=False):
"""
Query the host 'ip' and added it to the database.
returns: None
"""
print_debug("Querying host %s..." % ip)
# Step 1: Check if Host is already in Database
manual = 1 if manual else 0
cursor = db.cursor()
result = cursor.execute("""SELECT id,ip,name FROM hosts WHERE ip = ?""", ( ip, )).fetchall()
if len(result) == 1:
dblock.acquire()
cursor.execute("""UPDATE hosts SET validated = 1 WHERE id = ?""", (result[0][0],))
dblock.release()
print_debug("...already in database!")
return
# Step 2: Create a new Database Entry...
print_debug("...looking up hostname & IP...")
name, workgroup = lookup(ip)
if not name or not workgroup:
print_debug("...could not retrieve samba name or workgroup!")
return
workgroupid = cursor.execute("""SELECT id FROM workgroups WHERE name = ?""", ( workgroup, )).fetchone()[0]
try:
hostname = gethostbyaddr(ip)[0]
except:
hostname = ""
print_debug("... workgroup = %s, hostname = %s, name = %s..." % ( workgroup, hostname, name ))
dblock.acquire()
cursor.execute("""INSERT INTO hosts ( ip,name,workgroup,hostname,manual ) VALUES ( ?, ?, ?, ?, ? )""", ( ip, name, workgroupid, hostname, manual, ))
dblock.release()
print_debug("...done")
pyneighborhood-0.5.1/pyneighborhood/about.py 0000644 0000000 0000000 00000002536 11424045765 016145 0 ustar ## about.py
##
## Copyright (C) 2006-2008 Betz Stefan
##
## 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; version 3 only.
##
## 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 .
import pygtk
pygtk.require('2.0')
import gtk
import gtk.glade
import gettext
from pyneighborhood.misc import sharepath, version
_ = gettext.gettext
class AboutDialog(object):
"""
about-dialog for pyNeighborhood
"""
def __init__(self):
"""
Constructor of the about-dialog
"""
self.xml = gtk.glade.XML(sharepath() + "/pyNeighborhood.glade",
"about_dialog")
self.xml.signal_autoconnect(self)
self.window = self.xml.get_widget("about_dialog")
self.window.set_version(version)
def close_handler(self, widget = None, response_id = None):
"""
Window Close Handler
"""
self.window.destroy()
pyneighborhood-0.5.1/pyneighborhood/__init__.py 0000644 0000000 0000000 00000014151 11424045765 016566 0 ustar ## __init__.py
##
## Copyright (C) 2005-2007 Mykola Lynnyk
## Copyright (C) 2008-2009 Stefan J. Betz
##
## 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; version 3 only.
##
## 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.
import ConfigParser
from ConfigParser import SafeConfigParser
from os import environ, F_OK, R_OK, X_OK, access, mkdir, chmod, stat
from os.path import isdir
from stat import S_IRUSR, S_IWUSR, S_ISUID, ST_MODE
from sqlite3 import connect, register_adapter, version_info
from threading import RLock
from pyneighborhood.misc import homeconfdir, print_debug, parse_args, get_desktop_environ
from pyneighborhood.database import init_database
# DO NOT move this !!!
# Parsing arguments
parse_args()
# Memory database of SQLite 3
db = connect(":memory:", check_same_thread = False)
dblock = RLock()
# Initialise the database
init_database(db)
# Fixing SQLite 2.4.1 behavior first occured in Python 2.6:
if version_info >= (2,4,1):
register_adapter(str, lambda s:s.decode('utf-8'))
if not isdir(homeconfdir()):
print_debug("Creating Config Directory...")
mkdir(homeconfdir())
config = SafeConfigParser()
if not access(homeconfdir() + "/config", F_OK):
print_debug("Creating Default Config...")
config.add_section("Main")
config.set("Main", "mount_directory", environ["HOME"] + "/pyNeighborhood")
if not isdir(environ["HOME"] + "/pyNeighborhood"):
mkdir(environ["HOME"] + "/pyNeighborhood")
config.set("Main", "cleanup_dirs", "True")
config.set("Main", "enable_file_manager", "True")
config.set("Main", "smbclient", "/usr/bin/smbclient")
config.set("Main", "nmblookup", "/usr/bin/nmblookup")
config.set("Main", "smbtree", "/usr/bin/smbtree")
config.set("Main", "username", "")
config.set("Main", "password", "")
config.set("Main", "legacy_browsing", "False")
config.set("Main", "workgroup", "")
config.set("Main", "filemanager", "/usr/bin/nautilus")
config.set("Main", "enable_sudo", "True")
config.set("Main", "sudo", "/usr/bin/gksu")
config.add_section("CIFS")
config.set("CIFS", "mount", "/sbin/mount.cifs")
config.set("CIFS", "unmount", "/sbin/umount.cifs")
config.set("CIFS", "options", "")
f = file(homeconfdir() + "/config", "w")
config.write(f)
f.flush()
f.close()
del f
chmod(homeconfdir() + "/config", S_IRUSR + S_IWUSR)
else:
f = file(homeconfdir() + "/config", "r")
config.readfp(f)
f.close()
del f
# Ensure that executables like smbclient, nmblookup, ... really exist
# The conditions are valid defaults defined below...
defaults = {"nmblookup": "/usr/bin/nmblookup",
"smbclient": "/usr/bin/smbclient",
"smbtree": "/usr/bin/smbtree",
"filemanager": "/usr/bin/nautilus"}
for file in defaults.keys():
if not access( config.get("Main", file), F_OK | X_OK ):
print_debug( "%s isn't accessable, falling back to default: %s"
% ( config.get("Main", file), defaults[file] ) )
config.set("Main", file, defaults[file])
for utility in ["mount", "unmount"]:
print_debug("Checking for %s" % config.get('CIFS',utility))
if not access( config.get("CIFS", utility), F_OK ):
config.set('CIFS',utility,'/sbin/%s.cifs' % ('mount' if utility == 'mount' else 'umount'))
print_debug("Checking for %s" % config.get('CIFS',utility))
if not access( config.get("CIFS", utility), F_OK):
config.set('CIFS',utility,'/bin/%s' % ('mount' if utility == 'mount' else 'umount'))
print_debug("Using %s for future operations." % config.get('CIFS',utility))
sudo_defaults = { "gnome": "/usr/bin/gksu",
"kde": "/usr/bin/kdesudo",
"lxde": "/usr/bin/gksu",
"xfce": "/usr/bin/gksu",
"default": "/usr/bin/gksu" }
if not access( config.get("Main", "sudo"), F_OK | X_OK):
print_debug("%s isn't accessable... trying to determine correct sudo wrapper..." % config.get("Main", "sudo"))
if get_desktop_environ() in sudo_defaults.keys():
print_debug("Detected %s desktop environment... falling back to %s as sudo wrapper..." % ( get_desktop_environ(), sudo_defaults[get_desktop_environ()] ))
config.set("Main", "sudo", sudo_defaults[get_desktop_environ()])
else:
print_debug("Couldn't get valid sudo wrapper for detected desktop environment %s, falling back to default %s..." % (get_desktop_environ(), sudo_defaults["default"]))
config.set("Main", "sudo", sudo_defaults["default"])
fileman_defaults = { "gnome": "/usr/bin/nautilus",
"kde": "/usr/bin/dolphin",
"lxde": "/usr/bin/pcmanfm",
"xfce": "/usr/bin/thunar",
"default": "/usr/bin/nautilus" }
if not access( config.get("Main", "filemanager"), F_OK | X_OK):
print_debug("%s isn't accessable... trying to determine correct filemanager..." % config.get("Main", "filemanager"))
if get_desktop_environ() in fileman_defaults.keys():
print_debug("Detected %s desktop environment... falling back to %s as filemanager..." % ( get_desktop_environ(), fileman_defaults[get_desktop_environ()] ))
config.set("Main", "filemanager", fileman_defaults[get_desktop_environ()])
else:
print_debug("Couldn't get valid filemanager for detected desktop environment %s, falling back to default %s..." % (get_desktop_environ(), fileman_defaults["default"]))
config.set("Main", "filemanager", fileman_defaults["default"])
# Checking for SUID bit
# If it's not set, we'll force sudo
if ( stat( config.get('CIFS','mount') )[ST_MODE] & S_ISUID ) == 0:
config.set("Main", "enable_sudo", "True")
print_debug( "SUID bit on %s is not set, forcing sudo usage..." % config.get('CIFS', 'mount') )
pyneighborhood-0.5.1/pyneighborhood/mainwindow.py 0000644 0000000 0000000 00000033172 11424045765 017207 0 ustar ## mainwindow.py
##
## Copyright (C) 2008 Stefan Betz
##
## 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; version 3 only.
##
## 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.
# Stdlib Imports
import os
import subprocess
import gettext
# Gtk Imports
import pygtk
pygtk.require('2.0')
import gtk
import gtk.glade
# Dialog Imports
from about import AboutDialog
from options import OptionsDialog
from mountwindow import MountWindow
from addwindow import AddWindow
# pyNeighborhood Imports
from pyneighborhood import config, db
from pyneighborhood.misc import sharepath, iconpath, print_debug
from pyneighborhood.browsing import BrowsingThread
_ = gettext.gettext
class MainWindow(object):
"""
Base Class of the MainWindow Widget
"""
def delete_event(self, event=None, widget=None):
"""
Delete Window Event
"""
gtk.main_quit()
return True
def about(self, action):
"""
Show the About Dialog
"""
print_debug("Creating About Dialog")
AboutDialog()
def preferences(self, action):
"""
Show the Preferences Dialog
"""
print_debug("Creating Options Dialog")
prefs = OptionsDialog(self.window)
def reload_browser(self, event=None, widget=None):
"""
Reloades the Browser TreeView
"""
print_debug("Reloading Browsing View...")
self.reload_browser_button.set_sensitive(False)
if self.browsing_thread.isAlive() == False:
self.browsing_thread = BrowsingThread(self)
self.browsing_thread.start()
self.reload_browser_button.set_sensitive(True)
def reload_mounts(self, event=None, widget=None):
"""
Reloades the Mounts TreeView
"""
self.reload_mounts_button.set_sensitive(False)
for each in self.mountsstore:
del self.mountsstore[each.iter]
f = open("/proc/mounts", "r")
mtab = f.readlines()
f.close()
for mount in mtab:
tmount = mount.split()
if tmount[2] == "cifs":
servicetype = "CIFS"
# elif tmount[2] == "smbfs":
# servicetype = "SMB"
else:
servicetype = "?"
if servicetype == "?":
continue
self.mountsstore.append(None, [servicetype,tmount[0].replace("\\040", " "),tmount[1].replace("\\040", " ")])
self.reload_mounts_button.set_sensitive(True)
def mounts_recv_data(self, treeview=None, context=None, x=None, y=None, selection=None, info=None, timestamp=None):
"""
Mounts TreeView Handler for Drag and Drop Operations, Receive
"""
iter = self.treestore.get_iter_from_string(selection.data)
self.connect_share(iter=iter)
treeview.emit_stop_by_name("drag_data_received")
return
def browser_send_data(self, treeview=None, context=None, selection=None, info=None, timestamp=None):
"""
Browser TreeView Handler for Drag and Drop Operations, Transmit
"""
treeselection = treeview.get_selection()
model, iter = treeselection.get_selected()
data = model.get_string_from_iter(iter)
selection.set_text(data, -1)
return
def disconnect_share(self, widget):
"""
Share Disconnect Callback
"""
selection = self.mounts.get_selection()
model, iter = selection.get_selected()
mountpoint = self.mountsstore.get_value(iter, 2).rstrip("/")
# if self.mountsstore.get_value(iter, 0) == "CIFS":
type = config.get("CIFS", "unmount")
# else:
# type = config.get("SMB", "unmount")
self.mountsstore.remove(iter)
self.disconnectbutton.set_sensitive(False)
disconnectcommand = []
if config.get("Main", "enable_sudo") == "True":
disconnectcommand.append(config.get("Main", "sudo"))
disconnectcommand.append(type)
disconnectcommand.append(mountpoint)
print_debug("Executing Unmount Command: " + str(disconnectcommand))
process = subprocess.Popen(disconnectcommand, executable = disconnectcommand[0])
def connect_share(self, widget = None, iter = None):
"""
Share Connect Callback
"""
if widget:
selection = self.browser.get_selection()
if selection.get_mode() == gtk.SELECTION_SINGLE:
model, iter = selection.get_selected()
if iter:
cur = db.cursor()
shareid = cur.execute("""SELECT id FROM shares WHERE treeview = ?""", (self.treestore.get_string_from_iter(iter),)).fetchone()[0]
mounter = MountWindow(self, shareid)
def add(self, action=None):
"""
Handler for the Add-Button
"""
AddWindow(self)
def mounts_cursor_changed(self, treeview):
"""
Callback for cursor-changed Events
"""
selection = treeview.get_selection()
if selection.get_mode() == gtk.SELECTION_SINGLE:
self.disconnectbutton.set_sensitive(True)
else:
self.disconnectbutton.set_sensitive(False)
def browser_cursor_changed(self, treeview):
"""
Callback for cursor-changed Events
"""
self.connectbutton.set_sensitive(False)
selection = treeview.get_selection()
if selection.get_mode() == gtk.SELECTION_SINGLE:
model, iter = selection.get_selected()
if iter:
cur = db.cursor()
if len(cur.execute("""SELECT id FROM shares WHERE treeview = ?""", (self.treestore.get_string_from_iter(iter),)).fetchall()):
self.connectbutton.set_sensitive(True)
def browser_row_collapsed_expanded(self, treeview, iter, path):
"""
Callback for row-expanded and row-collapsed events
"""
self.browser_cursor_changed(treeview)
def sync_treeview(self):
"""
Syncronize the SQL Database with the main TreeView
"""
cur = db.cursor()
# Append new items to tree storage
workgroups = cur.execute("""SELECT id,name FROM workgroups WHERE treeview ISNULL""").fetchall()
for workgroup in workgroups:
# workgroup_iter = self.treestore.append(None)
workgroup_iter = self.treestore.append(None, [workgroup[1], self.GROUP_ICON, None, None, False, False, False])
cur.execute("""UPDATE workgroups SET treeview = ?, validated = 1 WHERE id = ?""", ( self.treestore.get_string_from_iter(workgroup_iter), workgroup[0] ))
# self.treestore.set_value(workgroup_iter, self.NAME, workgroup[1])
# self.treestore.set_value(workgroup_iter, self.ICON, self.GROUP_ICON)
hosts = cur.execute("""SELECT hosts.id, hosts.name, hosts.comment, workgroups.treeview FROM hosts INNER JOIN workgroups ON hosts.workgroup = workgroups.id WHERE hosts.treeview ISNULL AND hosts.validated = 0 AND workgroups.treeview NOTNULL""").fetchall()
for host in hosts:
workgroup_iter = self.treestore.get_iter_from_string(host[3])
# host_iter = self.treestore.append(workgroup_iter)
host_iter = self.treestore.append(workgroup_iter, [host[1], self.HOST_ICON, host[2], None, False, False, False])
cur.execute("""UPDATE hosts SET treeview = ?, validated = 1 WHERE id = ?""", ( self.treestore.get_string_from_iter(host_iter), host[0]))
# self.treestore.set_value(host_iter, self.NAME, host[1])
# self.treestore.set_value(host_iter, self.ICON, self.HOST_ICON)
# self.treestore.set_value(host_iter, self.COMMENT, host[2])
shares = cur.execute("""SELECT shares.id, shares.name, shares.comment, hosts.treeview FROM shares INNER JOIN hosts ON shares.host = hosts.id WHERE shares.treeview ISNULL AND shares.validated = 0 AND hosts.treeview NOTNULL""").fetchall()
for share in shares:
host_iter = self.treestore.get_iter_from_string(share[3])
# share_iter = self.treestore.append(host_iter)
share_iter = self.treestore.append(host_iter, [share[1], self.SHARE_ICON, share[2], None, False, False, False])
cur.execute("""UPDATE shares SET treeview = ?, validated = 1 WHERE id = ?""", ( self.treestore.get_string_from_iter(share_iter), share[0]))
# self.treestore.set_value(share_iter, self.NAME, share[1])
# self.treestore.set_value(share_iter, self.ICON, self.SHARE_ICON)
# self.treestore.set_value(share_iter, self.COMMENT, share[2])
# Remove old Items from TreeStorage
shares = cur.execute("""SELECT treeview FROM shares WHERE validated = 0 AND manual = 0""").fetchall()
for share in shares:
share_iter = self.treestore.get_iter_from_string(share[0])
self.treestore.remove(share_iter)
hosts = cur.execute("""SELECT treeview FROM hosts WHERE validated = 0 AND manual = 0""").fetchall()
for host in hosts:
host_iter = self.treestore.get_iter_from_string(host[0])
self.treestore.remove(host_iter)
workgroups = cur.execute("""SELECT treeview FROM workgroups WHERE validated = 0 AND manual = 0""").fetchall()
for workgroup in workgroups:
workgroup_iter = self.treestore.get_iter_from_string(workgroup[0])
self.treestore.remove(workgroup_iter)
def __init__(self):
"""
Constructor
"""
# Create the main window
self.xml = gtk.glade.XML(sharepath() + "/pyNeighborhood.glade", "mainwindow")
self.xml.signal_autoconnect(self)
self.window = self.xml.get_widget("mainwindow")
self.window.set_icon_from_file(os.path.join(iconpath(), 'pyneighborhood.png'))
# Respect Gtk toolbar-settings (workaround for glade-2)
self.xml.get_widget("maintoolbar").unset_style()
# Main TreeStore
self.treestore = gtk.TreeStore(str, gtk.gdk.Pixbuf, str, str, bool, bool, bool)
self.NAME = 0
self.ICON = 1
self.COMMENT = 2
self.MOUNTPOINT = 3
theme = gtk.icon_theme_get_default()
if theme.has_icon('network-server'):
self.HOST_ICON = theme.load_icon('network-server',32,gtk.ICON_LOOKUP_USE_BUILTIN)
else:
self.HOST_ICON = gtk.gdk.pixbuf_new_from_file(os.path.join(iconpath(), "host.png"))
if theme.has_icon('network-workgroup'):
self.GROUP_ICON = theme.load_icon('network-workgroup',32,gtk.ICON_LOOKUP_USE_BUILTIN)
else:
self.GROUP_ICON = gtk.gdk.pixbuf_new_from_file(os.path.join(iconpath(), "workgroup.png"))
if theme.has_icon('folder-remote'):
self.SHARE_ICON = theme.load_icon('folder-remote',32,gtk.ICON_LOOKUP_USE_BUILTIN)
else:
self.SHARE_ICON = gtk.gdk.pixbuf_new_from_file(os.path.join(iconpath(), "share.png"))
# Browser TreeView
self.browser = self.xml.get_widget("browser")
self.browser.set_model(self.treestore)
self.browserimagecell = gtk.CellRendererPixbuf()
self.browsertextcell = gtk.CellRendererText()
self.browsercolumn = gtk.TreeViewColumn()
self.browsercolumn.pack_start(self.browserimagecell, False)
self.browsercolumn.add_attribute(self.browserimagecell, "pixbuf", self.ICON)
self.browsercolumn.pack_start(self.browsertextcell, True)
self.browsercolumn.add_attribute(self.browsertextcell, "text", self.NAME)
self.browser.append_column(self.browsercolumn)
if gtk.check_version(2, 12, 0):
print_debug("Sorry, Tooltips require at least PyGTK Version 2.12!")
else:
self.browser.set_tooltip_column(2)
self.browser.enable_model_drag_source(gtk.gdk.BUTTON1_MASK, [("text/plain", gtk.TARGET_SAME_APP, 0)], gtk.gdk.ACTION_COPY)
# Connection buttons
self.disconnectbutton = self.xml.get_widget("disconnect-button")
self.disconnectbutton.set_sensitive(False)
self.connectbutton = self.xml.get_widget("connect-button")
self.connectbutton.set_sensitive(False)
# Mounts TreeView
self.mounts = self.xml.get_widget("mounts")
self.mountsstore = gtk.TreeStore(str, str, str)
self.mounts.set_model(self.mountsstore)
self.mountstypecell = gtk.CellRendererText()
self.mountstypecolumn = gtk.TreeViewColumn(_("Type"), self.mountstypecell, text=0)
self.mountshostcell = gtk.CellRendererText()
self.mountshostcolumn = gtk.TreeViewColumn(_("Service"), self.mountshostcell, text=1)
self.mountsmountpointcell = gtk.CellRendererText()
self.mountsmountpointcolumn = gtk.TreeViewColumn(_("Mountpoint"), self.mountsmountpointcell, text=2)
self.mounts.append_column(self.mountstypecolumn)
self.mounts.append_column(self.mountshostcolumn)
self.mounts.append_column(self.mountsmountpointcolumn)
# Reload buttons
self.reload_browser_button = self.xml.get_widget("reload-browser-button")
self.reload_mounts_button = self.xml.get_widget("reload-mounts-button")
# Drag & Drop for mounts:
self.mounts.enable_model_drag_dest([("text/plain", gtk.TARGET_SAME_APP, 0)], gtk.gdk.ACTION_COPY)
# Host Objects Dict
self.host_objects = {}
# Autoreload Mount's View
self.reload_mounts()
# Autostart first scanning
self.browsing_thread = BrowsingThread(self)
self.browsing_thread.start()
pyneighborhood-0.5.1/pyneighborhood/options.py 0000644 0000000 0000000 00000015065 11424045765 016527 0 ustar ## options.py
##
## Copyright (C) 2008 Stefan Betz
##
## 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; version 3 only.
##
## 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.
##
import pygtk
pygtk.require('2.0')
import gtk
import gtk.glade
import string
import gettext
from stat import S_ISUID, ST_MODE
from os import stat
from pyneighborhood import config
from pyneighborhood.misc import unpad, sharepath, homeconfdir
_ = gettext.gettext
class OptionsDialog(object):
"""
Class for the options-dialog
"""
def path_validator(self, path):
"""
Fix the entered path
"""
list = path.split("/")
final_path = ""
for item in list:
if item != "":
final_path = final_path + "/" + item
return final_path
def response_handler(self, widget, response_id):
"""
Dialog callback for the respone...
"""
if response_id == gtk.RESPONSE_CANCEL:
self.window.destroy()
return gtk.FALSE
elif response_id == gtk.RESPONSE_OK:
config.set("CIFS", "mount", unpad(self.cifs_mount.get_text()))
config.set("CIFS", "options", unpad(self.cifs_options.get_text()))
config.set("CIFS", "unmount", unpad(self.cifs_umount.get_text()))
# Main Options
config.set("Main", "cleanup_dirs", str(self.mountpoint_cleanup.get_active()))
config.set("Main", "enable_file_manager", str(self.launch_filemanager.get_active()))
config.set("Main", "filemanager", str(self.filemanager.get_text()))
config.set("Main", "mount_directory", self.path_validator(unpad(self.mountpoint.get_text())))
config.set("Main", "nmblookup", unpad(self.nmblookup.get_text()))
config.set("Main", "password", unpad(self.password.get_text()))
config.set("Main", "smbclient", unpad(self.smbclient.get_text()))
config.set("Main", "smbtree", unpad(self.smbtree.get_text()))
config.set("Main", "username", unpad(self.username.get_text()))
config.set("Main", "enable_sudo", str(self.sudo_toggle.get_active()))
config.set("Main", "sudo", unpad(self.sudoentry.get_text()))
f = open(homeconfdir() + "/config", "w")
config.write(f)
f.flush()
f.close()
self.window.destroy()
return gtk.TRUE
def launch_filemanager_toggle(self, widget):
"""
Enables or disables the filemanager entry
"""
if self.launch_filemanager.get_active() == True:
self.filemanager.set_sensitive(True)
else:
self.filemanager.set_sensitive(False)
def sudo_toggled(self, widget):
"""
Enables or disables the sudo entry
"""
if self.sudo_toggle.get_active():
self.sudoentry.set_sensitive(True)
else:
if ((stat(config.get("CIFS", "mount"))[ST_MODE] & S_ISUID) == 0) or ((stat(config.get("CIFS", "umount"))[ST_MODE] & S_ISUID) == 0):
self.sudo_toggle.set_active(True)
dlg = gtk.MessageDialog(self.window, gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, _("SUID bits on mount/umount are not set!\nDisabling sudo is not possible!"))
dlg.connect("response", lambda x,y: dlg.destroy())
dlg.run()
return
self.sudoentry.set_sensitive(False)
def __init__(self, parent):
"""
Constructor, creates the windows and many more...
"""
self.parent = parent
self.xml = gtk.glade.XML(sharepath() + "/pyNeighborhood.glade", "options")
self.window = self.xml.get_widget("options")
# Automatic Signal->Callback Connection:
self.xml.signal_autoconnect(self)
# CIFS options
self.cifs_mount = self.xml.get_widget("cifsmount")
self.cifs_mount.set_text(config.get("CIFS", "mount"))
self.cifs_umount = self.xml.get_widget("cifsumount")
self.cifs_umount.set_text(config.get("CIFS", "unmount"))
self.cifs_options = self.xml.get_widget("cifsoptions")
self.cifs_options.set_text(config.get("CIFS", "options"))
# Mounpoint options
self.mountpoint = self.xml.get_widget("mountpoint-entry")
self.mountpoint.set_text(config.get("Main", "mount_directory"))
self.mountpoint_cleanup = self.xml.get_widget("mountpoint-cleanup")
if config.get("Main", "cleanup_dirs") == "True":
self.mountpoint_cleanup.set_active(True)
else:
self.mountpoint_cleanup.set_active(False)
# Login options
self.username = self.xml.get_widget("username-entry")
self.username.set_text(config.get("Main", "username"))
self.password = self.xml.get_widget("password-entry")
self.password.set_text(config.get("Main", "password"))
# Browsing options
self.nmblookup = self.xml.get_widget("nmblookup-entry")
self.nmblookup.set_text(config.get("Main", "nmblookup"))
self.smbclient = self.xml.get_widget("smbclient-entry")
self.smbclient.set_text(config.get("Main", "smbclient"))
self.smbtree = self.xml.get_widget("smbtree-entry")
self.smbtree.set_text(config.get("Main", "smbtree"))
# Filemanager options
self.launch_filemanager = self.xml.get_widget("options-launch-filemanager")
self.filemanager = self.xml.get_widget("options-filemanager-entry")
self.filemanager.set_text(config.get("Main", "filemanager"))
if config.get("Main", "enable_file_manager") == "True":
self.launch_filemanager.set_active(True)
self.filemanager.set_sensitive(True)
else:
self.launch_filemanager.set_active(False)
self.filemanager.set_sensitive(False)
# Sudo options
self.sudo_toggle = self.xml.get_widget("options-use-sudo")
self.sudoentry = self.xml.get_widget("sudo-entry")
self.sudoentry.set_text(config.get("Main", "sudo"))
if config.get("Main", "enable_sudo") == "True":
self.sudo_toggle.set_active(True)
self.sudoentry.set_sensitive(True)
else:
self.sudo_toggle.set_active(False)
self.sudoentry.set_sensitive(False)
pyneighborhood-0.5.1/pyneighborhood/browsing.py 0000644 0000000 0000000 00000006317 11424045765 016666 0 ustar # browsing.py
# Copyright (C) 2008-2009 Stefan J. Betz
#
# 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 .
# Stdlib Imports
from threading import Thread
# PyGtk Imports
from gtk.gdk import threads_enter, threads_leave
# pyNeighborhood Imports
from pyneighborhood import config, db, dblock
from pyneighborhood.misc import print_debug, print_database
from pyneighborhood.nmblookup import query_masters, query_workgroup, query_workgroup_hosts, query_host
from pyneighborhood.smbclient import scan_shares
class BrowsingThread(Thread):
"""
Browsing Class
"""
def __init__(self, mainwindow = None):
"""
Constructor
"""
Thread.__init__(self)
self.mainwindow = mainwindow
def run(self):
"""
Browse me...
"""
print_debug("Starting Browsing Engine...")
dblock.acquire()
cursor = db.cursor()
cursor.execute("""UPDATE workgroups SET validated = 0 WHERE manual = 0""")
cursor.execute("""UPDATE hosts SET validated = 0 WHERE manual = 0""")
cursor.execute("""UPDATE shares SET validated = 0 WHERE manual = 0""")
dblock.release()
for master in query_masters():
print_debug("Found Master Browser: %s" % master)
workgroup, workgroupid = query_workgroup(master)
print_debug("Master Browser %s has Workgroup %s" % ( master, workgroup ))
for host in query_workgroup_hosts(workgroup):
query_host(host)
cur = db.cursor()
workgroups_result = cur.execute("""SELECT name FROM workgroups WHERE manual = 0""").fetchall()
for result in workgroups_result:
print_debug("Found workgroup: %s" % result[0])
hosts_result = cur.execute("""SELECT id,name,ip FROM hosts WHERE manual = 0""").fetchall()
for result in hosts_result:
print_debug("Scanning host %s for shares..." % result[1] )
scan_shares(result[2])
shares_result = cur.execute("""SELECT * FROM shares WHERE host = ? AND manual = 0""", (result[0],)).fetchall()
for share in shares_result:
print_debug("Found share: %s" % str(share))
if self.mainwindow != None:
threads_enter()
self.mainwindow.sync_treeview()
threads_leave()
dblock.acquire()
cur.execute("""DELETE FROM shares WHERE validated = 0 AND manual = 0""")
cur.execute("""DELETE FROM hosts WHERE validated = 0 AND manual = 0""")
cur.execute("""DELETE FROM workgroups WHERE validated = 0 AND manual = 0""")
dblock.release()
print_database(db)
pyneighborhood-0.5.1/pyneighborhood/errors.py 0000644 0000000 0000000 00000002135 11424045765 016342 0 ustar ## errors.py
##
## Copyright (C) 2006-2008 Betz Stefan
##
## 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; version 3 only.
##
## 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.
##
"""
Exceptions Module
Contents:
MountpointError -> Mountpoint Related Exception
ShareError -> Share Related Exception
"""
class MyException(Exception):
"""
Base class for the pyNeighborhood exceptions
"""
def __init__(self, reason = None):
"""
Construtor
"""
Exception.__init__(self)
if reason != None:
self.reason = reason
class MountpointError(MyException):
"""
Exception for mountpoint errors
"""
pass
class ShareError(MyException):
"""
Exception for share errors
"""
pass
pyneighborhood-0.5.1/Changelog 0000644 0000000 0000000 00000010670 11424045765 013251 0 ustar Changes since 0.5.1:
+New Browsing Backend (based on pyNeighborhood 0.4, with many improvements)
+SQL Based Storage Backend
+Bugfixes
+More Translations
+Better Support for GTK Themes
+New Icon
Changes since 0.5:
+New Setup via setup.py (the Python way)
+Debian/Ubuntu Packaging Support
+I18N Support via gettext
+Glade for UI
+German Translation
+Spanish Translation
+New Configuration Storage (/home/username/.pyNeighborhood/config)
+New Default Mountpoint (/home/username/pyNeighborhood) per default
+User definied per Mount Mountpoint
+Bugfixes
+Cleanups
+New Parser for nmblookup
+New Parser for smbclient
+New Parser for smbtree
+Support for Command Line Options
+Support for Debug, the Python way
+Remove of the ability to load global system Configuration (sorry Mr. Castro)
Changes since 0.4:
+Updated login options policy GUI (thanks to Rodrigo Castro).
+Ability to load global system configuration (Rodrigo Castro).
+Computer description fix (Rodrigo Castro).
+Option to turn off file manager running after mount.
+General code cleanup (with the help of Julien Cabillot)
+Switched license to GPLv3
Changes since 0.3:
+Bugfixes.
+Updated installation scheme.
+Gui improvements.
+Better share scanning algorithm.
+Optional automatical IP calculation on adding machine.
+Added ability to change user and password selecting proper popup menu
entries.
+Updated share scanning algorithm.
+Added ip address validator to the add/edit dialog.
+Added statusbar displaying current actions.
+Added pulsing progressbar.
+Implemented group browsing using msbrowse.
Changes since 0.2:
+Tons of bugfixes.
+Updated installation scripts. Fixed the hardcoded prefix in pyNeighborhood.desktop.
+Implemented network browsing.
+Implemented host information (IP and/or name) retrieving.
+Added new configuration dialog with CIFS, multiple filemanagers and group browsing support.
+Added CIFS support and updated GUI to support it.
+Updated configuration file format to make it more sensitive and readable.
+Made a lot of GUI improvements (popup menus with icons depending on the item clicked, redisigned the pull-down menu etc).
+Replaced deprecated ItemFactory with UIManager.
+Performed total code redesign, separated main window and bookmarks manager code.
Changes since 0.2rc2:
+Fixed some bugs in dialog windows handling (Such as a blank message window).
+Fixed exception unhandling while giving a sca command without any host beign selected.
+Added right click popup menus in bookmarks and monitor tabs.
Changes since 0.2rc1:
+Added icons, thanks to Tomislav Markovski for his gnant Gnome icon theme - I've used his icons
and based pyNeighborhood icon on them.
+Created a "threads.py" file, where all thread handlers were relocated.
+Mount, unmount anf file manager actions are now launched from threads, so program hang
cannot happen anyway.
+Fixed problem with idle process "smbmount" remaining even after unmount.
+Fixed bug with the unmount action from mounts monitor, when the "Mountpoint" column was cleaned if
unmount failed.
+Unuseful items "IPC$" and "ADMIN$" now will not be included in shares list on scan.
+Total code cleanup: removal of debugging messages etc.
Changes since 0.1:
+Added tab support.
+Added a mounts monitor and a monitor tab.
+Using "threading" module instead of "thread"; now threads are not allowed to do a GUI stuff.
+Fixed a bug with simultaneous share scans.
+New "File Manager" menu item, allows to launch filemanager whenever you like.
+Moved "Remove" menu item to "Edit".
+Some minor bug fixes.
Changes since 0.1pre3:
+Updated installation scripts
+Graphical tools for editing 'options' file and adding new host to the favourite hosts list.
-'examples' folder in source tree has been removed.
+A default configuration created. It is stored in new 'defaults' folder.
+Fixed a major bug with mounting on a non-existing folder.
+Redesign of pull-down menu items.
Changes since 0.1pre2:
+An installation scripts added.
+Fixed some bugs with English spelling:)
Changes since 0.1pre1:
+Added columns displaying comments and mount points (Previously mounted shares are displayed on every machine rescan).
+Fixed a bug with multiple mounts - now you can not mount an already mounted share.
+Scans and mounts are runnng in background - pyNeighborhood will not hang anymore waiting for the end of operation.
+Some graphical messages added.
+Installation process became a little bit simplier.
-Filelister has been removed. I decided it to be buggy and unuseful, and I'm not going to write a file manager.
pyneighborhood-0.5.1/po/ 0000755 0000000 0000000 00000000000 11424045765 012051 5 ustar pyneighborhood-0.5.1/po/en_GB.po 0000644 0000000 0000000 00000013520 11424045765 013364 0 ustar # English (United Kingdom) translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-19 18:07+0000\n"
"Last-Translator: Betz Stefan \n"
"Language-Team: English (United Kingdom) \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: \n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Mount error"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "The specified mount directory does not exist!"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Resolving IP ..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Resolving Workgroup..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Resolving NetBIOS hostname..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Scanning for all shares..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Appending user defined share..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr "Type"
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr "Service"
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Mountpoint"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Options"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Username"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Password"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Default Username and Password"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Lookup"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Filemanager"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Launch Filemanager on mount"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Command"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Use sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Network"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Mount Command"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Mount Options"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Unmount Command"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "CIFS Settings"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Cleanup Mountpoint after Unmount"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Mountpoint"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Filesystems"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighbourhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Homepage"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Mount Share..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Workgroup"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Host"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Share"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anonymous"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "User & Password"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "User"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Password"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "User / Password"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Individual Mountpoint"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Select mount directory..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Add Share..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
#~ msgid "Mount Error:"
#~ msgstr "Mount Error:"
#~ msgid "Use SMB"
#~ msgstr "Use SMB"
#~ msgid "Use CIFS"
#~ msgstr "Use CIFS"
#~ msgid "Type"
#~ msgstr "Type"
#~ msgid ""
#~ "Example:\n"
#~ "//192.168.1.1/share\n"
#~ "//hostname/share\n"
#~ "Keep in mind that hostname should be resolvable through DNS."
#~ msgstr ""
#~ "Example:\n"
#~ "//192.168.1.1/share\n"
#~ "//hostname/share\n"
#~ "Keep in mind that hostname should be resolvable through DNS."
pyneighborhood-0.5.1/po/pt.po 0000644 0000000 0000000 00000012306 11424045765 013036 0 ustar # Portuguese translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-03-23 21:52+0000\n"
"Last-Translator: Betz Stefan \n"
"Language-Team: Portuguese \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: pt\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr ""
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr ""
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr ""
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr ""
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr ""
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr ""
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr ""
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Montar em"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Opções"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Nome do Utilizador"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Senha"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Nome do Utilizador e Senha por defeito"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Procurar"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Gestor de Ficheiros"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Lançar o Gestor de Ficheiros ao montar"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Comando"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Usar sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Rede"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Comando para Montar"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Opções para Montar"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Comando para Desmontar"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr ""
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Remover Mountpoint depois de Desmontar"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Montar em"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Sistemas de ficheiros"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr ""
"Uma ferramenta para acesso a redes SMB/CIFS, OpenSource, baseada em Python e "
"GTK+"
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Página inicial"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Montar Partilha..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Grupo de trabalho"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Sistema anfitrião"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Partilha"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anónimo"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Utilizador e Senha"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Utilizador"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Senha"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Utilizador / Senha"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Ponto de montagem individual"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Escolha a directoria a montar..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Adicionar Partilha..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
#~ msgid "Use CIFS"
#~ msgstr "Usar CIFS"
#~ msgid "Use SMB"
#~ msgstr "Usar SMB"
#~ msgid "Type"
#~ msgstr "Tipo"
pyneighborhood-0.5.1/po/es.po 0000644 0000000 0000000 00000013222 11424045765 013020 0 ustar # Spanish translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-20 13:07+0000\n"
"Last-Translator: Linus Hoppe \n"
"Language-Team: Spanish \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: es\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Error de montaje"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "No existe el directorio de montaje indidicado"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Localizando IP..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Localizando grupo de trabajo..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Localizando servidor NetBIOS..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Escaneando todos los directorios compartidos..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Añadiendo directorios compartidos definidos por el usuario..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Punto de montaje"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Opciones"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Nombre de usuario"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Contraseña"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Usuario y contraseña predeterminada"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Consultar"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Administrador de archivos"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Abrir el administrador de archivos al montar"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Orden"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Usar sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Red"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Orden para montar"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Opciones de montaje"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Orden para desmontar"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "Ajustes CIFS"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Limpiar el punto de montaje después de desmontar"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Punto de montaje"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Sistemas de archivos"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "Herramienta de navegacion SMB/CIFS libre basada en Python y GTK"
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Página web"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Montar directorio compartido"
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Grupo de trabajo"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Servidor"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Directorio compartido"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anónimo"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Usuario y contraseña"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Usuario"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Contraseña"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Usuario / contraseña"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Punto de montaje individual"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Seleccione el directorio de montaje"
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Añadir directorio compartido..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Ejemplo:\n"
"//192.168.1.1/directorio_compartido\n"
"//servidor/directorio_compartido\n"
"Tenga en cuenta que servidor debe ser localizable a través de DNS."
#~ msgid "Use SMB"
#~ msgstr "Usar SMB"
#~ msgid "Use CIFS"
#~ msgstr "Usar CIFS"
#~ msgid "Type"
#~ msgstr "Tipo"
pyneighborhood-0.5.1/po/da.po 0000644 0000000 0000000 00000013123 11424045765 012775 0 ustar # Danish translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-22 18:14+0000\n"
"Last-Translator: Jimmy Frydkær Dürr \n"
"Language-Team: Danish \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: da\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Monteringsfejl"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "Den angivne monteringsmappe eksisterer ikke!"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
"SUID bits på montér/afmontér er ikke sat!\n"
"Det er ikke muligt at afkoble sudo!"
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Finder IP..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Finder arbejdsgruppe..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Finder NetBIOS-værtsnavn..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Skanner efter alle delte mapper..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Tilføjer brugerdefineret delt mappe..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr "Type"
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr "Service"
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Monteringspunkt"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Indstilinger"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Brugernavn"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Adgangskode"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Standardbrugernavn og -adgangskode"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Slå op"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Filhåndtering"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Start filhåndtering ved montering"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Kommando"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Brug sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Netværk"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Monteringskommando"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Monteringsindstillinger"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Afmonteringskommando"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "CIFS Indstillinger"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Ryd op i monteringspunktet efter afmontering"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Monteringspunkt"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Filsystemer"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "Et open source Python & GTK+-baseret SMB/CIFS-håndteringsværktøj."
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Hjemmeside"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Montér delt mappe..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Arbejdsgruppe"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Vært"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Share"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anonym"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Bruger & adgangskode"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Bruger"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Adgangskode"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Bruger / adgangskode"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Individuelt monteringspunkt"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Vælg monteringspunkt..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Tilføj delt mappe..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Eksempel:\n"
"//192.168.1.1/share\n"
"//værtsnavn/share\n"
"Bemærk at værtsnavn skal kunne løses via DNS."
#~ msgid "Use SMB"
#~ msgstr "Brug SMB"
#~ msgid "Use CIFS"
#~ msgstr "Brug CIFS"
#~ msgid "Type"
#~ msgstr "Type"
pyneighborhood-0.5.1/po/pyNeighborhood.pot 0000644 0000000 0000000 00000010356 11424045765 015562 0 ustar # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR , YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr ""
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr ""
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr ""
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr ""
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr ""
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr ""
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr ""
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyneighborhood/mainwindow.py:280 ../pyNeighborhood.glade:947
#: ../pyNeighborhood.glade:2612
msgid "Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr ""
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr ""
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr ""
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr ""
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr ""
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr ""
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr ""
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr ""
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr ""
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr ""
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr ""
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr ""
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr ""
#: ../pyNeighborhood.glade:779
msgid "Mount Command"
msgstr ""
#: ../pyNeighborhood.glade:807
msgid "Mount Options"
msgstr ""
#: ../pyNeighborhood.glade:835
msgid "Unmount Command"
msgstr ""
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr ""
#: ../pyNeighborhood.glade:926
msgid "Cleanup Mountpoint after Unmount"
msgstr ""
#: ../pyNeighborhood.glade:1000
msgid "Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:1036
msgid "Filesystems"
msgstr ""
#: ../pyNeighborhood.glade:1070 ../pyNeighborhood.glade:1378
msgid "pyNeighborhood"
msgstr ""
#: ../pyNeighborhood.glade:1379
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr ""
#: ../pyNeighborhood.glade:2058
msgid "Homepage"
msgstr ""
#. TRANSLATORS: Replace this string with your names, one name per line.
#: ../pyNeighborhood.glade:2069
msgid "Betz Stefan "
msgstr ""
#: ../pyNeighborhood.glade:2075
msgid "Mount Share..."
msgstr ""
#: ../pyNeighborhood.glade:2154
msgid "Workgroup"
msgstr ""
#: ../pyNeighborhood.glade:2182
msgid "Host"
msgstr ""
#: ../pyNeighborhood.glade:2210
msgid "Share"
msgstr ""
#: ../pyNeighborhood.glade:2336
msgid "Anonymous"
msgstr ""
#: ../pyNeighborhood.glade:2356
msgid "User & Password"
msgstr ""
#: ../pyNeighborhood.glade:2404
msgid "User"
msgstr ""
#: ../pyNeighborhood.glade:2432
msgid "Password"
msgstr ""
#: ../pyNeighborhood.glade:2508
msgid "User / Password"
msgstr ""
#: ../pyNeighborhood.glade:2571
msgid "Individual Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:2591
msgid "Select mount directory..."
msgstr ""
#: ../pyNeighborhood.glade:2651
msgid "Add Share..."
msgstr ""
#: ../pyNeighborhood.glade:2721
msgid "URL:"
msgstr ""
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
pyneighborhood-0.5.1/po/Makefile 0000644 0000000 0000000 00000002202 11424045765 013505 0 ustar LANGUAGES=$(basename $(wildcard *.po))
PACKAGE_NAME=pyNeighborhood
all: gmo
clean:
@echo " **CLEAN**"
@rm -rf *.mo *~ tmp/
@for lang in $(LANGUAGES); do \
echo " **CLEANDIR** $$lang"; \
rm -rf $$lang;\
done
files:
find ../ -name "*.py" -o -name "*.glade" > FILES
pot:
xgettext -o $(PACKAGE_NAME).pot --files-from=FILES
po:
@for lang in $(LANGUAGES); do \
echo " **PO** $$lang"; \
if [ ! -f $$lang.po ]; then \
msginit --input $(PACKAGE_NAME).pot -o $$lang-old.po;\
else \
mv $$lang.po $$lang-old.po; \
fi ; \
msgmerge -o $$lang.po $$lang-old.po $(PACKAGE_NAME).pot; \
rm -f $$lang-old.po; \
done
gmo:
@echo " **COMPILING** languages: $(LANGUAGES)"
@for lang in $(LANGUAGES); do \
echo " **COMPILEMO** $$lang" ; \
mkdir -p $$lang/LC_MESSAGES/; \
msgfmt --verbose -o $$lang/LC_MESSAGES/$(PACKAGE_NAME).mo $$lang.po; \
done
install:
@echo " **INSTALL** languages: $(LANGUAGES)"
@for lang in $(LANGUAGES); do \
echo " **INSTALLMO** $$lang" ; \
mkdir -p $(DESTDIR)/usr/share/locale/$$lang/LC_MESSAGES/; \
msgfmt -o $(DESTDIR)/usr/share/locale/$$lang/LC_MESSAGES/$(PACKAGE_NAME).mo $$lang.po; \
done
pyneighborhood-0.5.1/po/zh_CN.po 0000644 0000000 0000000 00000012552 11424045765 013417 0 ustar # Simplified Chinese translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-06-28 17:29+0000\n"
"Last-Translator: Betz Stefan \n"
"Language-Team: Simplified Chinese \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: \n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr ""
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr ""
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "解析 IP ..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "解析工作组..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "解析 NetBIOS 主机名..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "扫描所有共享..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "追加用户自定义共享..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "挂载点"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "选项"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "用户名"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "密码"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "默认用户名及其密码"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "查询NetBIOS名字程序"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "SMB客户端"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "广播地址查找程序"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "查找"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "文件管理器"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "挂载时启动文件管理器"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "命令"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "以root身份运行"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "网络"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "挂载命令"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "挂载选项"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "卸载命令"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr ""
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "卸载后清除挂载目录"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "挂载点"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "文件系统"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood网上邻居"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "一个基于SMB/CIFS协议的开源Python & GTK+程序(网上邻居)"
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "首页"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "挂载共享目录"
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "工作组"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "主机"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "共享"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "匿名"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "用户名和密码"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "用户名"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "密码"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "用户名/密码"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "无效的挂载点"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "选择挂载目录..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "添加共享目录..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "网址"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"示例:\n"
"//192.168.1.1/共享\n"
"//主机名/共享\n"
"注意 主机名 必须能够通过 DNS 解析。"
#~ msgid "Use SMB"
#~ msgstr "使用SMB"
#~ msgid "Use CIFS"
#~ msgstr "使用CIFS"
#~ msgid "Type"
#~ msgstr "类型"
pyneighborhood-0.5.1/po/FILES 0000644 0000000 0000000 00000000612 11424045765 012635 0 ustar ../setup.py
../pyneighborhood/about.py
../pyneighborhood/database.py
../pyneighborhood/errors.py
../pyneighborhood/mountwindow.py
../pyneighborhood/options.py
../pyneighborhood/nmblookup.py
../pyneighborhood/addwindow.py
../pyneighborhood/misc.py
../pyneighborhood/__init__.py
../pyneighborhood/mainwindow.py
../pyneighborhood/smbclient.py
../pyneighborhood/browsing.py
../pyNeighborhood.glade
pyneighborhood-0.5.1/po/de.po 0000644 0000000 0000000 00000013774 11424045765 013015 0 ustar # German translations for PACKAGE package
# German messages for PACKAGE.
# Copyright (C) 2008 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Stefan J. Betz , 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: pyNeighborhood 0.5.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-24 14:41+0000\n"
"Last-Translator: Linus Hoppe \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: \n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Fehler beim Einhängen"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "Das ausgewählte Mount-Verzeichnis existiert nicht!"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
"Das SUID-Bit wurde für den eingetragenen (u)mount-Befehl nicht gesetzt!\n"
"Das Abschalten der sudo-Unterstützung wurde daher ignoriert."
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Suche IP ..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Suche Arbeitsgruppe ..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Suche NetBIOS Computernamen..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Suche nach Freigaben..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Füge benutzerdefinierte Freigabe hinzu..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr "Typ"
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr "Dienst"
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Einhängepunkt"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Einstellungen"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Benutzername"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Passwort"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Standardbenutzername und -passwort"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Lookup"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Dateimanager"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Starte den Dateimanager nach dem Einhängen"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Befehl"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "sudo verwenden"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Netzwerk"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Einhängebefehl"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Einhängeoptionen"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Aushängebefehl"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "CIFS-Einstellungen"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Entferne Einhängepunkt nach dem Aushängen"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Einhängepunkt"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Dateisysteme"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "Ein auf Python & GTK+ basierender OpenSource SMB/CIFS Browser."
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Homepage"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Freigabe einhängen..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Arbeitsgruppe"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Rechner"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Freigabe"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anonym"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Benutzername & Passwort"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Benutzername"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Passwort"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Benutzername und Passwort"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Individueller Einhängepunkt"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Einhängepunkt auswählen..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Freigabe hinzufügen..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Beispiel:\n"
"//192.168.1.1/Freigabe\n"
"//Rechnername/Freigabe\n"
"Bitte beachten Sie, dass Rechnername über den DNS-Dienst auflösbar "
"sein muss."
#~ msgid "Use SMB"
#~ msgstr "Benutze SMB"
#~ msgid "Use CIFS"
#~ msgstr "Benutze CIFS"
#~ msgid "Type"
#~ msgstr "Typ"
#~ msgid ""
#~ "Example:\n"
#~ "//192.168.1.1/share\n"
#~ "//hostname/share\n"
#~ "Keep in mind that hostname should be resolvable through DNS."
#~ msgstr ""
#~ "Beispiel:\n"
#~ "//192.168.1.1/freigabe\n"
#~ "//rechnername/freigabe\n"
#~ "Rechnername muss sich über das DNS auflösen lassen."
pyneighborhood-0.5.1/po/gl.po 0000644 0000000 0000000 00000013235 11424045765 013017 0 ustar # Galician translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-06-28 17:45+0000\n"
"Last-Translator: Miguel Anxo Bouzada \n"
"Language-Team: Galician \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: gl\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Erro de montaxe"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "O directorio de montaxe indicado non existe!"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Localizando IP..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Localizando grupo de traballo..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Localizando servidor NetBIOS..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Escaneando todos os directorios compartidos..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Engadindo directorios compartidos definidos polo usuario..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Punto de montaxe"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Opcións"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Nome de usuario"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Contrasinal"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Nome de usuario e contrasinal predeterminado"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Consultar"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Xestor de ficheiros"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Abrir o xestor de ficheiros ao montar"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Orde"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Usar sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Rede"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Orde de montaxe"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Opcións de montaxe"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Orde de desmontaxe"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "Axustes CIFS"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Limpar o punto de montaxe despois de desmontar"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Punto de montaxe"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Sistemas de ficheiros"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "Ferramenta de navegacion SMB/CIFS libre baseada en Python e GTK"
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Páxina web"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Miguel Anxo Bouzada "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Montar o directorio compartido"
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Grupo de traballo"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Servidor"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Directorio compartido"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anónimo"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Usuario e contrasinal"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Usuario"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Contrasinal"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Usuario / Contrasinal"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Punto de montaxe individual"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Seleccione o directorio de montaxe"
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Engadir directorio compartido..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Exemplo:\n"
"//192.168.1.1/directorio_compartido\n"
"//servidor/directorio_compartido\n"
"Teña en conta que servidor debe ser localizable a través de DNS."
#~ msgid "Use SMB"
#~ msgstr "Usar SMB"
#~ msgid "Use CIFS"
#~ msgstr "Usar CIFS"
#~ msgid "Type"
#~ msgstr "Tipo"
pyneighborhood-0.5.1/po/fr.po 0000644 0000000 0000000 00000013470 11424045765 013025 0 ustar # French translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-25 08:51+0000\n"
"Last-Translator: Linus Hoppe \n"
"Language-Team: French \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: fr\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Erreur de montage"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "Le répertoire du point de montage spécifié n'existe pas !"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
"Le bit setuid n'est pas appliqué aux exécutables mount/umount!\n"
"La désactivation de la utilisation de sudo n'est pas possible!"
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Résolution de l'adresse IP…"
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Résolution du groupe de travail…"
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Résolution du nom d'hôte NetBIOS…"
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Scanne tout les partages…"
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Ajoute les partages définis par l'utilisateur…"
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr "Type"
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr "Service"
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Point de montage"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Options"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Nom d’utilisateur"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Mot de passe"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Nom d'utilisateur et mot de passe par défaut"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "recherchenmb"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "clientsmb"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "arbresmb"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Recherche"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Gestionnaire de fichiers"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Lancer le gestionnaire de fichiers au moment du montage"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Commande"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Utiliser sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Réseau"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Commande de montage"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Paramètres de montage"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Commande de démontage"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "Paramètres CIFS"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Effacer le point de montage après le démontage"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Point de montage"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Systèmes de fichiers"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyVoisinage"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "Un outil de navigation SMB/CIFS open source créé en Python & GTK+"
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Page d’accueil"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Un partage monté..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Groupe de Travail"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Hôte"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Partage"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anonyme"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Nom d'utilisateur & mot de passe"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Utilisateur"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Mot de passe"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Utilisateur / Mot de passe"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Point de montage individuel"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Sélectionner le répertoire de montage..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Ajouter un partage..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Exemple:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Gardez à l'esprit que hostnamedoit être résolvable par DNS."
#~ msgid "Use SMB"
#~ msgstr "Utiliser SMB"
#~ msgid "Use CIFS"
#~ msgstr "Utiliser CIFS"
#~ msgid "Type"
#~ msgstr "Type"
pyneighborhood-0.5.1/po/eo.po 0000644 0000000 0000000 00000011037 11424045765 013016 0 ustar # Esperanto translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-03-23 21:45+0000\n"
"Last-Translator: Michael MORONI \n"
"Language-Team: Esperanto \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: eo\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr ""
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr ""
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr ""
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr ""
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr ""
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr ""
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr ""
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Agordoj"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Uzantnomo"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Pasvorto"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr ""
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr ""
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr ""
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr ""
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Komando"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Uzi sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Retejo"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr ""
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr ""
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr ""
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr ""
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr ""
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr ""
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr ""
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr ""
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr ""
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr ""
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr ""
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr ""
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr ""
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr ""
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr ""
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Uzanto"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Pasvorto"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Uzanto / Pasvorto"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr ""
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr ""
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "TTT:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
#~ msgid "Type"
#~ msgstr "Tipo"
pyneighborhood-0.5.1/po/pt_BR.po 0000644 0000000 0000000 00000013006 11424045765 013417 0 ustar # Brazilian Portuguese translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-06-28 17:26+0000\n"
"Last-Translator: Betz Stefan \n"
"Language-Team: Brazilian Portuguese \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: pt_BR\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Erro na montagem"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "A montagem do diretório especificado não existe!"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Descobrindo IP..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Descobrindo grupo de trabalho..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Descobrindo hostname NetBIOS..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Procurando todos os compartilhamentos..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Adicionando comparilhamento definido pelo usuário..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Ponto de montagem"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Opções"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Nome de usuário"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Senha"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Nome de usuário e senha padrões"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Procurar"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Gerenciador de arquivos"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Lançar gerenciador de arquivos ao montar"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Comando"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Use sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Rede"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Comando de montagem"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Opções de Montagem"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Comando de Desmontagem"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "CIFS Configurações"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "Limpar ponto de montagem após desmontar"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Ponto de montagem"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Sistema de arquivos"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr ""
"Uma ferramenta de código-aberto baseada em Python e GTK+ para explorar redes "
"SMB/CIFS."
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Página inicial"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Montar compartilhamento..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Grupo de trabalho"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Host"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Compartilhamento"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anônimo"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Usuário e senha"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Usuário"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Senha"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Usuário / Senha"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Ponto de montagem individual"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Selecione um diretório para montagem..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Adicionar compartilhamento..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Exemplo:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Lembre-se que hostname precisa ser resolvido via DNS."
pyneighborhood-0.5.1/po/ru.po 0000644 0000000 0000000 00000014504 11424045765 013043 0 ustar # Russian translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-20 13:08+0000\n"
"Last-Translator: Linus Hoppe \n"
"Language-Team: Russian \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: ru\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Ошибка монтирования"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "Указанная точка монтирования не существует!"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Определение IP..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Определение Рабочей группы"
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Определение имени хоста NetBIOS..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "Поиск всех Общих папок..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "Добавление пользователю определенных Общих папок..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Точка монтирования"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Параметры"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Имя пользователя"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Пароль"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Имя пользователя и пароль по умолчанию"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "Поиск"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Файловый менеджер"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "Запускать файловый менеджер при монтировании"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Команда"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Использовать sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Сеть"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Команда монтирования"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Параметры монтирования"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Команда размонтирования"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "Настройки CIFS "
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "После Размонтирования очистить Точку монтирования"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Точка монтирования"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Файловые системы"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "Открытый Инструмент Просмотра SMB/CIFS, основанный на Python и GTK+."
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Домашняя страница"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "Смонтировать Совместный ресурс..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Рабочая группа"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Хост"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "Совместный ресурс"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Анонимный"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Пользователь и Пароль"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Пользователь"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Пароль"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Пользователь / Пароль"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Отдельная Точка монтирования"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Выберите папку для монтирования..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Добавить Совместный ресурс..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"Пример:\n"
"//192.168.1.1/ресурс\n"
"//имякомпьютера/ресурс\n"
"Помните, что имякомпьютера должно быть разрешаемым через DNS."
#~ msgid "Type"
#~ msgstr "Тип"
pyneighborhood-0.5.1/po/he.po 0000644 0000000 0000000 00000013576 11424045765 013021 0 ustar # Hebrew translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-06-28 17:19+0000\n"
"Last-Translator: Betz Stefan \n"
"Language-Team: Hebrew \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: he\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "שגיאה בעיגון"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr "תיקיית העיגון הרצויה אינה קיימת!"
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "כתובת ה־IP נפתרת..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "שם קבוצת העבודה נפתר..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "שם המארח ב־NetBIOS נפתר..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr "מתבצעת סריקה אחר כל השיתופים..."
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr "נוספים שיתופים שהוגדרו על ידי המשתמש..."
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "נקודת עגינה"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "אפשרויות"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "שם המשתמש"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "סיסמה"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "שם המשתמש והסיסמה כברירת המחדל"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "חיפוש"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "מנהל קבצים"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "טעינת מנהל הקבצים עם ההתחברות"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "פקודה"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "שימוש ב־sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "רשת"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "פקודת עיגון"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "אפשרויות עיגון"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "פקודת ניתוק"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "הגדרות CIFS"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "פינוי נקודת העגינה לאחר הניתוק"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "נקודת עגינה"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "מערכות קבצים"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "סייר השיתופים pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "כלי לעיון ב־SMB/CIFS מבוסס Python & GTK+."
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "דף הבית"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "עיגון שיתוף..."
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "קבוצת עבודה"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "מארח"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "שיתוף"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "אנונימי"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "משתמש וסיסמה"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "משתמש"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "סיסמה"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "משתמש / סיסמה"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "נקודת עגינה אינדיבידואלית"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "בחירת תיקיית העגינה..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "הוספת שיתוף..."
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "כתובת:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
"דוגמה:\n"
"//192.168.1.1/שיתוף\n"
"//שם_מארח/שיתוף\n"
"יש לזכור כי על שם_מארח להיות מזוהה באמצעות DNS."
#~ msgid "Use SMB"
#~ msgstr "שימוש ב־SMB"
#~ msgid "Use CIFS"
#~ msgstr "שימוש ב־CIFS"
#~ msgid "Type"
#~ msgstr "סוג"
pyneighborhood-0.5.1/po/nb.po 0000644 0000000 0000000 00000011570 11424045765 013014 0 ustar # Norwegian Bokmal translation for pyneighborhood
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-20 13:08+0000\n"
"Last-Translator: Linus Hoppe \n"
"Language-Team: Norwegian Bokmal \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: nb\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr ""
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr ""
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr ""
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr ""
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr ""
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr ""
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr ""
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "Monteringspunkt"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Innstillinger"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Brukernavn"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Passord"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "Standard brukernavn og passord"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr ""
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr ""
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr ""
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr ""
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Filbehandler"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr ""
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Kommando"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Bruk sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Nettverk"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Monteringskommando"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Monteringsinnstillinger"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Avmonteringskommando"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr "CIFS Innstillinger"
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr ""
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "Monteringspunkt"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Filsystemer"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr ""
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Hjemmeside"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr ""
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Arbeidsgruppe"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Vert"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr ""
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Anonym"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Bruker & passord"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Bruker"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Passord"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Bruker / Passord"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Individuelt monteringspunkt"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr ""
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "Legg til delt ressurs"
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
#~ msgid "Use CIFS"
#~ msgstr "Bruk CIFS"
#~ msgid "Use SMB"
#~ msgstr "Bruk SMB"
pyneighborhood-0.5.1/po/zh_TW.po 0000644 0000000 0000000 00000012436 11424045765 013452 0 ustar # Traditional Chinese Messages for pyNeighborhood.
# Wei-Lun Chao , 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: pyNeighborhood 0.5\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2009-09-07 21:45+0000\n"
"Last-Translator: Wei-Lun Chao \n"
"Language-Team: Chinese (traditional) \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: zh_TW\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr ""
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr ""
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr ""
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr ""
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr ""
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr ""
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr ""
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr "掛載點"
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "選項"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "使用者名稱"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "密碼"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr "預設使用者名稱和密碼"
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr "nmblookup"
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr "smbclient"
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr "smbtree"
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr "查找"
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "檔案管理員"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr "掛載並啟動檔案管理員"
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "命令"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "使用 sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "網路"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "掛載命令"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "掛載選項"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "卸載命令"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr ""
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr "卸載之後移除掛載點"
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr "掛載點"
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "檔案系統"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr "基於 Python & GTK+ 的開放原始碼 SMB/CIFS 瀏覽工具。"
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "首頁"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr "掛載共享…"
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "工作群組"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "主機"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr "共享"
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "匿名"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "使用者 & 密碼"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "使用者"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "密碼"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "使用者/密碼"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr ""
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr "加入共享…"
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "網址:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
#~ msgid "Use SMB"
#~ msgstr "使用 SMB"
#~ msgid "Use CIFS"
#~ msgstr "使用 CIFS"
#~ msgid "Type"
#~ msgstr "型態"
#~ msgid "Logon Options"
#~ msgstr "登入選項"
#~ msgid ""
#~ "Example:\n"
#~ "//192.168.1.1/share\n"
#~ "//hostname/share\n"
#~ "Keep in mind that hostname should be resolvable through DNS."
#~ msgstr ""
#~ "範例:\n"
#~ "//192.168.1.1/share\n"
#~ "//hostname/share\n"
#~ "請注意 hostname 必須可以經由 DNS 所解析。"
pyneighborhood-0.5.1/po/fo.po 0000644 0000000 0000000 00000011372 11424045765 013021 0 ustar # Faroese translation for pyneighborhood
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the pyneighborhood package.
# FIRST AUTHOR , 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: pyneighborhood\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-07-17 15:28+0200\n"
"PO-Revision-Date: 2010-07-20 13:09+0000\n"
"Last-Translator: Linus Hoppe \n"
"Language-Team: Faroese \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-07-25 08:56+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: fo\n"
#: ../pyneighborhood/mountwindow.py:112
msgid "Mount error"
msgstr "Ísetingarvilla"
#: ../pyneighborhood/mountwindow.py:169
msgid "The specified mount directory does not exist!"
msgstr ""
#: ../pyneighborhood/options.py:91
msgid ""
"SUID bits on mount/umount are not set!\n"
"Disabling sudo is not possible!"
msgstr ""
#: ../pyneighborhood/addwindow.py:88
msgid "Resolving IP ..."
msgstr "Avgerði IP..."
#: ../pyneighborhood/addwindow.py:109
msgid "Resolving Workgroup..."
msgstr "Avgerði arbeiðsbólk..."
#: ../pyneighborhood/addwindow.py:114
msgid "Resolving NetBIOS Hostname..."
msgstr "Avgerði NetBIOS vertsnavn..."
#: ../pyneighborhood/addwindow.py:119
msgid "Scanning for all Shares..."
msgstr ""
#: ../pyneighborhood/addwindow.py:125
msgid "Appending user defined Share..."
msgstr ""
#: ../pyneighborhood/mainwindow.py:276
msgid "Type"
msgstr ""
#: ../pyneighborhood/mainwindow.py:278
msgid "Service"
msgstr ""
#: ../pyNeighborhood.glade:1146 ../pyNeighborhood.glade:2863
msgid "Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:8
msgid "Options"
msgstr "Kostir"
#: ../pyNeighborhood.glade:116
msgid "Username"
msgstr "Brúkaranavn"
#: ../pyNeighborhood.glade:144
msgid "Password"
msgstr "Atlát"
#: ../pyNeighborhood.glade:218
msgid "Default Username and Password"
msgstr ""
#: ../pyNeighborhood.glade:276
msgid "nmblookup"
msgstr ""
#: ../pyNeighborhood.glade:304
msgid "smbclient"
msgstr ""
#: ../pyNeighborhood.glade:374
msgid "smbtree"
msgstr ""
#: ../pyNeighborhood.glade:427
msgid "Lookup"
msgstr ""
#: ../pyNeighborhood.glade:482
msgid "Filemanager"
msgstr "Fílufyrisiting"
#: ../pyNeighborhood.glade:531
msgid "Launch Filemanager on mount"
msgstr ""
#: ../pyNeighborhood.glade:580
msgid "Command"
msgstr "Boð"
#: ../pyNeighborhood.glade:629
msgid "Use sudo"
msgstr "Nýt sudo"
#: ../pyNeighborhood.glade:659
msgid "Network"
msgstr "Net"
#: ../pyNeighborhood.glade:716 ../pyNeighborhood.glade:983
msgid "Mount Command"
msgstr "Ísetingarstýriboð"
#: ../pyNeighborhood.glade:744 ../pyNeighborhood.glade:1011
msgid "Mount Options"
msgstr "Ísetingarkostir"
#: ../pyNeighborhood.glade:772 ../pyNeighborhood.glade:1039
msgid "Unmount Command"
msgstr "Úrsetingarstýriboð"
#: ../pyNeighborhood.glade:867
msgid "CIFS Settings"
msgstr ""
#: ../pyNeighborhood.glade:1125
msgid "Cleanup Mountpoint after Unmount"
msgstr ""
#: ../pyNeighborhood.glade:1199
msgid "Mountpoint"
msgstr ""
#: ../pyNeighborhood.glade:1235
msgid "Filesystems"
msgstr "Fílukervi"
#: ../pyNeighborhood.glade:1269 ../pyNeighborhood.glade:1577
msgid "pyNeighborhood"
msgstr "pyNeighborhood"
#: ../pyNeighborhood.glade:1578
msgid "A OpenSource Python & GTK+ based SMB/CIFS Browsing Tool."
msgstr ""
#: ../pyNeighborhood.glade:2257
msgid "Homepage"
msgstr "Heimasíða"
#: ../pyNeighborhood.glade:2268
msgid "Betz Stefan "
msgstr "Betz Stefan "
#: ../pyNeighborhood.glade:2274
msgid "Mount Share..."
msgstr ""
#: ../pyNeighborhood.glade:2353
msgid "Workgroup"
msgstr "Arbeiðsbólkur"
#: ../pyNeighborhood.glade:2381
msgid "Host"
msgstr "Vertur"
#: ../pyNeighborhood.glade:2409
msgid "Share"
msgstr ""
#: ../pyNeighborhood.glade:2587
msgid "Anonymous"
msgstr "Ónevndur"
#: ../pyNeighborhood.glade:2607
msgid "User & Password"
msgstr "Brúkari & atlát"
#: ../pyNeighborhood.glade:2655
msgid "User"
msgstr "Brúkari"
#: ../pyNeighborhood.glade:2683
msgid "Password"
msgstr "Atlát"
#: ../pyNeighborhood.glade:2759
msgid "User / Password"
msgstr "Brúkari / atlát"
#: ../pyNeighborhood.glade:2822
msgid "Individual Mountpoint"
msgstr "Einstakt ísetingarstað"
#: ../pyNeighborhood.glade:2842
msgid "Select mount directory..."
msgstr "Vel ísetingarstað..."
#: ../pyNeighborhood.glade:2902
msgid "Add Share..."
msgstr ""
#: ../pyNeighborhood.glade:2972
msgid "URL:"
msgstr "URL:"
#: ../pyNeighborhood.glade:2772
msgid ""
"Example:\n"
"//192.168.1.1/share\n"
"//hostname/share\n"
"Keep in mind that hostname must be resolvable through DNS."
msgstr ""
pyneighborhood-0.5.1/extras/ 0000755 0000000 0000000 00000000000 11424045765 012741 5 ustar pyneighborhood-0.5.1/extras/import-launchpad-translations.py 0000755 0000000 0000000 00000001427 11424045765 021310 0 ustar #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Stdlib Imports
import tarfile
from os import access,F_OK
from sys import argv
if not len(argv) == 2:
print "Please specifiy a path to the launchpad translations."
raise SystemExit
if not access('po', F_OK):
print "Please call this utility from the base directory!"
raise SystemExit
try:
t = tarfile.open(argv[1], 'r')
except:
print "Sorry, could not open tarfile. Permissions Okay?"
raise SystemExit
for translation in t.getmembers():
if translation.isfile() and translation.name.endswith(u'.po'):
language = translation.name.split('-')[1].split('.')[0]
f = t.extractfile(translation)
o = open('po/%s.po' % language,'w')
o.write(f.read())
f.close()
o.close()
pyneighborhood-0.5.1/debian/ 0000755 0000000 0000000 00000000000 11424046055 012646 5 ustar pyneighborhood-0.5.1/debian/pyversions 0000644 0000000 0000000 00000000005 11424045765 015014 0 ustar 2.5-
pyneighborhood-0.5.1/debian/compat 0000644 0000000 0000000 00000000002 11424045765 014053 0 ustar 6
pyneighborhood-0.5.1/debian/rules 0000755 0000000 0000000 00000000740 11424045765 013736 0 ustar #!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
install/pyneighborhood::
@for f in po/*po; do\
lang=`basename $$f .po | awk -F"_" '{print $$1}'` ;\
echo " ** MSGFMT ** ($$f) ";\
mkdir -p $(CURDIR)/debian/pyneighborhood/usr/share/locale/$$lang/LC_MESSAGES ; \
msgfmt $$f -o $(CURDIR)/debian/pyneighborhood/usr/share/locale/$$lang/LC_MESSAGES/pyNeighborhood.mo;\
done
pyneighborhood-0.5.1/debian/dirs 0000644 0000000 0000000 00000000010 11424045765 013530 0 ustar usr/bin
pyneighborhood-0.5.1/debian/docs 0000644 0000000 0000000 00000000007 11424045765 013525 0 ustar README
pyneighborhood-0.5.1/debian/source/ 0000755 0000000 0000000 00000000000 11424045765 014155 5 ustar pyneighborhood-0.5.1/debian/source/format 0000644 0000000 0000000 00000000004 11424045765 015362 0 ustar 1.0
pyneighborhood-0.5.1/debian/control 0000644 0000000 0000000 00000001176 11424046025 014253 0 ustar Source: pyneighborhood
Section: net
Priority: optional
Maintainer: Stefan J. Betz
XS-Python-Version: current
Build-Depends: cdbs, debhelper (>= 6), python, python-central (>=0.5.15), python-support
Standards-Version: 3.9.0
Homepage: https://launchpad.net/pyneighborhood
Package: pyneighborhood
Architecture: all
Depends: smbfs, smbclient, python, python-gtk2, python-glade2, python-pysqlite2, samba-common, ${misc:Depends}
Description: PyGTK2 SAMBA browser
pyNeighborhood is GTK2 Python rewrite of a well-known gtk1 tool
"LinNeighborhood". It features group browser, favourite hosts
manager and mounts monitor.
pyneighborhood-0.5.1/debian/pycompat 0000644 0000000 0000000 00000000002 11424045765 014424 0 ustar 2
pyneighborhood-0.5.1/debian/changelog 0000644 0000000 0000000 00000000242 11424046055 014516 0 ustar pyneighborhood (0.5.1) unstable; urgency=low
* pyNeighborhood 0.5.1 for Debian Sid
-- Stefan J. Betz Wed, 28 Jul 2010 15:26:28 +0000
pyneighborhood-0.5.1/debian/copyright 0000644 0000000 0000000 00000002164 11424045765 014613 0 ustar This package was debianized by Mario Izquierdo (mariodebian) on
Tue, 10 Jun 2008 20:55:04 +0200.
It was downloaded from http://pyneighborhood.sourceforge.net/
Upstream Author(s):
Mario Izquierdo (mariodebian)
Copyright:
Copyright ©2007-2010 Stefan J. Betz
License:
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 .
The Debian packaging is ©2008, Mario Izquierdo (mariodebian) and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
pyneighborhood-0.5.1/pyNeighborhood 0000755 0000000 0000000 00000002056 11424045765 014344 0 ustar #!/usr/bin/env python
# Copyright (C) 2007 Stefan J. Betz
#
# 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 .
import pygtk
pygtk.require("2.0")
import gtk
import gtk.glade
import gobject
import gettext
from pyneighborhood.mainwindow import MainWindow
gettext.bindtextdomain('pyNeighborhood')
gettext.textdomain('pyNeighborhood')
gtk.glade.bindtextdomain("pyNeighborhood")
gtk.glade.textdomain("pyNeighborhood")
# Start pyNeighborhood:
MainWindow()
gobject.threads_init()
gtk.main()
pyneighborhood-0.5.1/icons/ 0000755 0000000 0000000 00000000000 11424045765 012546 5 ustar pyneighborhood-0.5.1/icons/pyNeighborhood.svg 0000644 0000000 0000000 00000161243 11424045765 016256 0 ustar
pyneighborhood-0.5.1/icons/scan.png 0000644 0000000 0000000 00000004663 11424045765 014211 0 ustar PNG
IHDR 0 0 W sBIT|d tEXtSoftware www.inkscape.org< EIDAThkpdט` &! h!IVvGJul
e:uj
7.iJ%EB6{9퇽dMv683ys\]bR0~Kϥ1EBB¦GuyyyTX:::a2RJR4-εFe{Bc}"PJydBt-
q-+^=V[r-j:H矓s0 =t}*Itn7.bE H088?vv9Ԉ'F(F
wP ^0^/vbRrS2%8aBD$`J!qܰި{SGb`w,gYov͞=p80\|q0oq H)J"е#3!Da:勩fqf>HVV/d۶7PZZ롯<ñcaޜ~WBRV0BcJqt|v3^Ʋ{h0~ҦPS}?CCC<غC3z_{!N^=i>>ݻ46uBL%}h+e *V
!QJRr\nyddLW'R^jpjфt5.д4:B"GسwIIItt)SR~Gx<