From 31bbafa2c80fbf09b892c477232577224077c2b9 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 9 May 2017 16:09:06 +0200 Subject: ManageAccounts: Window -> Dialog --- main/src/ui/manage_accounts/dialog.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/src') diff --git a/main/src/ui/manage_accounts/dialog.vala b/main/src/ui/manage_accounts/dialog.vala index 24a8b47c..858332e6 100644 --- a/main/src/ui/manage_accounts/dialog.vala +++ b/main/src/ui/manage_accounts/dialog.vala @@ -8,7 +8,7 @@ using Dino.Entities; namespace Dino.Ui.ManageAccounts { [GtkTemplate (ui = "/org/dino-im/manage_accounts/dialog.ui")] -public class Dialog : Gtk.Window { +public class Dialog : Gtk.Dialog { public signal void account_enabled(Account account); public signal void account_disabled(Account account); @@ -75,6 +75,7 @@ public class Dialog : Gtk.Window { } public Dialog(StreamInteractor stream_interactor, Database db) { + Object(use_header_bar : 1); this.db = db; this.stream_interactor = stream_interactor; foreach (Account account in db.get_accounts()) { -- cgit v1.2.3-70-g09d2