mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-08-18 10:39:23 +00:00
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.
31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="DinoUiConversationSelectorView">
|
|
<property name="can_focus">True</property>
|
|
<property name="expand">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkSearchBar" id="search_bar">
|
|
<property name="hexpand">True</property>
|
|
<property name="show_close_button">True</property>
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="primary_icon_name">edit-find-symbolic</property>
|
|
<property name="placeholder_text" translatable="yes">Search</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="scrolled">
|
|
<property name="expand">True</property>
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|