aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2017-05-09 14:53:26 +0200
committerhrxi <hrrrxi@gmail.com>2017-05-09 14:53:26 +0200
commite876f4b3166ed38f55d632c3f736d603d357464d (patch)
tree48518f5c07c66e3be5769c8bbad02a7cb42b838c /main/data
parent9728e832b18e8bbfcc0e011b5b1da9afe6021bf3 (diff)
downloaddino-e876f4b3166ed38f55d632c3f736d603d357464d.tar.gz
dino-e876f4b3166ed38f55d632c3f736d603d357464d.zip
Fix a couple of warnings relating to parents of dialogs
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.
Diffstat (limited to 'main/data')
-rw-r--r--main/data/conversation_selector/view.ui1
-rw-r--r--main/data/manage_accounts/dialog.ui1
-rw-r--r--main/data/settings_dialog.ui3
3 files changed, 1 insertions, 4 deletions
diff --git a/main/data/conversation_selector/view.ui b/main/data/conversation_selector/view.ui
index 72ef268b..5d8e2d69 100644
--- a/main/data/conversation_selector/view.ui
+++ b/main/data/conversation_selector/view.ui
@@ -4,7 +4,6 @@
<property name="can_focus">True</property>
<property name="expand">True</property>
<property name="orientation">vertical</property>
- <property name="visible">True</property>
<child>
<object class="GtkSearchBar" id="search_bar">
<property name="hexpand">True</property>
diff --git a/main/data/manage_accounts/dialog.ui b/main/data/manage_accounts/dialog.ui
index fcfe42ca..c8f2330e 100644
--- a/main/data/manage_accounts/dialog.ui
+++ b/main/data/manage_accounts/dialog.ui
@@ -3,7 +3,6 @@
<template class="DinoUiManageAccountsDialog">
<property name="width-request">700</property>
<property name="height-request">400</property>
- <property name="visible">True</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="title" translatable="yes">Accounts</property>
diff --git a/main/data/settings_dialog.ui b/main/data/settings_dialog.ui
index 7233e858..42448cc1 100644
--- a/main/data/settings_dialog.ui
+++ b/main/data/settings_dialog.ui
@@ -2,7 +2,6 @@
<interface>
<template class="DinoUiSettingsDialog">
<property name="modal">True</property>
- <property name="visible">True</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="title" translatable="yes">Preferences</property>
@@ -47,4 +46,4 @@
</object>
</child>
</template>
-</interface> \ No newline at end of file
+</interface>