From e876f4b3166ed38f55d632c3f736d603d357464d Mon Sep 17 00:00:00 2001 From: hrxi Date: Tue, 9 May 2017 14:53:26 +0200 Subject: [PATCH] Fix a couple of warnings relating to parents of dialogs Fixes these kind of warnings: ``` (dino:): 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:): GLib-GObject-WARNING **: invalid cast from 'GtkPaned' to 'GtkWindow' ``` Also centers these dialogs (settings, add chat, join conversation) on top of their parent windows. --- main/data/conversation_selector/view.ui | 1 - main/data/manage_accounts/dialog.ui | 1 - main/data/settings_dialog.ui | 3 +-- main/src/ui/conversation_list_titlebar.vala | 6 +++--- 4 files changed, 4 insertions(+), 7 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 @@ True True vertical - True True 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 @@