fractal/fractal-gtk/res/ui/direct_chat.ui
Christopher Davis fd595d1ca7 direct_chat: Minimize use of child properties
Remove all redundant child properties, as child
properties are gone in GTK4
2020-11-06 08:12:13 +00:00

115 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkDialog" id="direct_chat_dialog">
<property name="default_width">400</property>
<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>
<object class="GtkBox" id="to_chat_entry_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="margin">6</property>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">external</property>
<property name="vscrollbar_policy">never</property>
<child>
<object class="GtkTextView" id="to_chat_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="accepts_tab">False</property>
</object>
</child>
</object>
</child>
<style>
<class name="message-input"/>
</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>
<property name="expand">True</property>
<style>
<class name="scrollarea-top-border"/>
</style>
<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">
<property name="width_request">360</property>
<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>