2018-04-17 07:13:33 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Generated with glade 3.20.2 -->
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.20"/>
|
|
|
|
|
2020-09-06 02:44:29 +00:00
|
|
|
<object class="GtkDialog" id="direct_chat_dialog">
|
2019-01-29 20:10:01 +00:00
|
|
|
<property name="default_width">400</property>
|
2018-04-17 07:13:33 +00:00
|
|
|
<property name="height_request">300</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="modal">True</property>
|
|
|
|
<property name="window_position">center</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>
|
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<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="orientation">vertical</property>
|
|
|
|
<child>
|
2018-10-07 16:22:20 +00:00
|
|
|
<object class="GtkBox" id="to_chat_entry_box">
|
2018-04-17 07:13:33 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2018-10-07 08:06:19 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2018-12-23 00:23:07 +00:00
|
|
|
<property name="margin">6</property>
|
2018-10-06 11:12:41 +00:00
|
|
|
<child>
|
2018-10-07 08:06:19 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
2018-10-06 11:12:41 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2018-10-07 08:06:19 +00:00
|
|
|
<property name="hscrollbar_policy">external</property>
|
|
|
|
<property name="vscrollbar_policy">never</property>
|
|
|
|
<child>
|
2018-10-07 16:22:20 +00:00
|
|
|
<object class="GtkTextView" id="to_chat_entry">
|
2018-10-07 08:06:19 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2018-10-13 09:02:02 +00:00
|
|
|
<property name="accepts_tab">False</property>
|
2018-10-07 08:06:19 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2018-10-06 11:12:41 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2018-04-17 07:13:33 +00:00
|
|
|
<style>
|
2018-10-07 08:06:19 +00:00
|
|
|
<class name="message-input"/>
|
2018-04-17 07:13:33 +00:00
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="direct_chat_search_scroll">
|
|
|
|
<property name="height_request">150</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="hscrollbar_policy">never</property>
|
2018-12-23 00:23:07 +00:00
|
|
|
<property name="expand">True</property>
|
|
|
|
<style>
|
|
|
|
<class name="scrollarea-top-border"/>
|
|
|
|
</style>
|
2018-04-17 07:13:33 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkViewport">
|
|
|
|
<property name="height_request">150</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkListBox" id="direct_chat_search_box">
|
|
|
|
<property name="height_request">150</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="selection_mode">none</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar">
|
2019-01-29 20:10:01 +00:00
|
|
|
<property name="width_request">360</property>
|
2018-04-17 07:13:33 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="title" translatable="yes">New direct chat</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="cancel_direct_chat">
|
|
|
|
<property name="label" translatable="yes">Cancel</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="direct_chat_button">
|
|
|
|
<property name="label" translatable="yes">Start chat</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<style>
|
|
|
|
<class name="suggested-action"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
|
|
|
|
</interface>
|