e876f4b316
Fixes these kind of warnings: ``` (dino:<PID>): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion 'parent == NULL || GTK_IS_WINDOW (parent)' failed Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. (dino:<PID>): GLib-GObject-WARNING **: invalid cast from 'GtkPaned' to 'GtkWindow' ``` Also centers these dialogs (settings, add chat, join conversation) on top of their parent windows.
50 lines
2.4 KiB
XML
50 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="DinoUiSettingsDialog">
|
|
<property name="modal">True</property>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="title" translatable="yes">Preferences</property>
|
|
<property name="show_close_button">True</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkGrid">
|
|
<property name="margin">10</property>
|
|
<property name="row-spacing">10</property>
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkCheckButton" id="marker_checkbutton">
|
|
<property name="label" translatable="yes">Send typing notifications and message marker</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="emoji_checkbutton">
|
|
<property name="label" translatable="yes">Convert smileys to emojis</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|