1179 lines
59 KiB
XML
1179 lines
59 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.20.0 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkListStore" id="members_store">
|
|
<columns>
|
|
<!-- column-name alias -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name uid -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkListStore" id="protocol_model">
|
|
<columns>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name desc -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkTreeStore" id="rooms_tree_store">
|
|
<columns>
|
|
<!-- column-name name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name unread -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkApplicationWindow" id="main_window">
|
|
<property name="can_focus">False</property>
|
|
<property name="show_menubar">False</property>
|
|
<child>
|
|
<object class="GtkStack" id="main_content_stack">
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkBox" id="current_room">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="width_request">200</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="shadow_type">in</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="rooms_tree_view">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="model">rooms_tree_store</property>
|
|
<property name="headers_visible">False</property>
|
|
<property name="activate_on_single_click">True</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="min_width">200</property>
|
|
<property name="max_width">200</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="room_view_stack">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkBox" id="focused_room">
|
|
<property name="name">room</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox" id="room_header">
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_left">8</property>
|
|
<property name="margin_right">8</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="border_width">4</property>
|
|
<property name="spacing">8</property>
|
|
<child>
|
|
<object class="GtkImage" id="room_image">
|
|
<property name="can_focus">False</property>
|
|
<property name="stock">gtk-missing-image</property>
|
|
<property name="pixel_size">48</property>
|
|
<property name="icon_size">5</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_top">4</property>
|
|
<property name="margin_bottom">4</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">4</property>
|
|
<child>
|
|
<object class="GtkLabel" id="room_name">
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="label" translatable="yes"><Room name></property>
|
|
<property name="ellipsize">end</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="room_topic">
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="label" translatable="yes"><Description></property>
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="relief">none</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">edit-find</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="pack_type">end</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="room_config_button">
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="valign">center</property>
|
|
<property name="relief">none</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">preferences-system</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="pack_type">end</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="messages_scroll">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="shadow_type">in</property>
|
|
<property name="min_content_width">300</property>
|
|
<property name="min_content_height">300</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkListBox" id="message_list">
|
|
<property name="width_request">300</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="vexpand">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="room_message_box">
|
|
<property name="can_focus">False</property>
|
|
<property name="border_width">4</property>
|
|
<property name="spacing">4</property>
|
|
<child>
|
|
<object class="GtkEntry" id="msg_entry">
|
|
<property name="can_focus">True</property>
|
|
<property name="valign">center</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToolbar">
|
|
<property name="can_focus">False</property>
|
|
<property name="toolbar_style">icons</property>
|
|
<child>
|
|
<object class="GtkToolButton" id="send_button">
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">Send</property>
|
|
<property name="stock_id">gtk-ok</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="sidebar_stack">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hhomogeneous">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox" id="members_top_buttons">
|
|
<property name="width_request">200</property>
|
|
<property name="height_request">63</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="members_hide_button">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="relief">none</property>
|
|
<child>
|
|
<object class="GtkArrow">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStackSwitcher" id="room_sidebar_stack_switcher">
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="border_width">5</property>
|
|
<property name="stack">room_sidebar_stack</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="room_sidebar_stack">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="shadow_type">in</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="members_treeview">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="model">members_store</property>
|
|
<property name="headers_visible">False</property>
|
|
<property name="enable_grid_lines">vertical</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">name</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">Members</property>
|
|
<property name="title" translatable="yes">Members</property>
|
|
<property name="icon_name">contact-new</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes"><Files></property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">Files</property>
|
|
<property name="title" translatable="yes">Fies</property>
|
|
<property name="icon_name">mail-attachment</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes"><Notifications></property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">Notifications</property>
|
|
<property name="title" translatable="yes">Notifications</property>
|
|
<property name="icon_name">preferences-system-notifications</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">sidebar_members</property>
|
|
<property name="title" translatable="yes">sidebar_members</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="width_request">20</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="members_show_button">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="relief">none</property>
|
|
<child>
|
|
<object class="GtkArrow">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="arrow_type">left</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">sidebar_hidden</property>
|
|
<property name="title" translatable="yes">sidebar_hidden</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">room_view</property>
|
|
<property name="title" translatable="yes">room_view</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSpinner">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">loading</property>
|
|
<property name="title" translatable="yes">loading</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">No room selected
|
|
Join a room to start to chat</property>
|
|
<property name="justify">center</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">noroom</property>
|
|
<property name="title" translatable="yes">No room</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">Chat</property>
|
|
<property name="title" translatable="yes">Chat</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="directory_room_view">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_left">5</property>
|
|
<property name="margin_right">5</property>
|
|
<property name="margin_top">5</property>
|
|
<property name="margin_bottom">5</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="directory_search_entry">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="primary_icon_name">edit-find-symbolic</property>
|
|
<property name="primary_icon_activatable">False</property>
|
|
<property name="primary_icon_sensitive">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="directory_combo">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="model">protocol_model</property>
|
|
<property name="active_id">desc</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="desc"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="directory_search_button">
|
|
<property name="label" translatable="yes">Search</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="directory_scroll">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="shadow_type">in</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkListBox" id="directory_room_list">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">directory</property>
|
|
<property name="title" translatable="yes">Directory</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="can_focus">False</property>
|
|
<property name="show_close_button">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="user_button">
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">False</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkStack" id="user_button_stack">
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">4</property>
|
|
<child>
|
|
<object class="GtkSpinner">
|
|
<property name="can_focus">False</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">Loading...</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">user_loading_page</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">4</property>
|
|
<child>
|
|
<object class="GtkImage" id="profile_image">
|
|
<property name="can_focus">False</property>
|
|
<property name="icon_name">image-missing</property>
|
|
<property name="icon_size">3</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="display_name_label">
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes"><Display Name></property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">user_connected_page</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="title">
|
|
<object class="GtkStackSwitcher">
|
|
<property name="can_focus">False</property>
|
|
<property name="valign">center</property>
|
|
<property name="stack">main_content_stack</property>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkDialog" id="room_config_dialog">
|
|
<property name="can_focus">False</property>
|
|
<property name="resizable">False</property>
|
|
<property name="modal">True</property>
|
|
<property name="destroy_with_parent">True</property>
|
|
<property name="type_hint">dialog</property>
|
|
<property name="deletable">False</property>
|
|
<property name="gravity">center</property>
|
|
<property name="transient_for">main_window</property>
|
|
<property name="attached_to">main_window</property>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child internal-child="action_area">
|
|
<object class="GtkButtonBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="layout_style">end</property>
|
|
<child>
|
|
<object class="GtkButton" id="room_dialog_set">
|
|
<property name="label">gtk-apply</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="use_stock">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="room_dialog_close">
|
|
<property name="label">gtk-cancel</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="use_stock">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_left">10</property>
|
|
<property name="margin_right">10</property>
|
|
<property name="margin_top">10</property>
|
|
<property name="margin_bottom">80</property>
|
|
<property name="row_spacing">5</property>
|
|
<property name="column_spacing">10</property>
|
|
<property name="column_homogeneous">True</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="label" translatable="yes">Avatar</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="halign">end</property>
|
|
<property name="label" translatable="yes">Name</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="halign">end</property>
|
|
<property name="label" translatable="yes">Topic</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkImage" id="room_avatar_image">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="stock">gtk-missing-image</property>
|
|
<property name="icon_size">6</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFileChooserButton" id="room_avatar_filechooser">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="title" translatable="yes"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="pack_type">end</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="room_name_entry">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="secondary_icon_tooltip_text" translatable="yes">room name</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="room_topic_entry">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="secondary_icon_tooltip_text" translatable="yes">room topic</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="room_leave_button">
|
|
<property name="label">gtk-quit</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="use_stock">True</property>
|
|
<property name="always_show_image">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">end</property>
|
|
<property name="label" translatable="yes">Leave this room</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="padding">1</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkPopover" id="user_menu">
|
|
<property name="can_focus">False</property>
|
|
<property name="relative_to">user_button</property>
|
|
<property name="position">bottom</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_left">5</property>
|
|
<property name="margin_right">5</property>
|
|
<property name="margin_top">5</property>
|
|
<property name="margin_bottom">5</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkStackSwitcher" id="user_menu_stack_switcher">
|
|
<property name="can_focus">False</property>
|
|
<property name="halign">center</property>
|
|
<property name="stack">user_menu_stack</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="user_menu_stack">
|
|
<property name="can_focus">False</property>
|
|
<property name="vhomogeneous">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="name">5</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_top">5</property>
|
|
<property name="margin_bottom">5</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkEntry" id="login_username">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="secondary_icon_name">face-plain</property>
|
|
<property name="placeholder_text" translatable="yes">User name</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="login_password">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="visibility">False</property>
|
|
<property name="secondary_icon_stock">gtk-dialog-authentication</property>
|
|
<property name="placeholder_text" translatable="yes">Password</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="login_server">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="text" translatable="yes">https://matrix.org</property>
|
|
<property name="secondary_icon_name">applications-internet</property>
|
|
<property name="placeholder_text" translatable="yes">Server</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="login_button">
|
|
<property name="label" translatable="yes">Login</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">login</property>
|
|
<property name="title" translatable="yes">Login</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_top">5</property>
|
|
<property name="margin_bottom">5</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkEntry" id="register_username">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="secondary_icon_name">face-wink</property>
|
|
<property name="placeholder_text" translatable="yes">Username</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="register_password">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="visibility">False</property>
|
|
<property name="secondary_icon_name">dialog-password</property>
|
|
<property name="placeholder_text" translatable="yes">Password</property>
|
|
<property name="input_purpose">password</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="register_password_confirm">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="visibility">False</property>
|
|
<property name="secondary_icon_name">dialog-password</property>
|
|
<property name="placeholder_text" translatable="yes">Repeat the password</property>
|
|
<property name="input_purpose">password</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="register_server">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="text" translatable="yes">https://matrix.org</property>
|
|
<property name="secondary_icon_name">applications-internet</property>
|
|
<property name="secondary_icon_tooltip_text" translatable="yes">server</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="register_button">
|
|
<property name="label" translatable="yes">register</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">5</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">register</property>
|
|
<property name="title" translatable="yes">Register</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_top">5</property>
|
|
<property name="margin_bottom">5</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkEntry" id="guest_server">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="text" translatable="yes">https://matrix.org</property>
|
|
<property name="secondary_icon_name">applications-internet</property>
|
|
<property name="secondary_icon_tooltip_text" translatable="yes">server</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="guest_button">
|
|
<property name="label" translatable="yes">Login as Guest</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">guest</property>
|
|
<property name="title" translatable="yes">Guest</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|