Full Code of ztefn/haguichi for AI

master 00c5d400892f cached
102 files
1.0 MB
286.6k tokens
1 requests
Download .txt
Showing preview only (1,130K chars total). Download the full file or copy to clipboard to get everything.
Repository: ztefn/haguichi
Branch: master
Commit: 00c5d400892f
Files: 102
Total size: 1.0 MB

Directory structure:
gitextract_tecnxzld/

├── AUTHORS
├── INSTALL.md
├── LICENSE
├── README.md
├── com.github.ztefn.haguichi.json
├── data/
│   ├── com.github.ztefn.haguichi.desktop.in.in
│   ├── com.github.ztefn.haguichi.gresource.xml
│   ├── com.github.ztefn.haguichi.gschema.xml
│   ├── com.github.ztefn.haguichi.metainfo.xml.in.in
│   ├── icons/
│   │   └── meson.build
│   ├── meson.build
│   ├── stylesheets/
│   │   ├── base.css
│   │   ├── elementary-dark.css
│   │   ├── elementary.css
│   │   ├── style-dark.css
│   │   ├── style-hc.css
│   │   └── style.css
│   └── ui/
│       ├── dialogs/
│       │   ├── add-edit-command.ui
│       │   ├── attach.ui
│       │   ├── change-access.ui
│       │   ├── change-password.ui
│       │   └── join-create-network.ui
│       ├── menus/
│       │   ├── member-menu.ui
│       │   ├── network-list-menu.ui
│       │   └── network-menu.ui
│       ├── network-list.ui
│       ├── preferences.ui
│       ├── shortcuts-dialog.ui
│       ├── shortcuts-window.ui
│       ├── sidebar.ui
│       ├── widgets/
│       │   ├── command-entry-row.ui
│       │   ├── command-variable-button.ui
│       │   ├── commands-editor-row.ui
│       │   ├── commands-editor.ui
│       │   ├── network-list-item.ui
│       │   ├── sidebar-page.ui
│       │   └── sidebar-row.ui
│       └── window.ui
├── meson.build
├── meson.options
├── po/
│   ├── LINGUAS
│   ├── POTFILES
│   ├── README.md
│   ├── ast.po
│   ├── bg.po
│   ├── cs.po
│   ├── de.po
│   ├── es.po
│   ├── fi.po
│   ├── fr.po
│   ├── haguichi.pot
│   ├── hu.po
│   ├── id.po
│   ├── it.po
│   ├── ja.po
│   ├── kk.po
│   ├── lt.po
│   ├── meson.build
│   ├── nl.po
│   ├── pl.po
│   ├── pt.po
│   ├── pt_BR.po
│   ├── ru.po
│   ├── sk.po
│   ├── sv.po
│   ├── tr.po
│   └── uk.po
└── src/
    ├── application.vala
    ├── bubble.vala
    ├── command.vala
    ├── config.vala.in
    ├── connection.vala
    ├── controller.vala
    ├── custom-command.vala
    ├── dialogs/
    │   ├── add-edit-command.vala
    │   ├── attach.vala
    │   ├── change-access.vala
    │   ├── change-password.vala
    │   ├── confirm.vala
    │   └── join-create-network.vala
    ├── hamachi.vala
    ├── indicator.vala
    ├── inhibitor.vala
    ├── member-event.vala
    ├── member.vala
    ├── meson.build
    ├── network-list.vala
    ├── network.vala
    ├── preferences.vala
    ├── session.vala
    ├── sidebar.vala
    ├── status-notifier-item.vala
    ├── status.vala
    ├── utils.vala
    ├── widgets/
    │   ├── command-entry-row.vala
    │   ├── command-variable-button.vala
    │   ├── commands-editor-row.vala
    │   ├── commands-editor.vala
    │   ├── sidebar-page.vala
    │   ├── sidebar-row.vala
    │   └── throbber.vala
    └── window.vala

================================================
FILE CONTENTS
================================================

================================================
FILE: AUTHORS
================================================
Stephen Brandt <stephen@stephenbrandt.com>

================================================
FILE: INSTALL.md
================================================

  Building & Installing Haguichi
  ==============================


  Dependencies
  ------------

  The following development packages are required to build Haguichi:

   * gettext
   * meson (>= 1.3.0)
   * valac (>= 0.56)
   * gee-0.8 (>= 0.20.6)
   * glib-2.0 (>= 2.80)
   * gtk4 (>= 4.14)
   * libadwaita-1 (>= 1.5)
   * libportal (>= 0.7.1)
   * libportal-gtk4 (>= 0.7.1)

  On **Debian based distributions** you can install these packages by running the following command:

    $ sudo apt install build-essential gettext meson valac libgee-0.8-dev libglib2.0-dev libgtk-4-dev libadwaita-1-dev libportal-dev libportal-gtk4-dev


  On **Fedora** you can install these packages by running the following command:

    $ sudo dnf install gettext meson vala libgee-devel gtk4-devel libadwaita-devel libportal-devel libportal-gtk4-devel


  Build options
  -------------

  **for-elementary**

  This option enables elementary OS integration and additionally requires the *granite-7* development package.

    $ meson configure -Dfor-elementary=true


  **for-ubuntu**

  This option enables Ubuntu integration by installing Yaru style application icons.

    $ meson configure -Dfor-ubuntu=true


  Building
  --------

  To build Haguichi, run the following commands:

    $ mkdir build && cd build
    $ meson setup ..
    $ ninja


  Installing
  ----------

  After Haguichi has been built, run the following command to install it:

    $ sudo ninja install



================================================
FILE: LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://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 <https://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
<https://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
<https://www.gnu.org/licenses/why-not-lgpl.html>.


================================================
FILE: README.md
================================================
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
[![Translation status](https://hosted.weblate.org/widget/haguichi/svg-badge.svg)](https://hosted.weblate.org/engage/haguichi/)

<div align="center">
  <h1>
    <img src="data/icons/hicolor/scalable/apps/com.github.ztefn.haguichi.svg?raw=true" alt="Haguichi logo" width="128" /><br />
    Haguichi
  </h1>
  <h4>Provides a graphical frontend for Hamachi on Linux</h4>
  <img src="https://haguichi.net/appdata/screenshot-1.png" alt="Screenshot" width="704" />
</div>


  Links
  -----

   * [Homepage](https://haguichi.net)
   * [Download](https://haguichi.net/download/)
   * [Bug tracker](https://github.com/ztefn/haguichi/issues)


  Features
  --------

   * Searchable, sortable and collapsible network list
   * Sidebar for easy access to details and actions
   * Indicator support for quick access to primary actions
   * Desktop notifications to stay up to date of network events
   * Commands that can be completely customized
   * Backup and restore of your Hamachi configuration folder


  Translations
  ------------

  You can help translate Haguichi via [Weblate](https://hosted.weblate.org/engage/haguichi/) or by using your favorite PO file editor and then opening a [pull request](https://github.com/ztefn/haguichi/pulls) to merge your changes.


  Donations
  ---------

  Support development by making a donation! You can donate any amount you wish via [PayPal](https://www.paypal.me/ztefn).


  License
  -------

  Copyright © 2007–2026 Stephen Brandt

  Haguichi 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.

  Haguichi 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.



================================================
FILE: com.github.ztefn.haguichi.json
================================================
{
    "app-id": "com.github.ztefn.haguichi",
    "runtime": "org.gnome.Platform",
    "runtime-version": "50",
    "sdk": "org.gnome.Sdk",
    "sdk-extensions": [
        "org.freedesktop.Sdk.Extension.vala"
    ],
    "build-options": {
        "append-path": "/usr/lib/sdk/vala/bin",
        "prepend-ld-library-path": "/usr/lib/sdk/vala/lib"
    },
    "command": "haguichi",
    "finish-args": [
        "--device=dri",

        "--filesystem=/var/lib/logmein-hamachi:ro",

        "--system-talk-name=org.freedesktop.login1",

        "--talk-name=org.freedesktop.Flatpak",
        "--talk-name=org.kde.StatusNotifierWatcher",

        "--share=network",
        "--share=ipc",

        "--socket=fallback-x11",
        "--socket=wayland"
    ],
    "cleanup": [
        "/include",
        "/lib/girepository-1.0",
        "/lib/pkgconfig",
        "/share/gir-1.0",
        "/share/vala"
    ],
    "modules": [
        {
            "name": "libportal",
            "buildsystem": "meson",
            "config-opts": [
                "-Dbackend-gtk3=disabled",
                "-Dbackend-gtk4=enabled",
                "-Dbackend-qt5=disabled",
                "-Dbackend-qt6=disabled",
                "-Ddocs=false",
                "-Dtests=false"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/flatpak/libportal/releases/download/0.9.1/libportal-0.9.1.tar.xz",
                    "sha256": "de801ee349ed3c255a9af3c01b1a401fab5b3fc1c35eb2fd7dfb35d4b8194d7f"
                }
            ]
        },
        {
            "name": "haguichi",
            "buildsystem": "meson",
            "sources": [
                {
                    "type": "dir",
                    "path": "."
                }
            ]
        }
    ]
}


================================================
FILE: data/com.github.ztefn.haguichi.desktop.in.in
================================================
[Desktop Entry]
Type=Application
# Name used for display in application launchers.
Name=Haguichi
# Generic name used for display in some application launchers like Kickoff in KDE Plasma.
GenericName=Hamachi Network Manager
Exec=@BINARY_NAME@
Terminal=false
# Description used for display in application launchers.
Comment=Manage your Hamachi networks
Icon=@APP_ID@
Categories=GNOME;GTK;Network;P2P;
# Keywords used for search in application launchers and software centers.
Keywords=LogMeIn Hamachi;VPN;LAN;Network;Internet;P2P;Peer;Client;GUI;Frontend;
StartupNotify=true
X-GNOME-UsesNotifications=true


================================================
FILE: data/com.github.ztefn.haguichi.gresource.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
  <gresource prefix="/com/github/ztefn/haguichi">
    <file compressed="true">base.css</file>
    <file compressed="true">elementary.css</file>
    <file compressed="true">elementary-dark.css</file>
    <file compressed="true">style.css</file>
    <file compressed="true">style-dark.css</file>
    <file compressed="true">style-hc.css</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/dialogs/add-edit-command.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/dialogs/attach.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/dialogs/change-access.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/dialogs/change-password.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/dialogs/join-create-network.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/menus/member-menu.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/menus/network-list-menu.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/menus/network-menu.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/network-list.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/preferences.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/shortcuts-dialog.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/shortcuts-window.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/sidebar.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/widgets/command-entry-row.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/widgets/command-variable-button.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/widgets/commands-editor.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/widgets/commands-editor-row.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/widgets/network-list-item.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/widgets/sidebar-row.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/widgets/sidebar-page.ui</file>
    <file compressed="true" preprocess="xml-stripblanks">ui/window.ui</file>
  </gresource>
</gresources>


================================================
FILE: data/com.github.ztefn.haguichi.gschema.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>

  <enum id="com.github.ztefn.haguichi.commands.init-system">
    <value value="0" nick="auto"/>
    <value value="1" nick="systemctl"/>
    <value value="2" nick="init.d"/>
    <value value="3" nick="rc.d"/>
    <value value="4" nick="none"/>
  </enum>

  <enum id="com.github.ztefn.haguichi.commands.super-user">
    <value value="0" nick="auto"/>
    <value value="1" nick="pkexec"/>
    <value value="2" nick="kdesu"/>
    <value value="3" nick="run0"/>
    <value value="4" nick="sudo"/>
  </enum>

  <enum id="com.github.ztefn.haguichi.config.protocol">
    <value value="0" nick="both"/>
    <value value="1" nick="ipv4"/>
    <value value="2" nick="ipv6"/>
  </enum>

  <enum id="com.github.ztefn.haguichi.network-list.sort-by">
    <value value="0" nick="name"/>
    <value value="1" nick="status"/>
  </enum>

  <enum id="com.github.ztefn.haguichi.ui.color-scheme">
    <value value="0" nick="system"/>
    <value value="1" nick="light"/>
    <value value="2" nick="dark"/>
  </enum>

  <schema path="/com/github/ztefn/haguichi/" id="com.github.ztefn.haguichi">
    <key type="i" name="stamp">
      <default>3</default>
    </key>
    <child schema="com.github.ztefn.haguichi.behavior" name="behavior"/>
    <child schema="com.github.ztefn.haguichi.commands" name="commands"/>
    <child schema="com.github.ztefn.haguichi.config" name="config"/>
    <child schema="com.github.ztefn.haguichi.network-list" name="network-list"/>
    <child schema="com.github.ztefn.haguichi.notifications" name="notifications"/>
    <child schema="com.github.ztefn.haguichi.ui" name="ui"/>
  </schema>

  <schema path="/com/github/ztefn/haguichi/behavior/" id="com.github.ztefn.haguichi.behavior">
    <key type="b" name="connect-on-startup">
      <default>true</default>
    </key>
    <key type="b" name="disconnect-on-quit">
      <default>true</default>
    </key>
    <key type="b" name="reconnect-on-connection-loss">
      <default>true</default>
    </key>
  </schema>

  <schema path="/com/github/ztefn/haguichi/commands/" id="com.github.ztefn.haguichi.commands">
    <key type="as" name="customizable">
      <default>['true;true;_Browse Shares;%FILEMANAGER smb://%A/;%FILEMANAGER smb://[%A]/;IPv4', 'true;false;_View Remote Desktop;%REMOTEDESKTOP %A;%REMOTEDESKTOP [%A];IPv4', 'true;false;_Ping;%TERMINAL ping %A;%TERMINAL ping6 %A;IPv4', 'false;false;_SSH;%TERMINAL ssh %A;%TERMINAL ssh %A;IPv4']</default>
    </key>
    <key name="init-system" enum="com.github.ztefn.haguichi.commands.init-system">
      <default>'auto'</default>
    </key>
    <key name="super-user" enum="com.github.ztefn.haguichi.commands.super-user">
      <default>'auto'</default>
    </key>
  </schema>

  <schema path="/com/github/ztefn/haguichi/config/" id="com.github.ztefn.haguichi.config">
    <key type="s" name="check-internet-hostname">
      <default>'www.google.com'</default>
    </key>
    <key type="s" name="check-internet-ip">
      <default>'8.8.8.8'</default>
    </key>
    <key type="s" name="nickname">
      <default>'%USERNAME'</default>
    </key>
    <key name="protocol" enum="com.github.ztefn.haguichi.config.protocol">
      <default>'both'</default>
    </key>
    <key type="i" name="reconnect-interval">
      <default>30</default>
      <range min="15" max="3600"/>
    </key>
    <key type="i" name="update-interval">
      <default>30</default>
      <range min="0" max="3600"/>
    </key>
  </schema>

  <schema path="/com/github/ztefn/haguichi/network-list/" id="com.github.ztefn.haguichi.network-list">
    <key type="as" name="collapsed-networks">
      <default>[]</default>
    </key>
    <key type="as" name="long-nicks">
      <default>[]</default>
    </key>
    <key type="s" name="member-template">
      <default><![CDATA['%N%_*']]></default>
    </key>
    <key type="s" name="network-template">
      <default><![CDATA['%N%_*']]></default>
    </key>
    <key type="b" name="show-offline-members">
      <default>true</default>
    </key>
    <key name="sort-by" enum="com.github.ztefn.haguichi.network-list.sort-by">
      <default>'name'</default>
    </key>
  </schema>

  <schema path="/com/github/ztefn/haguichi/notifications/" id="com.github.ztefn.haguichi.notifications">
    <key type="b" name="connection-loss">
      <default>true</default>
    </key>
    <key type="b" name="member-join">
      <default>true</default>
    </key>
    <key type="b" name="member-leave">
      <default>true</default>
    </key>
    <key type="b" name="member-offline">
      <default>true</default>
    </key>
    <key type="b" name="member-online">
      <default>true</default>
    </key>
  </schema>

  <schema path="/com/github/ztefn/haguichi/ui/" id="com.github.ztefn.haguichi.ui">
    <key name="color-scheme" enum="com.github.ztefn.haguichi.ui.color-scheme">
      <default>'dark'</default>
    </key>
    <key type="i" name="height">
      <default>466</default>
    </key>
    <key type="b" name="show-indicator">
      <default>true</default>
    </key>
    <key type="i" name="width">
      <default>582</default>
    </key>
  </schema>

</schemalist>


================================================
FILE: data/com.github.ztefn.haguichi.metainfo.xml.in.in
================================================
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>@APP_ID@</id>
  <metadata_license>CC0</metadata_license>
  <project_license>GPL-3.0-or-later</project_license>
  <name translate="no">@APP_NAME@</name>
  <summary>Manage your Hamachi networks</summary>
  <description>
    <p>Haguichi makes it a breeze to join, create and administer Hamachi networks.</p>
    <p>Features:</p>
    <ul>
      <li>Searchable, sortable and collapsible network list</li>
      <li>Sidebar for easy access to details and actions</li>
      <li>Indicator support for quick access to primary actions</li>
      <li>Desktop notifications to stay up to date of network events</li>
      <li>Commands that can be completely customized</li>
      <li>Backup and restore of your Hamachi configuration folder</li>
    </ul>
    <p><em>Please note: Requires installation of Hamachi on the system in order to use.</em></p>
  </description>
  <screenshots>
    <screenshot type="default">
      <caption>View your network list and client information</caption>
      <image scale="2">https://haguichi.net/appdata/screenshot-1.png</image>
    </screenshot>
    <screenshot>
      <caption>View selected member details</caption>
      <image scale="2">https://haguichi.net/appdata/screenshot-2.png</image>
    </screenshot>
    <screenshot>
      <caption>View selected network details</caption>
      <image scale="2">https://haguichi.net/appdata/screenshot-3.png</image>
    </screenshot>
    <screenshot>
      <caption>Search your network list</caption>
      <image scale="2">https://haguichi.net/appdata/screenshot-4.png</image>
    </screenshot>
    <screenshot>
      <caption>Join or create networks</caption>
      <image scale="2">https://haguichi.net/appdata/screenshot-5.png</image>
    </screenshot>
  </screenshots>
  <supports>
    <control>keyboard</control>
    <control>pointing</control>
    <control>touch</control>
  </supports>
  <recommends>
    <internet>always</internet>
  </recommends>
  <requires>
    <display_length compare="ge">360</display_length>
  </requires>
  <branding>
    <color type="primary" scheme_preference="light">#ffdbbc</color>
    <color type="primary" scheme_preference="dark">#910e08</color>
  </branding>
  <content_rating type="oars-1.1" />
  <launchable type="desktop-id">@APP_ID@.desktop</launchable>
  <releases>
    <release version="1.5.4" date="2026-04-18">
      <url>https://haguichi.net/news/release154/</url>
      <description translate="no">
        <p>Haguichi 1.5.4 has tightened its bolts and rolls out the following changes:</p>
        <ul>
          <li>Increased border radius of network list rows for libadwaita 1.7 and later.</li>
          <li>Now using static light and dark colors for the style selector to prevent issues with custom themes.</li>
          <li>Added Menu and Shift+F10 keyboard shortcuts to open the menu of commands editor rows.</li>
          <li>Added support for starting the Hamachi daemon directly without using any init system.</li>
          <li>Added support for using the Hamachi daemon directly as command line interface.</li>
          <li>Added support for run0 to gain super user privileges.</li>
          <li>Reinstated support for kdesu to gain super user privileges.</li>
          <li>Dropped support for all Hamachi versions older than 2.1.0.203.</li>
          <li>Improved memory safety for background threads that determine network ownership or retrieve long nicks.</li>
          <li>Disabled markup parsing in action row labels and toasts that may contain user input.</li>
          <li>Removed extra initial space in parsed %TERMINAL commands.</li>
          <li>Fixed issue on GTK versions before 4.18 where a long network or member name could mess up the sidebar layout.</li>
          <li>Updated Hungarian, Japanese, Slovak and Turkish translations.</li>
          <li>Other minor fixes, improvements and optimizations.</li>
        </ul>
      </description>
    </release>
    <release version="1.5.3" date="2025-11-09">
      <url>https://haguichi.net/news/release153/</url>
      <description translate="no">
        <p>Haguichi 1.5.3 knocks at the door with a handful of treats and tweaks:</p>
        <ul>
          <li>Replaced deprecated Gtk.ShortcutsWindow with Adw.ShortcutsDialog when libadwaita 1.8 is available.</li>
          <li>Sidebar title is now shown in the headerbar when scrolled down.</li>
          <li>Enabled automatic row selection in the network list when searching or after a row is collapsed or removed.</li>
          <li>Return and Delete key presses are now passed on to the selected row when search entry is focused.</li>
          <li>Search entry can now be refocused by pressing Ctrl+F while search mode is already active.</li>
          <li>When using drag and drop to reorder a command the dragged row is now anchored to the point where the drag started.</li>
          <li>Added option to duplicate existing commands.</li>
          <li>Added Adw.Toast with button to undo removal when removing a command.</li>
          <li>Added support for COSMIC Terminal and Files.</li>
          <li>Added Hungarian translation (thanks to therealmate).</li>
          <li>Updated Swedish translation.</li>
          <li>All bundled resource files are now compressed.</li>
          <li>Other minor fixes, improvements and optimizations.</li>
        </ul>
      </description>
    </release>
    <release version="1.5.2" date="2025-04-30">
      <url>https://haguichi.net/news/release152/</url>
      <description translate="no">
        <p>Haguichi 1.5.2 sends up white smoke to announce its newest changes:</p>
        <ul>
          <li>Implemented Adw.StatusPage to show the connection restore countdown with an additional cancel button.</li>
          <li>Connection loss notification will not be displayed if the window is already focused.</li>
          <li>Selected node and search text is now saved when restoring connection.</li>
          <li>Within "Add Command" and "Edit Command" dialogs command variables can now be inserted directly from the popover into the command entries.</li>
          <li>Now using Adw.ToggleGroup instead of grouped Gtk.CheckButtons to select IP version priority when libadwaita 1.7 is available.</li>
          <li>Now using Adw.Dialog based widgets starting from libadwaita 1.5 instead of 1.6.</li>
          <li>Added more network list update interval options to preferences dialog.</li>
          <li>Added support for Flatpak commands.</li>
          <li>Added support for Ghostty.</li>
          <li>Added debug information to about dialog.</li>
          <li>Updated Yaru icons for Ubuntu builds to use a smaller square for optical compensation (thanks again to ubuntujaggers).</li>
          <li>Updated Polish and Portuguese translations.</li>
          <li>Bumped minimum required versions of GLib (2.80), GTK (4.14) and libadwaita (1.5).</li>
          <li>Other minor fixes, improvements and optimizations.</li>
        </ul>
      </description>
    </release>
    <release version="1.5.1" date="2024-12-01">
      <url>https://haguichi.net/news/release151/</url>
      <description translate="no">
        <p>Haguichi 1.5.1 has put on its bow tie and is ready to celebrate the holiday season:</p>
        <ul>
          <li>Modernized layout for all input dialogs.</li>
          <li>Now using Adw.Dialog as base for all dialogs when libadwaita 1.6 is available.</li>
          <li>Now using Adw.Spinner instead of Gtk.Spinner when libadwaita 1.6 is available.</li>
          <li>Fixed showing commands menu button if there is only one item present.</li>
          <li>Added support for Ptyxis.</li>
          <li>Added Finnish translation (thanks to Jiri Grönroos).</li>
          <li>Updated Indonesian and Russian translations.</li>
          <li>Other minor fixes and improvements.</li>
        </ul>
      </description>
    </release>
    <release version="1.5.0" date="2024-07-20">
      <url>https://haguichi.net/news/release150/</url>
      <description translate="no">
        <p>Haguichi 1.5.0 has been rebuild completely from the ground up:</p>
        <ul>
          <li>Redesigned user interface using GTK 4 and libadwaita.</li>
          <li>Added support for multiple search terms by separating them using a "⎵" (space) or "+" (plus) to find only results matching both terms and by using a "," (comma) to find results matching either term.</li>
          <li>Now displays a message if there are no results found instead of showing an empty network list.</li>
          <li>Online and total member count in sidebar now includes the client itself.</li>
          <li>Networks are now automatically selected immediately after you create or join them.</li>
          <li>Hamachi is now automatically restarted if the hamachi set-pass command hangs when changing the network password.</li>
          <li>Reimplemented indicator to communicate with the SNI D-Bus interface directly and drop dependency on appindicator libraries that don't support GTK 4.</li>
          <li>Implemented Xdp.Portal to request permission to run in the background and to set background status when doing so.</li>
          <li>Renamed --hidden command line option to --background or -b for short.</li>
          <li>Changed accelerator to open preferences to Control+, following the GNOME standard for keyboard shortcuts.</li>
          <li>Changed default network list update interval to 30 seconds.</li>
          <li>Added support for zstd compressed tar archives when saving and restoring configuration backups.</li>
          <li>Added line "StartupNotify=true" to .desktop file so that a spinning cursor is shown on launch.</li>
          <li>Now using standard GLib functions for message logging so that important errors are written to the system logs.</li>
          <li>Updated Brazilian Portuguese, Dutch, Japanese, Lithuanian, Spanish and Ukrainian translations.</li>
        </ul>
      </description>
    </release>
  </releases>
  <url type="homepage">https://haguichi.net</url>
  <url type="bugtracker">https://github.com/ztefn/haguichi/issues</url>
  <url type="faq">https://haguichi.net/faq/</url>
  <url type="help">https://haguichi.net/tips-and-tricks/</url>
  <url type="donation">https://haguichi.net/donate/</url>
  <url type="translate">https://github.com/ztefn/haguichi#translations</url>
  <url type="vcs-browser">https://github.com/ztefn/haguichi</url>
  <developer id="com.stephenbrandt">
    <name translate="no">Stephen Brandt</name>
  </developer>
  <update_contact>stephen@stephenbrandt.com</update_contact>
  <translation type="gettext">@GETTEXT_PACKAGE@</translation>
</component>


================================================
FILE: data/icons/meson.build
================================================
if get_option('for-elementary')
  icon_themes = ['elementary/hicolor']
else
  icon_themes = ['hicolor']
endif

if get_option('for-ubuntu')
  icon_themes += ['Yaru']
endif

foreach theme : icon_themes
  install_subdir(theme,
    follow_symlinks: true,
        install_dir: get_option('datadir') / 'icons'
  )
endforeach


================================================
FILE: data/meson.build
================================================
desktop = app_id + '.desktop'

desktop_in = configure_file(
          input: desktop + '.in.in',
         output: desktop + '.in',
  configuration: conf
)

desktop_file = i18n.merge_file(
        input: desktop_in,
       output: desktop,
         type: 'desktop',
       po_dir: '../po',
      install: true,
  install_dir: get_option('datadir') / 'applications'
)

desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
  test('Validate desktop file', desktop_utils, args: [desktop_file])
endif

appstream = app_id + '.metainfo.xml'

appstream_in = configure_file(
          input: appstream + '.in.in',
         output: appstream + '.in',
  configuration: conf
)

appstream_file = i18n.merge_file(
        input: appstream_in,
       output: appstream,
       po_dir: '../po',
      install: true,
  install_dir: get_option('datadir') / 'metainfo'
)

appstreamcli = find_program('appstreamcli', required: false, disabler: true)
test('Validate appstream file', appstreamcli,
  args: ['validate', '--no-net', '--explain', appstream_file]
)

install_data(app_id + '.gschema.xml',
  install_dir: get_option('datadir') / 'glib-2.0' / 'schemas'
)

compile_schemas = find_program('glib-compile-schemas', required: false, disabler: true)
test('Validate schema file', compile_schemas,
  args: ['--strict', '--dry-run', meson.current_source_dir()]
)

resources = gnome.compile_resources(app_name.to_lower() + '-resources', app_id + '.gresource.xml',
      c_name: app_name.to_lower(),
  source_dir: ['stylesheets']
)

subdir('icons')


================================================
FILE: data/stylesheets/base.css
================================================
statuspage > scrolledwindow > viewport > box {
  margin-top: 6px;
}


#restore-commands-button image {
  transform: scaleX(-1);
}


#add-command-button {
  background: none;
  padding: 9px;
}


styleselector {
  margin: 9px 0;
}

styleselector checkbutton {
  background-clip: content-box;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px alpha(currentColor, 0.15);
  min-height: 30px;
  min-width: 30px;
  outline-offset: 1px;
  padding: 1px;
}

styleselector checkbutton:checked {
  box-shadow: inset 0 0 0 2px @accent_bg_color;
}

styleselector checkbutton.system {
  background-image: linear-gradient(to bottom right, #FFFFFF 49.99%, #202020 50.01%);
}

styleselector checkbutton.light {
  background-color: #FFFFFF;
}

styleselector checkbutton.dark {
  background-color: #202020;
}

styleselector checkbutton radio {
  -gtk-icon-source: none;
  background: none;
  border: none;
  box-shadow: none;
  min-height: 12px;
  min-width: 12px;
  padding: 2px;
}
styleselector checkbutton radio:dir(ltr) {
  transform: translate(16px, 10px);
}
styleselector checkbutton radio:dir(rtl) {
  transform: translate(-16px, 10px);
}
styleselector checkbutton radio:checked {
  -gtk-icon-source: -gtk-icontheme("object-select-symbolic");
  background-color: @accent_bg_color;
  color: @accent_fg_color;
}



================================================
FILE: data/stylesheets/elementary-dark.css
================================================
@import "elementary.css";


/*
 * Override background colors for overlay split view
 */

overlay-split-view widget:not(.sidebar-pane) > toolbarview,
overlay-split-view widget:not(.sidebar-pane) > toolbarview searchbar,
overlay-split-view widget:not(.sidebar-pane) > toolbarview listview {
  background-color: @insensitive_bg_color;
}

overlay-split-view widget.sidebar-pane {
  background-color: @base_color;
}


/*
 * Override background color for network list refresh button
 */

#overlay-refresh-button {
  background-color: alpha(@BLACK_300, 0.5);
}


/*
 * Override background colors for network nodes
 */

#network-list > scrolledwindow > listview > row .network-node-unapproved {
  background: @STRAWBERRY_300;
}

#network-list > scrolledwindow > listview > row .network-node-error {
  background: @BANANA_300;
}

#network-list > scrolledwindow > listview > row .network-node-offline {
  background: alpha(@SILVER_300, 0.6);
}



================================================
FILE: data/stylesheets/elementary.css
================================================
@import "base.css";

@define-color accent_color #f44;


/*
 * Fix background glitch for window controls in dark mode when window is unfocused
 * https://github.com/elementary/stylesheet/issues/1311
 */

windowcontrols button {
  background: none;
}


/*
 * Decrease margins on main window controls
 */

#main-window windowcontrols.start:dir(ltr) {
  margin-right: 0;
}
#main-window windowcontrols.start:dir(rtl) {
  margin-left: 0;
}

#main-window windowcontrols.end:dir(ltr) {
  margin-left: 9px;
}
#main-window windowcontrols.end:dir(rtl) {
  margin-right: 9px;
}


/*
 * Give shortcuts window a flat appearance
 */

window.shortcuts headerbar,
window.shortcuts searchbar {
  background: none;
  box-shadow: none;
}

window.shortcuts shortcut .keycap {
  background: alpha(black, 0.08);
  border: none;
  box-shadow: 0 1px 0 0 alpha(black, 0.15);
  color: alpha(@fg_color, 0.78);
}


/*
 * Add missing styles for pill buttons
 * https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/style-classes.html#pill
 */

button.pill {
  border-radius: 9999px;
  padding: 8px 20px;
}


/*
 * Add missing styles for tabular numerals
 * https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/style-classes.html#typography-styles
 */

.numeric {
  font-feature-settings: "tnum";
}


/*
 * Add missing styles for statuspage titles
 */

statuspage .title {
  font-size: 18pt;
  font-weight: 700;
  letter-spacing: -0.04em;
}


/*
 * Fix styles for alert dialogs
 */

dialog.alert .message-area,
dialog.alert .response-area {
  padding: 12px;
}

dialog.alert .message-area .heading-bin > label {
  font-size: 1.22em;
  font-weight: 500;
  letter-spacing: initial;
  margin: 0;
  opacity: 1;
  padding: 3px 3px 12px;
}


/*
 * Fix foreground color for dragged rows in light mode
 * https://github.com/elementary/stylesheet/issues/1314
 */

list.boxed-list > row {
  color: @fg_color;
}


/*
 * Fix edit icon appearing only on hover
 * https://github.com/elementary/stylesheet/issues/1313
 */

list.boxed-list > row.entry .edit-icon {
  opacity: 1;
}


/*
 * Add missing styles for property rows
 * https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/style-classes.html#property-rows
 */

row.property label.title {
  font-size: 0.85em;
  opacity: 0.75;
}

row.property label.subtitle {
  font-size: 1em;
  opacity: 1;
}


/*
 * Add missing styles for overlay split view
 * https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.OverlaySplitView.html
 */

overlay-split-view widget:not(.sidebar-pane) > toolbarview,
overlay-split-view widget:not(.sidebar-pane) > toolbarview searchbar,
overlay-split-view widget:not(.sidebar-pane) > toolbarview listview {
  background-color: @base_color;
}

overlay-split-view widget.sidebar-pane {
  background-color: @insensitive_bg_color;
}
overlay-split-view widget.sidebar-pane:dir(ltr) {
  border-left: 1px solid @menu_separator;
  border-right: none;
}
overlay-split-view widget.sidebar-pane:dir(rtl) {
  border-left: none;
  border-right: 1px solid @menu_separator;
}


/*
 * Remove background and add some extra padding for sidebar rows
 */

overlay-split-view .rich-list {
  background: none;
}

overlay-split-view .rich-list row {
  padding: 6px 12px;
}


/*
 * Use regular icon style for sidebar row buttons
 */

overlay-split-view .rich-list row button {
  -gtk-icon-style: regular;
}


/*
 * Modify the color of the lock icon depending on its state
 */

overlay-split-view .rich-list row button.success image {
  filter: hue-rotate(40deg) saturate(2);
}

overlay-split-view .rich-list row button.warning image {
  filter: hue-rotate(20deg) saturate(5);
}

overlay-split-view .rich-list row button.error image {
  filter: hue-rotate(-50deg) saturate(3);
}


/*
 * Set styles for connection button in title bar
 */

#connect-button,
#disconnect-button {
  border: 1px solid alpha(#000, 0.2);
  border-radius: 50%;
  box-shadow: 0 1px 0 0 alpha(#fff, 0.25),
              inset 0 1px 0 0 alpha(#fff, 0.25);
}

#connect-button:not(:disabled) {
  background-color: @selected_bg_color;
}

#disconnect-button {
  background-color: @accent_color;
}

#disconnect-button:backdrop {
  background-color: alpha(@accent_color, 0.9);
}

#disconnect-button image {
  color: shade(@accent_color, 0.5);
  -gtk-icon-shadow: 0 1px shade(@accent_color, 1.2);
}

#connect-button:focus,
#disconnect-button:focus {
  outline-color: alpha(@accent_color, 0.3);
  outline-width: 2px;
  outline-style: solid;
}


/*
 * Set styles for network list overlay buttons
 */

#overlay-refresh-button {
  background-color: alpha(@SILVER_300, 0.5);
}

#add-network-button button {
  padding: 8px;
}


/*
 * Set padding for rows in network list
 */

#network-list > scrolledwindow > listview > row {
  padding: 6px;
}


/*
 * Increase font weight for network labels
 */

#network-list > scrolledwindow > listview > row .network-label {
  font-weight: 600;
}


/*
 * Set styles for network nodes
 */

#network-list > scrolledwindow > listview > row .network-node {
  border-radius: 50%;
}
#network-list > scrolledwindow > listview > row .network-node:dir(ltr) {
  margin-left: 6px;
}
#network-list > scrolledwindow > listview > row .network-node:dir(rtl) {
  margin-right: 6px;
}

#network-list > scrolledwindow > listview > row .network-node-online {
  background: @LIME_300;
}

#network-list > scrolledwindow > listview > row .network-node-online-relayed {
  background: @BLUEBERRY_300;
}

#network-list > scrolledwindow > listview > row .network-node-unreachable {
  background: @ORANGE_300;
}

#network-list > scrolledwindow > listview > row .network-node-unapproved {
  background: @STRAWBERRY_300;
}

#network-list > scrolledwindow > listview > row .network-node-error {
  background: @BANANA_500;
}

#network-list > scrolledwindow > listview > row .network-node-offline {
  background: alpha(@SILVER_500, 0.6);
}


/*
 * Remove padding on empty bottom action bar
 */

#preferences viewswitcherbar actionbar {
  padding: 0;
}


/*
 * Remove background of restore button in disabled state
 */

#restore-commands-button:disabled {
  background: none;
  box-shadow: none;
}


/*
 * Add styling for command variables popover
 */

menubutton.command-variables popover contents {
  padding: 2px 8px 8px;
}

menubutton.command-variables popover contents button label {
  font-weight: 400;
}

menubutton.command-variables popover contents button label.caption {
  font-size: 0.85em;
}


/*
 * Override some properties for style selector
 */

styleselector {
  margin: 0;
}

styleselector checkbutton:checked {
  box-shadow: inset 0 0 0 2px @accent_color;
}

styleselector checkbutton.system {
  background-image: linear-gradient(to bottom right, @SILVER_100 49.99%, @BLACK_500 50.01%);
}

styleselector checkbutton.light {
  background-color: @SILVER_100;
}

styleselector checkbutton.dark {
  background-color: @BLACK_500;
}

styleselector checkbutton radio:checked {
  background-color: @accent_color;
  color: @SILVER_100;
}



================================================
FILE: data/stylesheets/style-dark.css
================================================
#network-list > scrolledwindow > listview > row .network-node-online {
  background: @green_2;
}

#network-list > scrolledwindow > listview > row .network-node-online-relayed {
  background: @blue_2;
}

#network-list > scrolledwindow > listview > row .network-node-unreachable {
  background: @red_1;
}

#network-list > scrolledwindow > listview > row .network-node-unapproved {
  background: @purple_1;
}

#network-list > scrolledwindow > listview > row .network-node-error {
  background: @yellow_2;
}

#network-list > scrolledwindow > listview > row .network-node-offline {
  background: @dark_1;
}



================================================
FILE: data/stylesheets/style-hc.css
================================================
#network-list > scrolledwindow > listview > row.activatable:hover {
  box-shadow: inset 0 0 0 1px @borders;
}

#network-list > scrolledwindow > listview > row:selected {
  box-shadow: inset 0 0 0 1px alpha(@accent_color, .6);
}


#add-command-button {
  box-shadow: none;
}



================================================
FILE: data/stylesheets/style.css
================================================
@import "base.css";

window.custom .suggested-action {
  color: @dark_4;
  background: linear-gradient(to bottom, #006EFF 49.99%, #FFD500 50.01%);
}


#add-network-button button {
  padding: 3px;
}


#network-list > scrolledwindow > listview > row {
  border-radius: 6px;
  margin: 0 6px 2px;
  padding: 6px;
}
window.adw-1-7 #network-list > scrolledwindow > listview > row {
  border-radius: 9px;
}

#network-list > scrolledwindow > listview > row:last-child {
  margin-bottom: 6px;
}


#network-list > scrolledwindow > listview > row .network-node {
  border-radius: 50%;
}

#network-list > scrolledwindow > listview > row .network-node-online {
  background: @green_5;
}

#network-list > scrolledwindow > listview > row .network-node-online-relayed {
  background: @blue_3;
}

#network-list > scrolledwindow > listview > row .network-node-unreachable {
  background: @red_1;
}

#network-list > scrolledwindow > listview > row .network-node-unapproved {
  background: @purple_3;
}

#network-list > scrolledwindow > listview > row .network-node-error {
  background: @yellow_5;
}

#network-list > scrolledwindow > listview > row .network-node-offline {
  background: @light_5;
}


menubutton.command-variables popover contents label.title-4 {
  margin: 9px;
}



================================================
FILE: data/ui/dialogs/add-edit-command.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiAddEditCommandDialog" parent="AdwDialog">
    <property name="content-width">440</property>
    <property name="default-widget">save_button</property>
    <property name="focus-widget">label_entry</property>
    <child>
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="AdwClamp">
            <child>
              <object class="GtkBox">
                <property name="margin-start">12</property>
                <property name="margin-end">12</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkListBox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">3</property>
                    <property name="hexpand">true</property>
                    <property name="valign">start</property>
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <child>
                      <object class="AdwEntryRow" id="label_entry">
                        <property name="title" translatable="yes">Label</property>
                        <property name="activates-default">true</property>
                        <signal name="changed" handler="set_state"/>
                      </object>
                    </child>
                    <child>
                      <object class="HaguichiCommandEntryRow" id="command_ipv4_entry">
                        <property name="title" translatable="yes">IPv4 Command</property>
                        <property name="activates-default">true</property>
                        <signal name="changed" handler="set_state"/>
                      </object>
                    </child>
                    <child>
                      <object class="HaguichiCommandEntryRow" id="command_ipv6_entry">
                        <property name="title" translatable="yes">IPv6 Command</property>
                        <property name="activates-default">true</property>
                        <signal name="changed" handler="set_state"/>
                      </object>
                    </child>
                    <child>
                      <object class="AdwActionRow" id="priority">
                        <property name="title" translatable="yes">Priority</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="save_button">
                    <property name="label" translatable="yes">_Save</property>
                    <property name="use-underline">true</property>
                    <property name="halign">center</property>
                    <property name="margin-top">15</property>
                    <property name="margin-bottom">18</property>
                    <signal name="clicked" handler="save_command"/>
                    <style>
                      <class name="pill"/>
                      <class name="suggested-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkShortcutController">
        <property name="scope">managed</property>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">Escape</property>
            <property name="action">action(window.close)</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/dialogs/attach.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiAttachDialog" parent="AdwDialog">
    <property name="content-width">400</property>
    <property name="default-widget">attach_button</property>
    <property name="focus-widget">account_entry</property>
    <property name="title" translatable="yes">Attach to Account</property>
    <child>
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="AdwClamp">
            <child>
              <object class="GtkBox">
                <property name="margin-start">12</property>
                <property name="margin-end">12</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkListBox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">3</property>
                    <property name="hexpand">true</property>
                    <property name="valign">start</property>
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <child>
                      <object class="AdwEntryRow" id="account_entry">
                        <property name="title" translatable="yes">Account</property>
                        <property name="activates-default">true</property>
                        <signal name="changed" handler="entry_changed"/>
                      </object>
                    </child>
                    <child>
                      <object class="AdwSwitchRow" id="include_networks_switch">
                        <property name="title" translatable="yes">Include all networks created by this client</property>
                        <property name="active">true</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkRevealer" id="revealer">
                    <child>
                      <object class="GtkLabel" id="message_label">
                        <property name="halign">fill</property>
                        <property name="margin-top">9</property>
                        <property name="wrap">true</property>
                        <property name="xalign">0</property>
                        <style>
                          <class name="error"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="attach_button">
                    <property name="label" translatable="yes">_Attach</property>
                    <property name="use-underline">true</property>
                    <property name="halign">center</property>
                    <property name="margin-top">15</property>
                    <property name="margin-bottom">18</property>
                    <property name="sensitive">false</property>
                    <signal name="clicked" handler="attach"/>
                    <style>
                      <class name="pill"/>
                      <class name="suggested-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkShortcutController">
        <property name="scope">managed</property>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">Escape</property>
            <property name="action">action(window.close)</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/dialogs/change-access.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiChangeAccessDialog" parent="AdwDialog">
    <property name="content-width">400</property>
    <property name="default-widget">change_button</property>
    <property name="focus-widget">locked</property>
    <property name="title" translatable="yes">Change Access</property>
    <child>
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="AdwClamp">
            <child>
              <object class="GtkBox">
                <property name="margin-start">12</property>
                <property name="margin-end">12</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkListBox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">3</property>
                    <property name="hexpand">true</property>
                    <property name="valign">start</property>
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <child>
                      <object class="AdwSwitchRow" id="locked">
                        <property name="title" translatable="yes">Locked</property>
                        <property name="subtitle" translatable="yes">Do not accept new network members</property>
                        <signal name="notify::active" handler="lock_changed"/>
                      </object>
                    </child>
                    <child>
                      <object class="AdwComboRow" id="approval">
                        <property name="title" translatable="yes">Approval</property>
                        <property name="model">
                          <object class="GtkStringList">
                            <items>
                              <item translatable="yes">Automatically</item>
                              <item translatable="yes">Manually</item>
                            </items>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="change_button">
                    <property name="label" translatable="yes">C_hange</property>
                    <property name="use-underline">true</property>
                    <property name="halign">center</property>
                    <property name="margin-top">15</property>
                    <property name="margin-bottom">18</property>
                    <signal name="clicked" handler="change_access"/>
                    <style>
                      <class name="pill"/>
                      <class name="suggested-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkShortcutController">
        <property name="scope">managed</property>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">Escape</property>
            <property name="action">action(window.close)</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/dialogs/change-password.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiChangePasswordDialog" parent="AdwDialog">
    <property name="content-width">400</property>
    <property name="default-widget">change_button</property>
    <property name="focus-widget">password_entry</property>
    <property name="title" translatable="yes">Change Password</property>
    <child>
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="AdwClamp">
            <child>
              <object class="GtkBox">
                <property name="margin-start">12</property>
                <property name="margin-end">12</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkListBox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">3</property>
                    <property name="hexpand">true</property>
                    <property name="valign">start</property>
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <child>
                      <object class="AdwPasswordEntryRow" id="password_entry">
                        <property name="title" translatable="yes">New Password</property>
                        <property name="activates-default">true</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="change_button">
                    <property name="label" translatable="yes">C_hange</property>
                    <property name="use-underline">true</property>
                    <property name="halign">center</property>
                    <property name="margin-top">15</property>
                    <property name="margin-bottom">18</property>
                    <signal name="clicked" handler="change_password"/>
                    <style>
                      <class name="pill"/>
                      <class name="suggested-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkShortcutController">
        <property name="scope">managed</property>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">Escape</property>
            <property name="action">action(window.close)</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/dialogs/join-create-network.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiJoinCreateNetworkDialog" parent="AdwDialog">
    <property name="content-width">400</property>
    <property name="default-widget">add_button</property>
    <property name="focus-widget">id_entry</property>
    <child>
      <object class="AdwToolbarView">
        <child type="top">
          <object class="AdwHeaderBar"/>
        </child>
        <property name="content">
          <object class="AdwClamp">
            <child>
              <object class="GtkBox">
                <property name="margin-start">12</property>
                <property name="margin-end">12</property>
                <property name="orientation">vertical</property>
                <child>
                  <object class="GtkListBox">
                    <property name="margin-top">6</property>
                    <property name="margin-bottom">3</property>
                    <property name="hexpand">true</property>
                    <property name="valign">start</property>
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <child>
                      <object class="AdwEntryRow" id="id_entry">
                        <property name="title" translatable="yes">Network ID</property>
                        <property name="activates-default">true</property>
                        <signal name="changed" handler="entry_changed"/>
                      </object>
                    </child>
                    <child>
                      <object class="AdwPasswordEntryRow" id="password_entry">
                        <property name="title" translatable="yes">Password</property>
                        <property name="activates-default">true</property>
                        <signal name="changed" handler="entry_changed"/>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkRevealer" id="revealer">
                    <child>
                      <object class="GtkLabel" id="message_label">
                        <property name="halign">fill</property>
                        <property name="margin-top">9</property>
                        <property name="wrap">true</property>
                        <property name="xalign">0</property>
                        <style>
                          <class name="error"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="add_button">
                    <property name="use-underline">true</property>
                    <property name="halign">center</property>
                    <property name="margin-top">15</property>
                    <property name="margin-bottom">18</property>
                    <property name="sensitive">false</property>
                    <signal name="clicked" handler="add_network"/>
                    <style>
                      <class name="pill"/>
                      <class name="suggested-action"/>
                    </style>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
      </object>
    </child>
    <child>
      <object class="GtkShortcutController">
        <property name="scope">managed</property>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">Escape</property>
            <property name="action">action(window.close)</property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/menus/member-menu.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkPopoverMenu" id="popover_menu">
    <property name="halign">start</property>
    <property name="has-arrow">false</property>
    <property name="menu-model">menu_model</property>
    <menu id="menu_model">
      <section>
        <item>
          <attribute name="label" translatable="yes">_Approve</attribute>
          <attribute name="action">member.approve</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Reject</attribute>
          <attribute name="action">member.reject</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">Copy IPv_4 Address</attribute>
          <attribute name="action">member.copy-ipv4</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Copy IPv_6 Address</attribute>
          <attribute name="action">member.copy-ipv6</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Copy Client ID</attribute>
          <attribute name="action">member.copy-id</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes" comments="This action removes the selected member from the network.">_Evict</attribute>
          <attribute name="action">member.evict</attribute>
          <attribute name="accel">Delete</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Details</attribute>
          <attribute name="action">member.details</attribute>
          <attribute name="accel">F9</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
      </section>
    </menu>
  </object>
</interface>


================================================
FILE: data/ui/menus/network-list-menu.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkPopoverMenu" id="popover_menu">
    <property name="halign">start</property>
    <property name="has-arrow">false</property>
    <property name="menu-model">menu_model</property>
    <menu id="menu_model">
      <section>
        <item>
          <attribute name="label" translatable="yes">_Join Network…</attribute>
          <attribute name="action">win.join-network</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Create Network…</attribute>
          <attribute name="action">win.create-network</attribute>
        </item>
      </section>
    </menu>
  </object>
</interface>


================================================
FILE: data/ui/menus/network-menu.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkPopoverMenu" id="popover_menu">
    <property name="halign">start</property>
    <property name="has-arrow">false</property>
    <property name="menu-model">menu_model</property>
    <menu id="menu_model">
      <section>
        <item>
          <attribute name="label" translatable="yes">_Go Online</attribute>
          <attribute name="action">network.go-online</attribute>
          <attribute name="accel">Return</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Go Offline</attribute>
          <attribute name="action">network.go-offline</attribute>
          <attribute name="accel">Return</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Leave</attribute>
          <attribute name="action">network.leave</attribute>
          <attribute name="accel">Delete</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Delete</attribute>
          <attribute name="action">network.delete</attribute>
          <attribute name="accel">Delete</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">Change _Access…</attribute>
          <attribute name="action">network.change-access</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Change _Password…</attribute>
          <attribute name="action">network.change-password</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Copy Network ID</attribute>
          <attribute name="action">network.copy-id</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Details</attribute>
          <attribute name="action">network.details</attribute>
          <attribute name="accel">F9</attribute>
          <attribute name="hidden-when">action-disabled</attribute>
        </item>
      </section>
    </menu>
  </object>
</interface>


================================================
FILE: data/ui/network-list.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiNetworkList" parent="AdwBin">
    <property name="name">network-list</property>
    <child>
      <object class="GtkScrolledWindow" id="scrolled_window">
        <child>
          <object class="GtkListView" id="list_view">
            <property name="tab-behavior">item</property>
            <property name="factory">
              <object class="GtkBuilderListItemFactory">
                <property name="resource">/com/github/ztefn/haguichi/ui/widgets/network-list-item.ui</property>
              </object>
            </property>
            <child>
              <object class="GtkShortcutController">
                <child>
                  <object class="GtkShortcut">
                    <property name="trigger">Menu</property>
                    <property name="action">action(row.context-menu)</property>
                  </object>
                </child>
                <child>
                  <object class="GtkShortcut">
                    <property name="trigger">&lt;Shift&gt;F10</property>
                    <property name="action">action(row.context-menu)</property>
                  </object>
                </child>
                <child>
                  <object class="GtkShortcut">
                    <property name="trigger">Right</property>
                    <property name="action">action(row.expand)</property>
                  </object>
                </child>
                <child>
                  <object class="GtkShortcut">
                    <property name="trigger">Left</property>
                    <property name="action">action(row.collapse)</property>
                  </object>
                </child>
                <child>
                  <object class="GtkShortcut">
                    <property name="trigger">Delete</property>
                    <property name="action">action(row.delete)</property>
                  </object>
                </child>
              </object>
            </child>
            <signal name="activate" handler="on_activate"/>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/preferences.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiPreferences" parent="AdwPreferencesDialog">
    <property name="name">preferences</property>
    <child>
      <object class="AdwPreferencesPage" id="general_page">
        <property name="title" translatable="yes">General</property>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="no">Hamachi</property>
            <child>
              <object class="AdwActionRow" id="configuration">
                <property name="title" translatable="yes">Configuration</property>
                <property name="subtitle-selectable">true</property>
                <property name="use-underline">true</property>
                <child>
                  <object class="GtkMenuButton">
                    <property name="valign">center</property>
                    <property name="icon-name">document-save-symbolic</property>
                    <property name="tooltip-text" translatable="yes">Backup</property>
                    <property name="menu-model">backup_menu</property>
                    <style>
                      <class name="flat"/>
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkButton">
                    <property name="action-name">config.open</property>
                    <property name="icon-name">folder-open-symbolic</property>
                    <property name="tooltip-text" translatable="yes">Open Folder</property>
                    <property name="valign">center</property>
                    <style>
                      <class name="flat"/>
                    </style>
                  </object>
                </child>
                <style>
                  <class name="property"/>
                </style>
              </object>
            </child>
            <child>
              <object class="AdwEntryRow" id="nickname">
                <property name="title" translatable="yes">Nickname</property>
                <property name="use-underline">true</property>
                <property name="show-apply-button">true</property>
              </object>
            </child>
            <child>
              <object class="AdwComboRow" id="protocol">
                <property name="title" translatable="yes">_Protocol</property>
                <property name="use-underline">true</property>
                <property name="model">
                  <object class="GtkStringList">
                    <items>
                      <item translatable="yes">Both IPv4 and IPv6</item>
                      <item translatable="yes">IPv4 only</item>
                      <item translatable="yes">IPv6 only</item>
                    </items>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes">Behavior</property>
            <child>
              <object class="AdwComboRow" id="update_interval">
                <property name="title" translatable="yes">_Network list update interval</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="connect_on_startup">
                <property name="title" translatable="yes">_Connect automatically on startup</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="reconnect_on_connection_loss">
                <property name="title" translatable="yes">_Reconnect automatically when the connection is lost</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="disconnect_on_quit">
                <property name="title" translatable="yes">_Disconnect on quit</property>
                <property name="use-underline">true</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwPreferencesPage" id="commands_page">
        <property name="title" translatable="yes">Commands</property>
        <child>
          <object class="HaguichiCommandsEditor" id="commands_editor"/>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwPreferencesPage" id="desktop_page">
        <property name="title" translatable="yes" comments="In this context meaning &quot;work environment&quot;.">Desktop</property>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes">Appearance</property>
            <child>
              <object class="AdwActionRow">
                <property name="title" translatable="yes">_Style</property>
                <property name="use-underline">true</property>
                <child>
                  <object class="GtkBox">
                    <property name="css-name">styleselector</property>
                    <property name="orientation">horizontal</property>
                    <property name="halign">end</property>
                    <property name="valign">center</property>
                    <property name="spacing">12</property>
                    <child>
                      <object class="GtkCheckButton" id="system">
                        <style>
                          <class name="system"/>
                        </style>
                        <property name="hexpand">true</property>
                        <property name="halign">center</property>
                        <property name="tooltip-text" translatable="yes">Follow System</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="light">
                        <style>
                          <class name="light"/>
                        </style>
                        <property name="hexpand">true</property>
                        <property name="halign">center</property>
                        <property name="group">system</property>
                        <property name="tooltip-text" translatable="yes">Light</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="dark">
                        <style>
                          <class name="dark"/>
                        </style>
                        <property name="hexpand">true</property>
                        <property name="halign">center</property>
                        <property name="group">system</property>
                        <property name="tooltip-text" translatable="yes">Dark</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="show_indicator">
                <property name="title" translatable="yes">Show _indicator</property>
                <property name="use-underline">true</property>
                <property name="visible">false</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="title" translatable="yes">Notifications</property>
            <child>
              <object class="AdwSwitchRow" id="notify_on_connection_loss">
                <property name="title" translatable="yes">Display notification when the connection is l_ost</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="notify_on_member_join">
                <property name="title" translatable="yes">Display notification when a member _joins</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="notify_on_member_leave">
                <property name="title" translatable="yes">Display notification when a member _leaves</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="notify_on_member_online">
                <property name="title" translatable="yes">Display notification when a member comes o_nline</property>
                <property name="use-underline">true</property>
              </object>
            </child>
            <child>
              <object class="AdwSwitchRow" id="notify_on_member_offline">
                <property name="title" translatable="yes">Display notification when a member goes o_ffline</property>
                <property name="use-underline">true</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <menu id="backup_menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Save a Backup…</attribute>
        <attribute name="action">config.save</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Restore from Backup…</attribute>
        <attribute name="action">config.restore</attribute>
      </item>
    </section>
  </menu>
</interface>


================================================
FILE: data/ui/shortcuts-dialog.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="AdwShortcutsDialog" id="shortcuts">
    <child>
      <object class="AdwShortcutsSection">
        <property name="title" translatable="yes">General</property>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">F1</property>
            <property name="title" translatable="yes">Show help</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">F2</property>
            <property name="title" translatable="yes">Show client information</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">F10</property>
            <property name="title" translatable="yes">Open menu</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;comma</property>
            <property name="title" translatable="yes">Preferences</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;question</property>
            <property name="title" translatable="yes">Keyboard shortcuts</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;Q</property>
            <property name="title" translatable="yes">Quit</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwShortcutsSection">
        <property name="title" translatable="yes">Connection</property>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;O</property>
            <property name="title" translatable="yes">Connect</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;D</property>
            <property name="title" translatable="yes">Disconnect</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwShortcutsSection">
        <property name="title" translatable="yes">Network List</property>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;J</property>
            <property name="title" translatable="yes">Join a network</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;N</property>
            <property name="title" translatable="yes">Create a network</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">F5 &lt;Primary&gt;R</property>
            <property name="title" translatable="yes">Refresh</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;F</property>
            <property name="title" translatable="yes">Search</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;M</property>
            <property name="title" translatable="yes">Show/hide offline members</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;bracketleft</property>
            <property name="title" translatable="yes">Expand all networks</property>
          </object>
        </child>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;bracketright</property>
            <property name="title" translatable="yes">Collapse all networks</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwShortcutsSection">
        <property name="title" translatable="yes">Commands</property>
        <child>
          <object class="AdwShortcutsItem">
            <property name="accelerator">&lt;Primary&gt;1...9</property>
            <property name="title" translatable="yes">Execute command</property>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>


================================================
FILE: data/ui/shortcuts-window.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <object class="GtkShortcutsWindow" id="shortcuts">
    <property name="modal">true</property>
    <child>
      <object class="GtkShortcutsSection">
        <property name="section-name">shortcuts</property>
        <child>
          <object class="GtkShortcutsGroup">
            <property name="title" translatable="yes">General</property>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">F1</property>
                <property name="title" translatable="yes">Show help</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">F2</property>
                <property name="title" translatable="yes">Show client information</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">F10</property>
                <property name="title" translatable="yes">Open menu</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;O</property>
                <property name="title" translatable="yes">Connect</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;D</property>
                <property name="title" translatable="yes">Disconnect</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;comma</property>
                <property name="title" translatable="yes">Preferences</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;question</property>
                <property name="title" translatable="yes">Keyboard shortcuts</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;Q</property>
                <property name="title" translatable="yes">Quit</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkShortcutsGroup">
            <property name="title" translatable="yes">Network List</property>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;J</property>
                <property name="title" translatable="yes">Join a network</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;N</property>
                <property name="title" translatable="yes">Create a network</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;R F5</property>
                <property name="title" translatable="yes">Refresh</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;F</property>
                <property name="title" translatable="yes">Search</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;M</property>
                <property name="title" translatable="yes">Show/hide offline members</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;bracketleft</property>
                <property name="title" translatable="yes">Expand all networks</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;bracketright</property>
                <property name="title" translatable="yes">Collapse all networks</property>
              </object>
            </child>
            <child>
              <object class="GtkShortcutsShortcut">
                <property name="accelerator">&lt;Primary&gt;1...9</property>
                <property name="title" translatable="yes">Execute command</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>


================================================
FILE: data/ui/sidebar.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiSidebar" parent="AdwBin">
    <child>
      <object class="GtkScrolledWindow" id="scrolled_window">
        <property name="vadjustment">
          <object class="GtkAdjustment">
            <signal name="value_changed" handler="set_reveal_sidebar_title"/>
          </object>
        </property>
        <child>
          <object class="GtkStack" id="stack">
            <property name="hhomogeneous">false</property>
            <property name="vhomogeneous">false</property>
            <child>
              <object class="GtkStackPage">
                <property name="name">Information</property>
                <property name="child">
                  <object class="HaguichiSidebarPage">
                    <property name="heading" translatable="yes">Information</property>
                    <property name="heading-selectable">false</property>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="account_row">
                        <property name="title" translatable="yes">Account</property>
                        <property name="show-copy">false</property>
                        <child>
                          <object class="GtkButton" id="attach_button">
                            <property name="action-name">win.attach</property>
                            <property name="icon-name">mail-attachment-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Attach</property>
                            <property name="valign">center</property>
                            <property name="visible">false</property>
                            <style>
                              <class name="flat"/>
                            </style>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="cancel_button">
                            <property name="action-name">win.attach-cancel</property>
                            <property name="icon-name">action-unavailable-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Cancel</property>
                            <property name="valign">center</property>
                            <property name="visible">false</property>
                            <style>
                              <class name="flat"/>
                            </style>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="client_id_row">
                        <property name="title" translatable="yes">Client ID</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="client_ipv4_row">
                        <property name="title" translatable="yes">IPv4 Address</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="client_ipv6_row">
                        <property name="title" translatable="yes">IPv6 Address</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="hamachi_row">
                        <property name="title" translatable="yes">Hamachi Version</property>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">Network</property>
                <property name="child">
                  <object class="HaguichiSidebarPage" id="network_page">
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="network_status_row">
                        <property name="title" translatable="yes">Status</property>
                        <property name="show-copy">false</property>
                        <child>
                          <object class="GtkButton" id="network_leave_button">
                            <property name="icon-name">application-exit-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Leave Network</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="on_network_leave"/>
                            <style>
                              <class name="flat"/>
                            </style>
                          </object>
                        </child>
                        <child>
                          <object class="GtkButton" id="network_delete_button">
                            <property name="icon-name">user-trash-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Delete Network</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="on_network_delete"/>
                            <style>
                              <class name="flat"/>
                            </style>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="network_id_row">
                        <property name="title" translatable="yes">Network ID</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="network_owner_row">
                        <property name="title" translatable="yes">Owner</property>
                        <child>
                          <object class="GtkButton" id="network_password_button">
                            <property name="icon-name">dialog-password-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Change Password</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="on_network_change_password"/>
                            <style>
                              <class name="flat"/>
                            </style>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="network_members_row">
                        <property name="title" translatable="yes">Members</property>
                        <property name="show-copy">false</property>
                        <child>
                          <object class="GtkButton" id="network_access_button">
                            <property name="tooltip-text" translatable="yes">Change Access</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="on_network_change_access"/>
                            <style>
                              <class name="flat"/>
                            </style>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="network_capacity_row">
                        <property name="title" translatable="yes">Capacity</property>
                        <property name="show-copy">false</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="network_go_online_button">
                        <property name="label" translatable="yes">_Go Online</property>
                        <property name="use-underline">true</property>
                        <property name="can-shrink">true</property>
                        <property name="halign">center</property>
                        <signal name="clicked" handler="on_network_go_online"/>
                        <style>
                          <class name="pill"/>
                          <class name="suggested-action"/>
                        </style>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="network_go_offline_button">
                        <property name="label" translatable="yes">_Go Offline</property>
                        <property name="use-underline">true</property>
                        <property name="can-shrink">true</property>
                        <property name="halign">center</property>
                        <signal name="clicked" handler="on_network_go_offline"/>
                        <style>
                          <class name="pill"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">Member</property>
                <property name="child">
                  <object class="HaguichiSidebarPage" id="member_page">
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="member_status_row">
                        <property name="title" translatable="yes">Status</property>
                        <property name="show-copy">false</property>
                        <child>
                          <object class="GtkMenuButton" id="member_command_menubutton">
                            <property name="icon-name">computer-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Commands</property>
                            <property name="valign">center</property>
                            <style>
                              <class name="flat"/>
                            </style>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="member_id_row">
                        <property name="title" translatable="yes">Client ID</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="member_ipv4_row">
                        <property name="title" translatable="yes">IPv4 Address</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="member_ipv6_row">
                        <property name="title" translatable="yes">IPv6 Address</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="member_tunnel_row">
                        <property name="title" translatable="yes">Tunnel</property>
                      </object>
                    </child>
                    <child type="row">
                      <object class="HaguichiSidebarRow" id="member_connection_row">
                        <property name="title" translatable="yes">Connection</property>
                        <property name="show-copy">false</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="member_approve_button">
                        <property name="label" translatable="yes">_Approve</property>
                        <property name="use-underline">true</property>
                        <property name="can-shrink">true</property>
                        <property name="halign">center</property>
                        <signal name="clicked" handler="on_member_approve"/>
                        <style>
                          <class name="success"/>
                          <class name="pill"/>
                        </style>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="member_reject_button">
                        <property name="label" translatable="yes">_Reject</property>
                        <property name="use-underline">true</property>
                        <property name="can-shrink">true</property>
                        <property name="halign">center</property>
                        <signal name="clicked" handler="on_member_reject"/>
                        <style>
                          <class name="error"/>
                          <class name="pill"/>
                        </style>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="member_evict_button">
                        <property name="label" translatable="yes">_Evict</property>
                        <property name="use-underline">true</property>
                        <property name="can-shrink">true</property>
                        <property name="halign">center</property>
                        <signal name="clicked" handler="on_member_evict"/>
                        <style>
                          <class name="error"/>
                          <class name="pill"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/widgets/command-entry-row.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiCommandEntryRow" parent="AdwEntryRow">
    <child type="suffix">
      <object class="GtkMenuButton" id="menu_button">
        <property name="icon-name">insert-text-symbolic</property>
        <property name="tooltip-text" translatable="yes">Command Variables</property>
        <property name="valign">center</property>
        <property name="popover">
          <object class="GtkPopover">
            <child>
              <object class="GtkGrid">
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">Command Variables</property>
                    <property name="halign">center</property>
                    <layout>
                      <property name="column">0</property>
                      <property name="column-span">2</property>
                      <property name="row">0</property>
                    </layout>
                    <style>
                      <class name="title-4"/>
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <layout>
                      <property name="column">0</property>
                      <property name="row">1</property>
                    </layout>
                    <child>
                      <object class="HaguichiCommandVariableButton" id="address_var">
                        <property name="title" translatable="yes">Address</property>
                        <property name="variable">%A</property>
                      </object>
                    </child>
                    <child>
                      <object class="HaguichiCommandVariableButton" id="nickname_var">
                        <property name="title" translatable="yes">Nickname</property>
                        <property name="variable">%N</property>
                      </object>
                    </child>
                    <child>
                      <object class="HaguichiCommandVariableButton" id="client_id_var">
                        <property name="title" translatable="yes">Client ID</property>
                        <property name="variable">%ID</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <layout>
                      <property name="column">1</property>
                      <property name="row">1</property>
                    </layout>
                    <child>
                      <object class="HaguichiCommandVariableButton" id="terminal_var">
                        <property name="title" translatable="yes">Terminal Emulator</property>
                        <property name="variable">%TERMINAL</property>
                      </object>
                    </child>
                    <child>
                      <object class="HaguichiCommandVariableButton" id="file_manager_var">
                        <property name="title" translatable="yes">File Manager</property>
                        <property name="variable">%FILEMANAGER</property>
                      </object>
                    </child>
                    <child>
                      <object class="HaguichiCommandVariableButton" id="remote_desktop_var">
                        <property name="title" translatable="yes">Remote Desktop Viewer</property>
                        <property name="variable">%REMOTEDESKTOP</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </property>
        <style>
          <class name="command-variables"/>
          <class name="flat"/>
        </style>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/widgets/command-variable-button.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiCommandVariableButton" parent="GtkButton">
    <signal name="clicked" handler="on_insert_value"/>
    <accessibility>
      <relation name="labelled-by">title_label</relation>
      <relation name="described-by">variable_label</relation>
    </accessibility>
    <style>
      <class name="flat"/>
    </style>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="title_label">
            <property name="halign">start</property>
            <style>
              <class name="dim-label"/>
              <class name="caption"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="variable_label">
            <property name="halign">start</property>
            <style>
              <class name="body"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/widgets/commands-editor-row.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiCommandsEditorRow" parent="AdwActionRow">
    <property name="title-lines">1</property>
    <property name="subtitle-lines">1</property>
    <property name="use-markup">false</property>
    <property name="use-underline">true</property>
    <property name="activatable">true</property>
    <child type="prefix">
      <object class="GtkImage" id="drag_handle">
        <style>
          <class name="dim-label"/>
        </style>
      </object>
    </child>
    <child type="suffix">
      <object class="GtkImage" id="default_emblem">
        <property name="tooltip-text" translatable="yes">Default Action</property>
        <property name="has-tooltip">true</property>
        <property name="margin-start">6</property>
        <property name="margin-end">12</property>
        <style>
          <class name="accent"/>
        </style>
      </object>
    </child>
    <child type="suffix">
      <object class="GtkSwitch" id="command_switch">
        <property name="valign">center</property>
      </object>
    </child>
    <child type="suffix">
      <object class="GtkMenuButton" id="command_menu_button">
        <property name="icon-name">view-more-symbolic</property>
        <property name="tooltip-text" translatable="yes">Options</property>
        <property name="has-tooltip">false</property>
        <property name="menu-model">command_row_menu</property>
        <property name="valign">center</property>
        <style>
          <class name="flat"/>
        </style>
      </object>
    </child>
    <child>
      <object class="GtkDragSource" id="drag_source">
        <property name="actions">move</property>
        <signal name="prepare" handler="on_drag_prepare"/>
        <signal name="drag-begin" handler="on_drag_begin"/>
      </object>
    </child>
    <child>
      <object class="GtkDropTarget">
        <property name="actions">move</property>
        <property name="formats">HaguichiCommandsEditorRow</property>
        <signal name="drop" handler="on_drop"/>
      </object>
    </child>
    <child>
      <object class="GtkShortcutController">
        <child>
          <object class="GtkShortcut">
            <property name="trigger">Menu</property>
            <property name="action">action(row.open-menu)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Shift&gt;F10</property>
            <property name="action">action(row.open-menu)</property>
          </object>
        </child>
      </object>
    </child>
  </template>
  <menu id="command_row_menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Edit…</attribute>
        <attribute name="action">row.edit</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Du_plicate…</attribute>
        <attribute name="action">row.duplicate</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Move _Up</attribute>
        <attribute name="action">row.move-up</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Move _Down</attribute>
        <attribute name="action">row.move-down</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Set As Default Action</attribute>
        <attribute name="action">row.set-default</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Remove</attribute>
        <attribute name="action">row.remove</attribute>
      </item>
    </section>
  </menu>
</interface>


================================================
FILE: data/ui/widgets/commands-editor.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiCommandsEditor" parent="AdwPreferencesGroup">
    <child type="header-suffix">
      <object class="GtkButton" id="restore_button">
        <signal name="clicked" handler="on_restore_commands"/>
        <property name="name">restore-commands-button</property>
        <property name="valign">center</property>
        <property name="child">
          <object class="AdwButtonContent">
            <property name="icon-name">view-refresh-symbolic</property>
            <property name="label" translatable="yes">_Restore Default</property>
            <property name="use-underline">true</property>
          </object>
        </property>
        <style>
          <class name="flat"/>
        </style>
      </object>
    </child>
    <child>
      <object class="GtkListBox" id="list_box">
        <signal name="row-activated" handler="on_row_activated"/>
        <property name="selection-mode">none</property>
        <child>
          <object class="GtkListBoxRow">
            <child>
              <object class="GtkButton">
                <signal name="clicked" handler="on_add_command"/>
                <property name="name">add-command-button</property>
                <property name="can-focus">false</property>
                <property name="child">
                  <object class="AdwButtonContent">
                    <property name="icon-name">list-add-symbolic</property>
                    <property name="label" translatable="yes">_Add Command</property>
                    <property name="use-underline">true</property>
                  </object>
                </property>
                <style>
                  <class name="flat"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        <style>
          <class name="boxed-list"/>
        </style>
      </object>
    </child>
  </template>
  <!-- this menu is only used to add labels for the default commands from gschema to the gettext catalog -->
  <menu id="default_commands_menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Browse Shares</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_View Remote Desktop</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Ping</attribute>
      </item>
    </section>
  </menu>
</interface>


================================================
FILE: data/ui/widgets/network-list-item.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="GtkListItem">
    <property name="focusable">true</property>
    <property name="child">
      <object class="GtkTreeExpander" id="expander">
        <property name="focusable">false</property>
        <binding name="list-row">
          <lookup name="item">GtkListItem</lookup>
        </binding>
        <binding name="hide-expander">
          <lookup name="hide-expander" type="HaguichiNetwork">
            <lookup name="item">expander</lookup>
          </lookup>
        </binding>
        <property name="child">
          <object class="GtkBox">
            <child>
              <object class="GtkImage">
                <property name="margin-end">6</property>
                <property name="pixel-size">10</property>
                <property name="valign">center</property>
                <binding name="css-classes">
                  <lookup name="node-css-classes" type="HaguichiNetwork">
                    <lookup name="item">expander</lookup>
                  </lookup>
                </binding>
                <binding name="css-classes">
                  <lookup name="node-css-classes" type="HaguichiMember">
                    <lookup name="item">expander</lookup>
                  </lookup>
                </binding>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="ellipsize">end</property>
                <property name="use-markup">true</property>
                <binding name="label">
                  <lookup name="label" type="HaguichiNetwork">
                    <lookup name="item">expander</lookup>
                  </lookup>
                </binding>
                <binding name="label">
                  <lookup name="label" type="HaguichiMember">
                    <lookup name="item">expander</lookup>
                  </lookup>
                </binding>
                <binding name="css-classes">
                  <lookup name="label-css-classes" type="HaguichiNetwork">
                    <lookup name="item">expander</lookup>
                  </lookup>
                </binding>
                <binding name="css-classes">
                  <lookup name="label-css-classes" type="HaguichiMember">
                    <lookup name="item">expander</lookup>
                  </lookup>
                </binding>
              </object>
            </child>
          </object>
        </property>
      </object>
    </property>
  </template>
</interface>


================================================
FILE: data/ui/widgets/sidebar-page.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiSidebarPage" parent="GtkBox">
    <property name="orientation">vertical</property>
    <property name="spacing">15</property>
    <property name="margin-start">12</property>
    <property name="margin-end">12</property>
    <property name="margin-bottom">15</property>
    <child>
      <object class="GtkLabel" id="label">
        <property name="margin-start">26</property>
        <property name="margin-end">26</property>
        <property name="margin-bottom">2</property>
        <property name="selectable">true</property>
        <property name="wrap">true</property>
        <property name="wrap-mode">char</property>
        <style>
          <class name="title-2"/>
        </style>
      </object>
    </child>
    <child>
      <object class="GtkListBox" id="list_box">
        <property name="selection-mode">none</property>
        <style>
          <class name="navigation-sidebar"/>
        </style>
      </object>
    </child>
  </template>
</interface>


================================================
FILE: data/ui/widgets/sidebar-row.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiSidebarRow" parent="AdwActionRow">
    <property name="subtitle-selectable">true</property>
    <property name="use-markup">false</property>
    <property name="focusable">false</property>
    <child>
      <object class="GtkButton" id="copy_button">
        <property name="icon-name">edit-copy-symbolic</property>
        <property name="tooltip-text" translatable="yes">Copy</property>
        <property name="valign">center</property>
        <signal name="clicked" handler="on_copy_value"/>
        <style>
          <class name="flat"/>
        </style>
      </object>
    </child>
    <style>
      <class name="property"/>
    </style>
  </template>
</interface>


================================================
FILE: data/ui/window.ui
================================================
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HaguichiWindow" parent="AdwApplicationWindow">
    <property name="name">main-window</property>
    <property name="default-width">600</property>
    <property name="default-height">480</property>
    <property name="width-request">320</property>
    <property name="height-request">200</property>
    <style>
      <class name="view"/>
    </style>
    <child>
      <object class="GtkShortcutController">
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;O</property>
            <property name="action">action(win.connect)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;D</property>
            <property name="action">action(win.disconnect)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;J</property>
            <property name="action">action(win.join-network)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;N</property>
            <property name="action">action(win.create-network)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;R</property>
            <property name="action">action(win.refresh)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">F5</property>
            <property name="action">action(win.refresh)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;F</property>
            <property name="action">action(win.start-search)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">F9</property>
            <property name="action">action(win.toggle-sidebar)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">F12</property>
            <property name="action">action(win.cycle-mode)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;M</property>
            <property name="action">action(win.show-offline-members)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;bracketleft</property>
            <property name="action">action(win.expand-all-networks)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;bracketright</property>
            <property name="action">action(win.collapse-all-networks)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;comma</property>
            <property name="action">action(win.preferences)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;question</property>
            <property name="action">action(win.shortcuts)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">F1</property>
            <property name="action">action(win.help)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">F2</property>
            <property name="action">action(win.info)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;Q</property>
            <property name="action">action(win.quit)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;1</property>
            <property name="action">action(win.run-command-1)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;2</property>
            <property name="action">action(win.run-command-2)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;3</property>
            <property name="action">action(win.run-command-3)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;4</property>
            <property name="action">action(win.run-command-4)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;5</property>
            <property name="action">action(win.run-command-5)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;6</property>
            <property name="action">action(win.run-command-6)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;7</property>
            <property name="action">action(win.run-command-7)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;8</property>
            <property name="action">action(win.run-command-8)</property>
          </object>
        </child>
        <child>
          <object class="GtkShortcut">
            <property name="trigger">&lt;Primary&gt;9</property>
            <property name="action">action(win.run-command-9)</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwBreakpoint">
        <condition>max-width: 520sp</condition>
        <setter object="split_view" property="collapsed">true</setter>
      </object>
    </child>
    <property name="content">
      <object class="AdwToastOverlay" id="toast_overlay">
        <child>
          <object class="AdwOverlaySplitView" id="split_view">
            <property name="min-sidebar-width">240</property>
            <property name="max-sidebar-width">320</property>
            <property name="sidebar-width-fraction">0.475</property>
            <property name="sidebar-position">end</property>
            <property name="show-sidebar">false</property>
            <property name="pin-sidebar">true</property>
            <property name="content">
              <object class="AdwToolbarView">
                <child type="top">
                  <object class="AdwHeaderBar" id="header_bar">
                    <property name="title-widget">
                      <object class="AdwWindowTitle" id="window_title">
                        <property name="title">Haguichi</property>
                        <property name="subtitle" translatable="yes">Initializing</property>
                      </object>
                    </property>
                    <child type="start">
                      <object class="GtkButton" id="refresh_button">
                        <property name="action-name">win.refresh</property>
                        <property name="icon-name">view-refresh-symbolic</property>
                        <property name="tooltip-text" translatable="yes">Refresh</property>
                        <property name="valign">center</property>
                        <property name="visible">false</property>
                      </object>
                    </child>
                    <child type="start">
                      <object class="GtkToggleButton" id="connect_button">
                        <property name="name">connect-button</property>
                        <property name="action-name">win.connect</property>
                        <property name="icon-name">system-shutdown-symbolic</property>
                        <property name="tooltip-text" translatable="yes">Connect</property>
                        <property name="valign">center</property>
                        <property name="visible">false</property>
                        <style>
                          <class name="suggested-action"/>
                        </style>
                      </object>
                    </child>
                    <child type="start">
                      <object class="GtkToggleButton" id="disconnect_button">
                        <property name="name">disconnect-button</property>
                        <property name="active">true</property>
                        <property name="action-name">win.disconnect</property>
                        <property name="icon-name">system-shutdown-symbolic</property>
                        <property name="tooltip-text" translatable="yes">Disconnect</property>
                        <property name="valign">center</property>
                        <property name="visible">false</property>
                        <style>
                          <class name="accent"/>
                        </style>
                      </object>
                    </child>
                    <child type="start">
                      <object class="GtkToggleButton" id="search_button">
                        <property name="icon-name">edit-find-symbolic</property>
                        <property name="tooltip-text" translatable="yes">Search</property>
                        <property name="active" bind-source="search_bar" bind-property="search_mode_enabled" bind-flags="sync-create"/>
                        <property name="valign">center</property>
                        <property name="visible">false</property>
                      </object>
                    </child>
                    <child type="end">
                      <object class="GtkMenuButton">
                        <property name="primary">true</property>
                        <property name="icon-name">open-menu-symbolic</property>
                        <property name="tooltip-text" translatable="yes">Main Menu</property>
                        <property name="menu-model">primary_menu</property>
                        <property name="valign">center</property>
                      </object>
                    </child>
                  </object>
                </child>
                <child type="top">
                  <object class="AdwClamp">
                    <property name="maximum-size">400</property>
                    <property name="tightening-threshold">300</property>
                    <child>
                      <object class="GtkSearchBar" id="search_bar">
                        <property name="key-capture-widget">HaguichiWindow</property>
                        <property name="search_mode_enabled" bind-source="search_button" bind-property="active" bind-flags="sync-create"/>
                        <child>
                          <object class="GtkSearchEntry" id="search_entry">
                            <property name="hexpand">true</property>
                            <property name="placeholder-text" translatable="yes">Search networks and members</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="content">
                  <object class="GtkOverlay">
                    <child type="overlay">
                      <object class="GtkBox">
                        <property name="orientation">vertical</property>
                        <property name="halign">end</property>
                        <property name="valign">end</property>
                        <property name="margin-end">15</property>
                        <property name="margin-bottom">15</property>
                        <property name="spacing">9</property>
                        <child>
                          <object class="GtkButton" id="overlay_refresh_button">
                            <property name="name">overlay-refresh-button</property>
                            <property name="action-name">win.refresh</property>
                            <property name="icon-name">view-refresh-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Refresh</property>
                            <property name="halign">center</property>
                            <property name="visible">false</property>
                            <style>
                              <class name="circular"/>
                            </style>
                          </object>
                        </child>
                        <child>
                          <object class="GtkMenuButton" id="overlay_add_network_button">
                            <property name="name">add-network-button</property>
                            <property name="icon-name">list-add-symbolic</property>
                            <property name="tooltip-text" translatable="yes">Add Network</property>
                            <property name="direction">up</property>
                            <property name="menu-model">add_network_menu</property>
                            <property name="visible">false</property>
                            <style>
                              <class name="circular"/>
                              <class name="suggested-action"/>
                            </style>
                          </object>
                        </child>
                      </object>
                    </child>
                    <child>
                      <object class="GtkStack" id="stack">
                        <property name="transition-type">crossfade</property>
                        <child>
                          <object class="GtkStackPage">
                            <property name="name">Initializing</property>
                            <property name="child">
                              <object class="AdwBin"/>
                            </property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkStackPage">
                            <property name="name">Disconnected</property>
                            <property name="child">
                              <object class="GtkStack" id="disconnected_stack">
                                <child>
                                  <object class="GtkStackPage">
                                    <property name="name">empty</property>
                                    <property name="child">
                                      <object class="AdwBin"/>
                                    </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkStackPage">
                                    <property name="name">restore</property>
                                    <property name="child">
                                      <object class="AdwStatusPage" id="restore_status_page">
                                        <property name="title" translatable="yes">Hamachi Lost Connection</property>
                                        <style>
                                          <class name="compact"/>
                                          <class name="numeric"/>
                                        </style>
                                        <child>
                                          <object class="GtkButton">
                                            <property name="label" translatable="yes">_Cancel</property>
                                            <property name="halign">center</property>
                                            <property name="use-underline">true</property>
                                            <signal name="clicked" handler="cancel_restore"/>
                                            <style>
                                              <class name="pill"/>
                                            </style>
                                          </object>
                                        </child>
                                      </object>
                                    </property>
                                  </object>
                                </child>
                              </object>
                            </property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkStackPage">
                            <property name="name">Connecting</property>
                            <property name="child">
                              <object class="HaguichiThrobber" id="throbber">
                                <property name="halign">center</property>
                                <property name="valign">center</property>
                                <property name="margin-bottom">12</property>
                              </object>
                            </property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkStackPage">
                            <property name="name">Connected</property>
                            <property name="child">
                              <object class="GtkStack" id="connected_stack">
                                <child>
                                  <object class="GtkStackPage">
                                    <property name="name">empty</property>
                                    <property name="child">
                                      <object class="AdwStatusPage">
                                        <property name="title" translatable="yes">You Are Connected!</property>
                                        <property name="description" translatable="yes">Use the + button to add a network</property>
                                        <style>
                                          <class name="compact"/>
                                        </style>
                                      </object>
                                    </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkStackPage">
                                    <property name="name">network-list</property>
                                    <property name="child">
                                      <object class="HaguichiNetworkList" id="network_list"/>
                                    </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkStackPage">
                                    <property name="name">no-results</property>
                                    <property name="child">
                                      <object class="AdwStatusPage">
                                        <property name="title" translatable="yes">No Results Found</property>
                                        <property name="description" translatable="yes">Try a different search</property>
                                        <style>
                                          <class name="compact"/>
                                        </style>
                                      </object>
                                    </property>
                                  </object>
                                </child>
                              </object>
                            </property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkStackPage">
                            <property name="name">Not installed</property>
                            <property name="child">
                              <object class="AdwStatusPage" id="not_installed_status_page">
                                <property name="description" translatable="yes">Please download Hamachi and follow the installation instructions</property>
                                <style>
                                  <class name="compact"/>
                                </style>
                                <child>
                                  <object class="GtkButton">
                                    <property name="label" translatable="yes">_Download</property>
                                    <property name="halign">center</property>
                                    <property name="use-underline">true</property>
                                    <signal name="clicked" handler="download_hamachi"/>
                                    <style>
                                      <class name="pill"/>
                                      <class name="suggested-action"/>
                                    </style>
                                  </object>
                                </child>
                              </object>
                            </property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkStackPage">
                            <property name="name">Not configured</property>
                            <property name="child">
                              <object class="AdwStatusPage">
                                <property name="title" translatable="yes">Hamachi Is Not Configured</property>
                                <property name="description" translatable="yes">You need to configure Hamachi before you can connect</property>
                                <style>
                                  <class name="compact"/>
                                </style>
                                <child>
                                  <object class="GtkButton" id="configure_button">
                                    <property name="label" translatable="yes">C_onfigure</property>
                                    <property name="halign">center</property>
                                    <property name="use-underline">true</property>
                                    <signal name="clicked" handler="configure_hamachi"/>
                                    <style>
                                      <class name="pill"/>
                                      <class name="suggested-action"/>
                                    </style>
                                  </object>
                                </child>
                              </object>
                            </property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </property>
            <property name="sidebar">
              <object class="AdwToolbarView">
                <child type="top">
                  <object class="AdwHeaderBar">
                    <property name="title-widget">
                      <object class="GtkRevealer" id="sidebar_title_revealer">
                        <property name="transition-type">crossfade</property>
                        <child>
                          <object class="AdwWindowTitle" id="sidebar_title">
                            <property name="title" translatable="yes">Information</property>
                          </object>
                        </child>
                      </object>
                    </property>
                    <child type="start">
                      <object class="GtkButton" id="go_back_button">
                        <signal name="clicked" handler="go_back_button_clicked"/>
                        <property name="icon-name">go-previous-symbolic</property>
                        <property name="tooltip-text" translatable="yes">Network List</property>
                        <property name="valign">center</property>
                        <property name="visible" bind-source="split_view" bind-property="collapsed" bind-flags="sync-create"/>
                      </object>
                    </child>
                  </object>
                </child>
                <property name="content">
                  <object class="HaguichiSidebar" id="sidebar"/>
                </property>
              </object>
            </property>
          </object>
        </child>
      </object>
    </property>
  </template>
  <object class="GtkSizeGroup">
    <property name="mode">vertical</property>
    <widgets>
      <widget name="window_title"/>
      <widget name="sidebar_title"/>
    </widgets>
  </object>
  <menu id="primary_menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Information</attribute>
        <attribute name="action">win.info</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Sort by _Name</attribute>
        <attribute name="action">win.sort-by</attribute>
        <attribute name="target">name</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Sort by _Status</attribute>
        <attribute name="action">win.sort-by</attribute>
        <attribute name="target">status</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Show _Offline Members</attribute>
        <attribute name="action">win.show-offline-members</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Preferences</attribute>
        <attribute name="action">win.preferences</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
        <attribute name="action">win.shortcuts</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Help</attribute>
        <attribute name="action">win.help</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_About Haguichi</attribute>
        <attribute name="action">win.about</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Quit</attribute>
        <attribute name="action">win.quit</attribute>
      </item>
    </section>
  </menu>
  <menu id="add_network_menu">
    <section>
      <item>
        <attribute name="label" translatable="yes">_Join Network…</attribute>
        <attribute name="action">win.join-network</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Create Network…</attribute>
        <attribute name="action">win.create-network</attribute>
      </item>
    </section>
  </menu>
</interface>


================================================
FILE: meson.build
================================================
project('Haguichi', ['c', 'vala'],
          version: '1.5.5',
    meson_version: '>= 1.3.0',
  default_options: ['prefix=/usr', 'warning_level=2', 'werror=false'],
)

app_name     = meson.project_name()
app_id       = 'com.github.ztefn.' + app_name.to_lower()
app_version  = meson.project_version()
binary_name  = app_name.to_lower()
gettext_pkg  = app_name.to_lower()
vala_version = meson.get_compiler('vala').version()

add_project_arguments(
  '-DG_LOG_DOMAIN="' + app_name + '"',
  '-DGETTEXT_PACKAGE="' + gettext_pkg + '"',
  '-w',
  language: 'c'
)

if vala_version.version_compare('>= 0.56.19')
  add_project_arguments(
    ['-D', 'VALA_0_56_19'],
    language: 'vala'
  )
endif

conf = configuration_data()
conf.set('APP_ID',          app_id)
conf.set('APP_NAME',        app_name)
conf.set('VERSION',         app_version)
conf.set('BINARY_NAME',     binary_name)
conf.set('GETTEXT_PACKAGE', gettext_pkg)
conf.set('LOCALEDIR',       get_option('prefix') / get_option('localedir'))
conf.set('VALA_VERSION',    vala_version)

i18n  = import('i18n')
gnome = import('gnome')

subdir('data')
subdir('po')
subdir('src')

gnome.post_install(
     glib_compile_schemas: true,
    gtk_update_icon_cache: true,
  update_desktop_database: true,
)


================================================
FILE: meson.options
================================================
option('for-elementary', type: 'boolean', value: false)
option('for-ubuntu',     type: 'boolean', value: false)


================================================
FILE: po/LINGUAS
================================================
ast
bg
cs
de
es
fi
fr
hu
id
it
ja
kk
lt
nl
pl
pt
pt_BR
ru
sk
sv
tr
uk


================================================
FILE: po/POTFILES
================================================
data/com.github.ztefn.haguichi.desktop.in.in
data/com.github.ztefn.haguichi.metainfo.xml.in.in
data/ui/dialogs/add-edit-command.ui
data/ui/dialogs/attach.ui
data/ui/dialogs/change-access.ui
data/ui/dialogs/change-password.ui
data/ui/dialogs/join-create-network.ui
data/ui/menus/member-menu.ui
data/ui/menus/network-list-menu.ui
data/ui/menus/network-menu.ui
data/ui/network-list.ui
data/ui/preferences.ui
data/ui/shortcuts-dialog.ui
data/ui/shortcuts-window.ui
data/ui/sidebar.ui
data/ui/widgets/command-entry-row.ui
data/ui/widgets/command-variable-button.ui
data/ui/widgets/commands-editor.ui
data/ui/widgets/commands-editor-row.ui
data/ui/widgets/network-list-item.ui
data/ui/widgets/sidebar-row.ui
data/ui/widgets/sidebar-page.ui
data/ui/window.ui
src/application.vala
src/bubble.vala
src/command.vala
src/connection.vala
src/controller.vala
src/custom-command.vala
src/dialogs/add-edit-command.vala
src/dialogs/attach.vala
src/dialogs/change-access.vala
src/dialogs/change-password.vala
src/dialogs/confirm.vala
src/dialogs/join-create-network.vala
src/hamachi.vala
src/indicator.vala
src/inhibitor.vala
src/member.vala
src/member-event.vala
src/network.vala
src/network-list.vala
src/preferences.vala
src/session.vala
src/sidebar.vala
src/status.vala
src/status-notifier-item.vala
src/utils.vala
src/widgets/command-entry-row.vala
src/widgets/command-variable-button.vala
src/widgets/commands-editor.vala
src/widgets/commands-editor-row.vala
src/widgets/sidebar-row.vala
src/widgets/sidebar-page.vala
src/window.vala


================================================
FILE: po/README.md
================================================

  Localisation
  ============


  Generate .pot file
  ------------------

  Run the following command from your build folder to generate the pot file:

    $ meson compile haguichi-pot


  Generate .po files
  ------------------

  Run the following command from your build folder to generate the po files:

    $ meson compile haguichi-update-po



================================================
FILE: po/ast.po
================================================
# Asturian translation for haguichi
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the haguichi package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: haguichi\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-12 18:53+0200\n"
"PO-Revision-Date: 2018-10-12 07:44+0000\n"
"Last-Translator: enolp <enolp@softastur.org>\n"
"Language-Team: Asturian <ast@li.org>\n"
"Language: ast\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Launchpad-Export-Date: 2018-10-12 19:24+0000\n"
"X-Generator: Launchpad (build 18790)\n"

#. Name used for display in application launchers.
#: data/com.github.ztefn.haguichi.desktop.in.in:4
msgid "Haguichi"
msgstr "Haguichi"

#. Generic name used for display in some application launchers like Kickoff in KDE Plasma.
#: data/com.github.ztefn.haguichi.desktop.in.in:6
msgid "Hamachi Network Manager"
msgstr "Xestor de rede Hamachi"

#. Description used for display in application launchers.
#: data/com.github.ztefn.haguichi.desktop.in.in:10
#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:7
msgid "Manage your Hamachi networks"
msgstr ""

#. Keywords used for search in application launchers and software centers.
#: data/com.github.ztefn.haguichi.desktop.in.in:14
msgid "LogMeIn Hamachi;VPN;LAN;Network;Internet;P2P;Peer;Client;GUI;Frontend;"
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:9
msgid ""
"Haguichi makes it a breeze to join, create and administer Hamachi networks."
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:10
msgid "Features:"
msgstr "Carauterístiques:"

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:12
msgid "Searchable, sortable and collapsible network list"
msgstr "Llista de redes espandible, que se pue ordenar y onde se pue guetar"

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:13
msgid "Sidebar for easy access to details and actions"
msgstr "Barra llateral p'acceder fácilmente a los detalles y les aiciones"

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:14
msgid "Indicator support for quick access to primary actions"
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:15
msgid "Desktop notifications to stay up to date of network events"
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:16
msgid "Commands that can be completely customized"
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:17
#, fuzzy
msgid "Backup and restore of your Hamachi configuration folder"
msgstr ""
"Fai copies de seguranza y restaura la carpeta de configuración de Hamachi"

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:19
msgid ""
"<em>Please note: Requires installation of Hamachi on the system in order to "
"use.</em>"
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:23
#, fuzzy
msgid "View your network list and client information"
msgstr "Amosar la información del veceru"

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:27
msgid "View selected member details"
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:31
msgid "View selected network details"
msgstr ""

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:35
#, fuzzy
msgid "Search your network list"
msgstr "Llista de redes espandible, que se pue ordenar y onde se pue guetar"

#: data/com.github.ztefn.haguichi.metainfo.xml.in.in:39
#, fuzzy
msgid "Join or create networks"
msgstr "Xunise a una rede"

#: data/ui/dialogs/add-edit-command.ui:30
msgid "Label"
msgstr "Etiqueta"

#: data/ui/dialogs/add-edit-command.ui:37
msgid "IPv4 Command"
msgstr "Comandu IPv4"

#: data/ui/dialogs/add-edit-command.ui:44
msgid "IPv6 Command"
msgstr "Comandu IPv6"

#: data/ui/dialogs/add-edit-command.ui:51
msgid "Priority"
msgstr "Prioridá"

#: data/ui/dialogs/add-edit-command.ui:58
msgid "_Save"
msgstr "_Guardar"

#: data/ui/dialogs/attach.ui:6
msgid "Attach to Account"
msgstr "Axuntar a la cuenta"

#: data/ui/dialogs/attach.ui:31 data/ui/sidebar.ui:23 src/sidebar.vala:192
msgid "Account"
msgstr "Cuenta"

#: data/ui/dialogs/attach.ui:38
msgid "Include all networks created by this client"
msgstr "Incluyir toles redes creaes por esti veceru"

#: data/ui/dialogs/attach.ui:61
msgid "_Attach"
msgstr "_Axuntar"

#: data/ui/dialogs/change-access.ui:6 data/ui/sidebar.ui:135
#, fuzzy
msgid "Change Access"
msgstr "Camudar nomatu"

#: data/ui/dialogs/change-access.ui:31
msgid "Locked"
msgstr "Bloquiáu"

#: data/ui/dialogs/change-access.ui:32
msgid "Do not accept new network members"
msgstr ""

#: data/ui/dialogs/change-access.ui:38
msgid "Approval"
msgstr "Aprobación"

#: data/ui/dialogs/change-access.ui:42
msgid "Automatically"
msgstr "Automáticamente"

#: data/ui/dialogs/change-access.ui:43
msgid "Manually"
msgstr "Manualmente"

#: data/ui/dialogs/change-access.ui:53 data/ui/dialogs/change-password.ui:39
msgid "C_hange"
msgstr "C_amudar"

#: data/ui/dialogs/change-password.ui:6 data/ui/sidebar.ui:119
msgid "Change Password"
msgstr "Camudar contraseña"

#: data/ui/dialogs/change-password.ui:31
msgid "New Password"
msgstr "Contraseña nueva"

#: data/ui/dialogs/join-create-network.ui:30 data/ui/sidebar.ui:110
msgid "Network ID"
msgstr "ID de rede"

#: data/ui/dialogs/join-create-network.ui:37
msgid "Password"
msgstr "Conseña"

#: data/ui/menus/member-menu.ui:10 data/ui/sidebar.ui:229 src/bubble.vala:58
msgid "_Approve"
msgstr "_Aprobar"

#: data/ui/menus/member-menu.ui:15 data/ui/sidebar.ui:242 src/bubble.vala:59
msgid "_Reject"
msgstr "_Refugar"

#: data/ui/menus/member-menu.ui:22
msgid "Copy IPv_4 Address"
msgstr "Copiar direición IPv_4"

#: data/ui/menus/member-menu.ui:27
msgid "Copy IPv_6 Address"
msgstr "Copiar direición IPv_6"

#: data/ui/menus/member-menu.ui:32
msgid "_Copy Client ID"
msgstr "_Copiar ID de veceru"

#. This action removes the selected member from the network.
#: data/ui/menus/member-menu.ui:38 data/ui/sidebar.ui:255 src/member.vala:234
msgid "_Evict"
msgstr "_Desagospiar"

#: data/ui/menus/member-menu.ui:46 data/ui/menus/network-menu.ui:54
msgid "_Details"
msgstr ""

#: data/ui/menus/network-list-menu.ui:10 data/ui/window.ui:570
#: src/indicator.vala:112
msgid "_Join Network…"
msgstr "_Xunise a la rede…"

#: data/ui/menus/network-list-menu.ui:14 data/ui/window.ui:574
#: src/indicator.vala:117
msgid "_Create Network…"
msgstr "_Crear rede…"

#: data/ui/menus/network-menu.ui:10 data/ui/sidebar.ui:153
msgid "_Go Online"
msgstr "_Coneutase"

#: data/ui/menus/network-menu.ui:16 data/ui/sidebar.ui:166
msgid "_Go Offline"
msgstr "_Desconeutase"

#: data/ui/menus/network-menu.ui:22 src/network.vala:348
msgid "_Leave"
msgstr "_Colar"

#: data/ui/menus/network-menu.ui:28 src/network.vala:377
msgid "_Delete"
msgstr "_Desaniciar"

#: data/ui/menus/network-menu.ui:36
#, fuzzy
msgid "Change _Access…"
msgstr "Camudar _nomatu…"

#: data/ui/menus/network-menu.ui:41
msgid "Change _Password…"
msgstr "Camudar _contraseña…"

#: data/ui/menus/network-menu.ui:48
msgid "_Copy Network ID"
msgstr "Copiar ID de rede"

#: data/ui/preferences.ui:7 data/ui/shortcuts-dialog.ui:6
#: data/ui/shortcuts-window.ui:10
msgid "General"
msgstr "Xeneral"

#: data/ui/preferences.ui:13
msgid "Configuration"
msgstr "Configuración"

#: data/ui/preferences.ui:20
#, fuzzy
msgid "Backup"
msgstr "Guardar un respaldu"

#: data/ui/preferences.ui:31
msgid "Open Folder"
msgstr "Abrir carpeta"

#: data/ui/preferences.ui:45 data/ui/widgets/command-entry-row.ui:42
msgid "Nickname"
msgstr "Nomatu"

#: data/ui/preferences.ui:52
msgid "_Protocol"
msgstr "_Protocolu"

#: data/ui/preferences.ui:57
msgid "Both IPv4 and IPv6"
msgstr "IPv4 ya IPv6"

#: data/ui/preferences.ui:58
msgid "IPv4 only"
msgstr "Namái IPv4"

#: data/ui/preferences.ui:59
msgid "IPv6 only"
msgstr "Namái IPv6"

#: data/ui/preferences.ui:69
msgid "Behavior"
msgstr "Comportamientu"

#: data/ui/preferences.ui:72
msgid "_Network list update interval"
msgstr ""

#: data/ui/preferences.ui:78
msgid "_Connect automatically on startup"
msgstr "_Coneutase automáticamente nel aniciu"

#: data/ui/preferences.ui:84
msgid "_Reconnect automatically when the connection is lost"
msgstr "_Reconeutase automáticamente cuando se pierda la conexón"

#: data/ui/preferences.ui:90
msgid "_Disconnect on quit"
msgstr "_Desconeutase al colar"

#: data/ui/preferences.ui:100 data/ui/shortcuts-dialog.ui:111
#: data/ui/sidebar.ui:192
msgid "Commands"
msgstr "Comandos"

#. In this context meaning "work environment".
#: data/ui/preferences.ui:108
msgid "Desktop"
msgstr "Escritoriu"

#: data/ui/preferences.ui:111
msgid "Appearance"
msgstr "Aspeutu"

#: data/ui/preferences.ui:114
msgid "_Style"
msgstr ""

#: data/ui/preferences.ui:131
msgid "Follow System"
msgstr ""

#: data/ui/preferences.ui:142
msgid "Light"
msgstr ""

#: data/ui/preferences.ui:154
msgid "Dark"
msgstr ""

#: data/ui/preferences.ui:164
msgid "Show _indicator"
msgstr "Amosar l'_indicador"

#: data/ui/preferences.ui:173
msgid "Notifications"
msgstr "Avisos"

#: data/ui/preferences.ui:176
msgid "Display notification when the connection is l_ost"
msgstr "Amosar avisu al perdese la c_onexón"

#: data/ui/preferences.ui:182
msgid "Display notification when a member _joins"
msgstr "Amosar avisu cuando se xuna un m_iembru"

#: data/ui/preferences.ui:188
msgid "Display notification when a member _leaves"
msgstr "Amosar avisu cuando cole un m_iembru"

#: data/ui/preferences.ui:194
msgid "Display notification when a member comes o_nline"
msgstr "Amosar avisu cuando tea en llinia un m_iembru"

#: data/ui/preferences.ui:200
msgid "Display notification when a member goes o_ffline"
msgstr "Amosar avisu cuando tea fuera de llinia un m_iembru"

#: data/ui/preferences.ui:212
msgid "_Save a Backup…"
msgstr "_Guardar respaldu…"

#: data/ui/preferences.ui:216
msgid "_Restore from Backup…"
msgstr "_Restaurar dende respaldu…"

#: data/ui/shortcuts-dialog.ui:10 data/ui/shortcuts-window.ui:14
msgid "Show help"
msgstr "Amusar l'ayuda"

#: data/ui/shortcuts-dialog.ui:16 data/ui/shortcuts-window.ui:20
msgid "Show client information"
msgstr "Amosar la información del veceru"

#: data/ui/shortcuts-dialog.ui:22 data/ui/shortcuts-window.ui:26
msgid "Open menu"
msgstr ""

#: data/ui/shortcuts-dialog.ui:28 data/ui/shortcuts-window.ui:44
msgid "Preferences"
msgstr "Preferencies"

#: data/ui/shortcuts-dialog.ui:34 data/ui/shortcuts-window.ui:50
msgid "Keyboard shortcuts"
msgstr "Atayos del tecláu"

#: data/ui/shortcuts-dialog.ui:40 data/ui/shortcuts-window.ui:56
msgid "Quit"
msgstr "Colar"

#: data/ui/shortcuts-dialog.ui:47 data/ui/sidebar.ui:223
msgid "Connection"
msgstr "Conexón"

#: data/ui/shortcuts-dialog.ui:51 data/ui/shortcuts-window.ui:32
#: data/ui/window.ui:212
msgid "Connect"
msgstr "Coneutar"

#: data/ui/shortcuts-dialog.ui:57 data/ui/shortcuts-window.ui:38
#: data/ui/window.ui:226
msgid "Disconnect"
msgstr "Desconeutar"

#: data/ui/shortcuts-dialog.ui:64 data/ui/shortcuts-window.ui:63
#: data/ui/window.ui:496
msgid "Network List"
msgstr "Llista de redes"

#: data/ui/shortcuts-dialog.ui:68 data/ui/shortcuts-window.ui:67
msgid "Join a network"
msgstr "Xunise a una rede"

#: data/ui/shortcuts-dialog.ui:74 data/ui/shortcuts-window.ui:73
msgid "Create a network"
msgstr "Crear una rede"

#: data/ui/shortcuts-dialog.ui:80 data/ui/shortcuts-window.ui:79
#: data/ui/window.ui:202 data/ui/window.ui:287
msgid "Refresh"
msgstr "Refrescar"

#: data/ui/shortcuts-dialog.ui:86 data/ui/shortcuts-window.ui:85
#: data/ui/window.ui:237
msgid "Search"
msgstr "Guetar"

#: data/ui/shortcuts-dialog.ui:92 data/ui/shortcuts-window.ui:91
msgid "Show/hide offline members"
msgstr "Amosar miembros des/coneutaos"

#: data/ui/shortcuts-dialog.ui:98 data/ui/shortcuts-window.ui:97
msgid "Expand all networks"
msgstr "Espander toles redes"

#: data/ui/shortcuts-dialog.ui:104 data/ui/shortcuts-window.ui:103
msgid "Collapse all networks"
msgstr "Contrayer toles redes"

#: data/ui/shortcuts-dialog.ui:115 data/ui/shortcuts-window.ui:109
msgid "Execute command"
msgstr "Executar un comandu"

#: data/ui/sidebar.ui:19 data/ui/window.ui:487 src/sidebar.vala:272
msgid "Information"
msgstr "Información"

#: data/ui/sidebar.ui:29
msgid "Attach"
msgstr "Axuntar"

#: data/ui/sidebar.ui:41
msgid "Cancel"
msgstr "Encaboxar"

#: data/ui/sidebar.ui:53 data/ui/sidebar.ui:203
#: data/ui/widgets/command-entry-row.ui:48
msgid "Client ID"
msgstr "ID de veceru"

#: data/ui/sidebar.ui:58 data/ui/sidebar.ui:208
msgid "IPv4 Address"
msgstr "Direición IPv4"

#: data/ui/sidebar.ui:63 data/ui/sidebar.ui:213
msgid "IPv6 Address"
msgstr "Direición IPv6"

#: data/ui/sidebar.ui:68
#, fuzzy
msgid "Hamachi Version"
msgstr "La version %s de Hamachi ta obsoleta"

#: data/ui/sidebar.ui:82 data/ui/sidebar.ui:187
msgid "Status"
msgstr "Estáu"

#: data/ui/sidebar.ui:87
#, fuzzy
msgid "Leave Network"
msgstr "Crear rede"

#: data/ui/sidebar.ui:98
#, fuzzy
msgid "Delete Network"
msgstr "Crear rede"

#: data/ui/sidebar.ui:115
msgid "Owner"
msgstr "Dueñu"

#: data/ui/sidebar.ui:131
msgid "Members"
msgstr "Miembros"

#: data/ui/sidebar.ui:147
msgid "Capacity"
msgstr "Capacidá"

#: data/ui/sidebar.ui:218
msgid "Tunnel"
msgstr "Túnel"

#: data/ui/widgets/command-entry-row.ui:7
#: data/ui/widgets/command-entry-row.ui:15
#, fuzzy
msgid "Command Variables"
msgstr "Comandos"

#: data/ui/widgets/command-entry-row.ui:36
msgid "Address"
msgstr "Direición"

#: data/ui/widgets/command-entry-row.ui:63
msgid "Terminal Emulator"
msgstr ""

#: data/ui/widgets/command-entry-row.ui:69
msgid "File Manager"
msgstr ""

#: data/ui/widgets/command-entry-row.ui:75
#, fuzzy
msgid "Remote Desktop Viewer"
msgstr "_Ver escritoriu remotu"

#: data/ui/widgets/commands-editor.ui:12
#, fuzzy
msgid "_Restore Default"
msgstr "_Restaurar"

#: data/ui/widgets/commands-editor.ui:35
msgid "_Add Command"
msgstr "_Amestar comandu"

#: data/ui/widgets/commands-editor.ui:56
msgid "_Browse Shares"
msgstr "_Restolar comparticiones"

#: data/ui/widgets/commands-editor.ui:59
msgid "_View Remote Desktop"
msgstr "_Ver escritoriu remotu"

#: data/ui/widgets/commands-editor.ui:62
msgid "
Download .txt
gitextract_tecnxzld/

├── AUTHORS
├── INSTALL.md
├── LICENSE
├── README.md
├── com.github.ztefn.haguichi.json
├── data/
│   ├── com.github.ztefn.haguichi.desktop.in.in
│   ├── com.github.ztefn.haguichi.gresource.xml
│   ├── com.github.ztefn.haguichi.gschema.xml
│   ├── com.github.ztefn.haguichi.metainfo.xml.in.in
│   ├── icons/
│   │   └── meson.build
│   ├── meson.build
│   ├── stylesheets/
│   │   ├── base.css
│   │   ├── elementary-dark.css
│   │   ├── elementary.css
│   │   ├── style-dark.css
│   │   ├── style-hc.css
│   │   └── style.css
│   └── ui/
│       ├── dialogs/
│       │   ├── add-edit-command.ui
│       │   ├── attach.ui
│       │   ├── change-access.ui
│       │   ├── change-password.ui
│       │   └── join-create-network.ui
│       ├── menus/
│       │   ├── member-menu.ui
│       │   ├── network-list-menu.ui
│       │   └── network-menu.ui
│       ├── network-list.ui
│       ├── preferences.ui
│       ├── shortcuts-dialog.ui
│       ├── shortcuts-window.ui
│       ├── sidebar.ui
│       ├── widgets/
│       │   ├── command-entry-row.ui
│       │   ├── command-variable-button.ui
│       │   ├── commands-editor-row.ui
│       │   ├── commands-editor.ui
│       │   ├── network-list-item.ui
│       │   ├── sidebar-page.ui
│       │   └── sidebar-row.ui
│       └── window.ui
├── meson.build
├── meson.options
├── po/
│   ├── LINGUAS
│   ├── POTFILES
│   ├── README.md
│   ├── ast.po
│   ├── bg.po
│   ├── cs.po
│   ├── de.po
│   ├── es.po
│   ├── fi.po
│   ├── fr.po
│   ├── haguichi.pot
│   ├── hu.po
│   ├── id.po
│   ├── it.po
│   ├── ja.po
│   ├── kk.po
│   ├── lt.po
│   ├── meson.build
│   ├── nl.po
│   ├── pl.po
│   ├── pt.po
│   ├── pt_BR.po
│   ├── ru.po
│   ├── sk.po
│   ├── sv.po
│   ├── tr.po
│   └── uk.po
└── src/
    ├── application.vala
    ├── bubble.vala
    ├── command.vala
    ├── config.vala.in
    ├── connection.vala
    ├── controller.vala
    ├── custom-command.vala
    ├── dialogs/
    │   ├── add-edit-command.vala
    │   ├── attach.vala
    │   ├── change-access.vala
    │   ├── change-password.vala
    │   ├── confirm.vala
    │   └── join-create-network.vala
    ├── hamachi.vala
    ├── indicator.vala
    ├── inhibitor.vala
    ├── member-event.vala
    ├── member.vala
    ├── meson.build
    ├── network-list.vala
    ├── network.vala
    ├── preferences.vala
    ├── session.vala
    ├── sidebar.vala
    ├── status-notifier-item.vala
    ├── status.vala
    ├── utils.vala
    ├── widgets/
    │   ├── command-entry-row.vala
    │   ├── command-variable-button.vala
    │   ├── commands-editor-row.vala
    │   ├── commands-editor.vala
    │   ├── sidebar-page.vala
    │   ├── sidebar-row.vala
    │   └── throbber.vala
    └── window.vala
Condensed preview — 102 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,187K chars).
[
  {
    "path": "AUTHORS",
    "chars": 42,
    "preview": "Stephen Brandt <stephen@stephenbrandt.com>"
  },
  {
    "path": "INSTALL.md",
    "chars": 1465,
    "preview": "\n  Building & Installing Haguichi\n  ==============================\n\n\n  Dependencies\n  ------------\n\n  The following deve"
  },
  {
    "path": "LICENSE",
    "chars": 35149,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "README.md",
    "chars": 2098,
    "preview": "[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)]"
  },
  {
    "path": "com.github.ztefn.haguichi.json",
    "chars": 1849,
    "preview": "{\n    \"app-id\": \"com.github.ztefn.haguichi\",\n    \"runtime\": \"org.gnome.Platform\",\n    \"runtime-version\": \"50\",\n    \"sdk\""
  },
  {
    "path": "data/com.github.ztefn.haguichi.desktop.in.in",
    "chars": 603,
    "preview": "[Desktop Entry]\nType=Application\n# Name used for display in application launchers.\nName=Haguichi\n# Generic name used for"
  },
  {
    "path": "data/com.github.ztefn.haguichi.gresource.xml",
    "chars": 2319,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gresources>\n  <gresource prefix=\"/com/github/ztefn/haguichi\">\n    <file compress"
  },
  {
    "path": "data/com.github.ztefn.haguichi.gschema.xml",
    "chars": 5137,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<schemalist>\n\n  <enum id=\"com.github.ztefn.haguichi.commands.init-system\">\n    <v"
  },
  {
    "path": "data/com.github.ztefn.haguichi.metainfo.xml.in.in",
    "chars": 10708,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<component type=\"desktop-application\">\n  <id>@APP_ID@</id>\n  <metadata_license>CC"
  },
  {
    "path": "data/icons/meson.build",
    "chars": 319,
    "preview": "if get_option('for-elementary')\n  icon_themes = ['elementary/hicolor']\nelse\n  icon_themes = ['hicolor']\nendif\n\nif get_op"
  },
  {
    "path": "data/meson.build",
    "chars": 1568,
    "preview": "desktop = app_id + '.desktop'\n\ndesktop_in = configure_file(\n          input: desktop + '.in.in',\n         output: deskto"
  },
  {
    "path": "data/stylesheets/base.css",
    "chars": 1303,
    "preview": "statuspage > scrolledwindow > viewport > box {\n  margin-top: 6px;\n}\n\n\n#restore-commands-button image {\n  transform: scal"
  },
  {
    "path": "data/stylesheets/elementary-dark.css",
    "chars": 935,
    "preview": "@import \"elementary.css\";\n\n\n/*\n * Override background colors for overlay split view\n */\n\noverlay-split-view widget:not(."
  },
  {
    "path": "data/stylesheets/elementary.css",
    "chars": 6949,
    "preview": "@import \"base.css\";\n\n@define-color accent_color #f44;\n\n\n/*\n * Fix background glitch for window controls in dark mode whe"
  },
  {
    "path": "data/stylesheets/style-dark.css",
    "chars": 603,
    "preview": "#network-list > scrolledwindow > listview > row .network-node-online {\n  background: @green_2;\n}\n\n#network-list > scroll"
  },
  {
    "path": "data/stylesheets/style-hc.css",
    "chars": 275,
    "preview": "#network-list > scrolledwindow > listview > row.activatable:hover {\n  box-shadow: inset 0 0 0 1px @borders;\n}\n\n#network-"
  },
  {
    "path": "data/stylesheets/style.css",
    "chars": 1262,
    "preview": "@import \"base.css\";\n\nwindow.custom .suggested-action {\n  color: @dark_4;\n  background: linear-gradient(to bottom, #006EF"
  },
  {
    "path": "data/ui/dialogs/add-edit-command.ui",
    "chars": 3910,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiAddEditCommandDialog\" parent=\"AdwDialog\">\n"
  },
  {
    "path": "data/ui/dialogs/attach.ui",
    "chars": 4004,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiAttachDialog\" parent=\"AdwDialog\">\n    <pro"
  },
  {
    "path": "data/ui/dialogs/change-access.ui",
    "chars": 3603,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiChangeAccessDialog\" parent=\"AdwDialog\">\n  "
  },
  {
    "path": "data/ui/dialogs/change-password.ui",
    "chars": 2883,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiChangePasswordDialog\" parent=\"AdwDialog\">\n"
  },
  {
    "path": "data/ui/dialogs/join-create-network.ui",
    "chars": 3898,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiJoinCreateNetworkDialog\" parent=\"AdwDialog"
  },
  {
    "path": "data/ui/menus/member-menu.ui",
    "chars": 2219,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <object class=\"GtkPopoverMenu\" id=\"popover_menu\">\n    <property nam"
  },
  {
    "path": "data/ui/menus/network-list-menu.ui",
    "chars": 701,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <object class=\"GtkPopoverMenu\" id=\"popover_menu\">\n    <property nam"
  },
  {
    "path": "data/ui/menus/network-menu.ui",
    "chars": 2569,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <object class=\"GtkPopoverMenu\" id=\"popover_menu\">\n    <property nam"
  },
  {
    "path": "data/ui/network-list.ui",
    "chars": 2210,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiNetworkList\" parent=\"AdwBin\">\n    <propert"
  },
  {
    "path": "data/ui/preferences.ui",
    "chars": 9878,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiPreferences\" parent=\"AdwPreferencesDialog\""
  },
  {
    "path": "data/ui/shortcuts-dialog.ui",
    "chars": 4674,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <object class=\"AdwShortcutsDialog\" id=\"shortcuts\">\n    <child>\n    "
  },
  {
    "path": "data/ui/shortcuts-window.ui",
    "chars": 5034,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <object class=\"GtkShortcutsWindow\" id=\"shortcuts\">\n    <property na"
  },
  {
    "path": "data/ui/sidebar.ui",
    "chars": 14413,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiSidebar\" parent=\"AdwBin\">\n    <child>\n    "
  },
  {
    "path": "data/ui/widgets/command-entry-row.ui",
    "chars": 4141,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiCommandEntryRow\" parent=\"AdwEntryRow\">\n   "
  },
  {
    "path": "data/ui/widgets/command-variable-button.ui",
    "chars": 1060,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiCommandVariableButton\" parent=\"GtkButton\">"
  },
  {
    "path": "data/ui/widgets/commands-editor-row.ui",
    "chars": 3769,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiCommandsEditorRow\" parent=\"AdwActionRow\">\n"
  },
  {
    "path": "data/ui/widgets/commands-editor.ui",
    "chars": 2473,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiCommandsEditor\" parent=\"AdwPreferencesGrou"
  },
  {
    "path": "data/ui/widgets/network-list-item.ui",
    "chars": 2582,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"GtkListItem\">\n    <property name=\"focusable\">true<"
  },
  {
    "path": "data/ui/widgets/sidebar-page.ui",
    "chars": 1051,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiSidebarPage\" parent=\"GtkBox\">\n    <propert"
  },
  {
    "path": "data/ui/widgets/sidebar-row.ui",
    "chars": 750,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiSidebarRow\" parent=\"AdwActionRow\">\n    <pr"
  },
  {
    "path": "data/ui/window.ui",
    "chars": 28288,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<interface>\n  <template class=\"HaguichiWindow\" parent=\"AdwApplicationWindow\">\n   "
  },
  {
    "path": "meson.build",
    "chars": 1244,
    "preview": "project('Haguichi', ['c', 'vala'],\n          version: '1.5.5',\n    meson_version: '>= 1.3.0',\n  default_options: ['prefi"
  },
  {
    "path": "meson.options",
    "chars": 112,
    "preview": "option('for-elementary', type: 'boolean', value: false)\noption('for-ubuntu',     type: 'boolean', value: false)\n"
  },
  {
    "path": "po/LINGUAS",
    "chars": 70,
    "preview": "ast\nbg\ncs\nde\nes\nfi\nfr\nhu\nid\nit\nja\nkk\nlt\nnl\npl\npt\npt_BR\nru\nsk\nsv\ntr\nuk\n"
  },
  {
    "path": "po/POTFILES",
    "chars": 1523,
    "preview": "data/com.github.ztefn.haguichi.desktop.in.in\ndata/com.github.ztefn.haguichi.metainfo.xml.in.in\ndata/ui/dialogs/add-edit-"
  },
  {
    "path": "po/README.md",
    "chars": 350,
    "preview": "\n  Localisation\n  ============\n\n\n  Generate .pot file\n  ------------------\n\n  Run the following command from your build "
  },
  {
    "path": "po/ast.po",
    "chars": 26620,
    "preview": "# Asturian translation for haguichi\n# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013\n# This file is dist"
  },
  {
    "path": "po/bg.po",
    "chars": 26767,
    "preview": "# Bulgarian translation for haguichi\n# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011\n# This file is dis"
  },
  {
    "path": "po/cs.po",
    "chars": 26316,
    "preview": "# Czech translation for haguichi\n# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011\n# This file is distrib"
  },
  {
    "path": "po/de.po",
    "chars": 26735,
    "preview": "# German translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distri"
  },
  {
    "path": "po/es.po",
    "chars": 28123,
    "preview": "# Spanish translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distr"
  },
  {
    "path": "po/fi.po",
    "chars": 25649,
    "preview": "# Finnish translation for haguichi\n# Copyright (c) 2024 Rosetta Contributors and Canonical Ltd 2024\n# This file is distr"
  },
  {
    "path": "po/fr.po",
    "chars": 27403,
    "preview": "# French translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distri"
  },
  {
    "path": "po/haguichi.pot",
    "chars": 22049,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/hu.po",
    "chars": 28109,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/id.po",
    "chars": 26893,
    "preview": "# Indonesian translation for haguichi\n# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012\n# This file is di"
  },
  {
    "path": "po/it.po",
    "chars": 26913,
    "preview": "# Italian translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distr"
  },
  {
    "path": "po/ja.po",
    "chars": 25402,
    "preview": "# Japanese translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is dist"
  },
  {
    "path": "po/kk.po",
    "chars": 26233,
    "preview": "# Kazakh translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distri"
  },
  {
    "path": "po/lt.po",
    "chars": 28293,
    "preview": "# Lithuanian translation for haguichi\n# Copyright (c) 2016 Rosetta Contributors and Canonical Ltd 2016\n# This file is di"
  },
  {
    "path": "po/meson.build",
    "chars": 42,
    "preview": "i18n.gettext(gettext_pkg, preset: 'glib')\n"
  },
  {
    "path": "po/nl.po",
    "chars": 28224,
    "preview": "# Dutch translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distrib"
  },
  {
    "path": "po/pl.po",
    "chars": 27684,
    "preview": "# Polish translation for haguichi\n# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011\n# This file is distri"
  },
  {
    "path": "po/pt.po",
    "chars": 27793,
    "preview": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER\n# This file is distributed under the same "
  },
  {
    "path": "po/pt_BR.po",
    "chars": 27752,
    "preview": "# Brazilian Portuguese translation for haguichi\n# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011\n# This "
  },
  {
    "path": "po/ru.po",
    "chars": 28423,
    "preview": "# Russian translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distr"
  },
  {
    "path": "po/sk.po",
    "chars": 26623,
    "preview": "# Slovak translation for haguichi\n# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014\n# This file is distri"
  },
  {
    "path": "po/sv.po",
    "chars": 27697,
    "preview": "# Swedish translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distr"
  },
  {
    "path": "po/tr.po",
    "chars": 27254,
    "preview": "# Turkish translation for haguichi\n# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010\n# This file is distr"
  },
  {
    "path": "po/uk.po",
    "chars": 28216,
    "preview": "# Ukrainian translation for haguichi\n# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012\n# This file is dis"
  },
  {
    "path": "src/application.vala",
    "chars": 9917,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/bubble.vala",
    "chars": 2448,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2024 Stephen Brandt <stephe"
  },
  {
    "path": "src/command.vala",
    "chars": 13985,
    "preview": " /*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <steph"
  },
  {
    "path": "src/config.vala.in",
    "chars": 366,
    "preview": "namespace Config\n{\n    public const string APP_ID          = \"@APP_ID@\";\n    public const string APP_NAME        = \"@APP"
  },
  {
    "path": "src/connection.vala",
    "chars": 2707,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/controller.vala",
    "chars": 33275,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/custom-command.vala",
    "chars": 2539,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/dialogs/add-edit-command.vala",
    "chars": 4407,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/dialogs/attach.vala",
    "chars": 3402,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/dialogs/change-access.vala",
    "chars": 1740,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/dialogs/change-password.vala",
    "chars": 1070,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/dialogs/confirm.vala",
    "chars": 1515,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/dialogs/join-create-network.vala",
    "chars": 7592,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/hamachi.vala",
    "chars": 35288,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/indicator.vala",
    "chars": 6840,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2024 Stephen Brandt <stephe"
  },
  {
    "path": "src/inhibitor.vala",
    "chars": 3403,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2024 Stephen Brandt <stephe"
  },
  {
    "path": "src/member-event.vala",
    "chars": 1322,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2024 Stephen Brandt <stephe"
  },
  {
    "path": "src/member.vala",
    "chars": 9798,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/meson.build",
    "chars": 1917,
    "preview": "config = configure_file(\n          input: 'config.vala.in',\n         output: 'config.vala',\n  configuration: conf\n)\n\nsou"
  },
  {
    "path": "src/network-list.vala",
    "chars": 27497,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/network.vala",
    "chars": 13935,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/preferences.vala",
    "chars": 17578,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/session.vala",
    "chars": 2223,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2024 Stephen Brandt <stephe"
  },
  {
    "path": "src/sidebar.vala",
    "chars": 9642,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/status-notifier-item.vala",
    "chars": 17129,
    "preview": "/*\n * SNI implementation based on:\n * https://github.com/dino/dino/pull/1209\n *\n * Copyright (C) 2022 Dino contributors\n"
  },
  {
    "path": "src/status.vala",
    "chars": 3159,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2024 Stephen Brandt <stephe"
  },
  {
    "path": "src/utils.vala",
    "chars": 5639,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/widgets/command-entry-row.vala",
    "chars": 1159,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/widgets/command-variable-button.vala",
    "chars": 1632,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/widgets/commands-editor-row.vala",
    "chars": 6113,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/widgets/commands-editor.vala",
    "chars": 8308,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/widgets/sidebar-page.vala",
    "chars": 1554,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2025 Stephen Brandt <stephe"
  },
  {
    "path": "src/widgets/sidebar-row.vala",
    "chars": 1212,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  },
  {
    "path": "src/widgets/throbber.vala",
    "chars": 1018,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2024 Stephen Brandt <stephe"
  },
  {
    "path": "src/window.vala",
    "chars": 23737,
    "preview": "/*\n * This file is part of Haguichi, a graphical frontend for Hamachi.\n * Copyright (C) 2007-2026 Stephen Brandt <stephe"
  }
]

About this extraction

This page contains the full source code of the ztefn/haguichi GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 102 files (1.0 MB), approximately 286.6k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!