2021-03-26 01:59:07 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-04-23 17:32:13 +03:00
|
|
|
<!-- Generated with glade 3.38.2 -->
|
2021-03-26 01:59:07 +02:00
|
|
|
<!--
|
|
|
|
Copyright (c) 2021 hiimgoodpack
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
|
this software and associated documentation files (the "Software"), to deal in
|
|
|
|
the Software without restriction, including without limitation the rights to
|
|
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
|
|
of the Software, and to permit persons to whom the Software is furnished to do
|
|
|
|
so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
SOFTWARE.
|
|
|
|
-->
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.24"/>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkApplicationWindow" id="ChatWindow">
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="default-width">500</property>
|
|
|
|
<property name="default-height">300</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkPaned" id="Chat">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">True</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<!-- n-columns=2 n-rows=1 -->
|
|
|
|
<object class="GtkGrid">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">False</property>
|
2021-03-26 18:06:08 +02:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkScrolledWindow">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
2021-03-26 18:06:08 +02:00
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkViewport">
|
2021-03-26 18:06:08 +02:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="Channels">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-03-26 18:06:08 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-03-26 01:59:07 +02:00
|
|
|
</object>
|
2021-04-23 17:32:13 +03:00
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
<property name="width">2</property>
|
|
|
|
</packing>
|
2021-03-26 01:59:07 +02:00
|
|
|
</child>
|
|
|
|
</object>
|
2021-03-26 18:06:08 +02:00
|
|
|
<packing>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="resize">True</property>
|
|
|
|
<property name="shrink">True</property>
|
2021-03-26 18:06:08 +02:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<!-- n-columns=3 n-rows=3 -->
|
|
|
|
<object class="GtkGrid">
|
2021-03-26 18:06:08 +02:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkScrolledWindow">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="shadow-type">in</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkViewport">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkListBox" id="Messages">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="selection-mode">none</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkListBoxRow">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="label" translatable="yes">No channel has been opened.
|
2021-03-26 01:59:07 +02:00
|
|
|
Select a channel on the box to the left.</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="wrap">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-03-26 01:59:07 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2021-04-23 17:32:13 +03:00
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
<property name="width">3</property>
|
|
|
|
<property name="height">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="Message">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="is-focus">True</property>
|
|
|
|
<property name="margin-start">1</property>
|
|
|
|
<property name="margin-end">1</property>
|
|
|
|
<property name="margin-top">1</property>
|
|
|
|
<property name="margin-bottom">1</property>
|
|
|
|
<property name="max-length">2000</property>
|
|
|
|
<property name="secondary-icon-name">face-smile-symbolic</property>
|
|
|
|
<property name="secondary-icon-tooltip-markup" translatable="yes">Insert Emoji</property>
|
|
|
|
<property name="placeholder-text" translatable="yes">Message (2000 character max)</property>
|
|
|
|
<property name="input-hints">GTK_INPUT_HINT_SPELLCHECK | GTK_INPUT_HINT_WORD_COMPLETION | GTK_INPUT_HINT_EMOJI | GTK_INPUT_HINT_NONE</property>
|
|
|
|
<property name="show-emoji-icon">True</property>
|
|
|
|
<property name="enable-emoji-completion">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">2</property>
|
|
|
|
<property name="width">3</property>
|
|
|
|
</packing>
|
2021-03-26 01:59:07 +02:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="resize">True</property>
|
|
|
|
<property name="shrink">True</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
</packing>
|
|
|
|
</child>
|
2021-04-23 17:32:13 +03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar" id="ChatHeader">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="title" translatable="yes">Welcome</property>
|
|
|
|
<property name="show-close-button">True</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkLabel" id="UsernameLabel">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="label" translatable="yes">[Username]</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkMessageDialog" id="Error">
|
|
|
|
<property name="can-focus">False</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="modal">True</property>
|
|
|
|
<property name="destroy-with-parent">True</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="type-hint">dialog</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="urgency-hint">True</property>
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="buttons">ok</property>
|
|
|
|
<property name="text" translatable="yes">An error has occured</property>
|
|
|
|
<property name="secondary-text" translatable="yes">[Error message goes here]</property>
|
2021-03-26 18:06:08 +02:00
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<child internal-child="action_area">
|
|
|
|
<object class="GtkButtonBox">
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2021-03-26 01:59:07 +02:00
|
|
|
</object>
|
2021-04-23 17:32:13 +03:00
|
|
|
<object class="GtkApplicationWindow" id="LoginWindow">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<!-- n-columns=2 n-rows=4 -->
|
|
|
|
<object class="GtkGrid" id="Login">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="row-homogeneous">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
<property name="label" translatable="yes">Domain:</property>
|
|
|
|
<property name="justify">right</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
<property name="label" translatable="yes">Username:</property>
|
|
|
|
<property name="justify">right</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
<property name="label" translatable="yes">Password:</property>
|
|
|
|
<property name="justify">right</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="Domain">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
<property name="placeholder-text" translatable="yes">example.com</property>
|
|
|
|
<property name="input-purpose">url</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="Username">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
<property name="max-length">32</property>
|
|
|
|
<property name="width-chars">32</property>
|
|
|
|
<property name="caps-lock-warning">False</property>
|
|
|
|
<property name="input-purpose">name</property>
|
|
|
|
<property name="input-hints">GTK_INPUT_HINT_LOWERCASE | GTK_INPUT_HINT_UPPERCASE_CHARS | GTK_INPUT_HINT_NONE</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="Password">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="max-length">128</property>
|
|
|
|
<property name="visibility">False</property>
|
|
|
|
<property name="width-chars">32</property>
|
|
|
|
<property name="input-purpose">password</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="LoginButton">
|
|
|
|
<property name="label" translatable="yes">Log in</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">True</property>
|
|
|
|
<property name="receives-default">True</property>
|
|
|
|
<property name="margin-start">5</property>
|
|
|
|
<property name="margin-end">5</property>
|
|
|
|
<property name="margin-top">5</property>
|
|
|
|
<property name="margin-bottom">5</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
2021-03-26 01:59:07 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-04-23 17:32:13 +03:00
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar">
|
2021-03-26 01:59:07 +02:00
|
|
|
<property name="visible">True</property>
|
2021-04-23 17:32:13 +03:00
|
|
|
<property name="can-focus">False</property>
|
|
|
|
<property name="title" translatable="yes">Login</property>
|
|
|
|
<property name="show-close-button">True</property>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
2021-03-26 01:59:07 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|