do not force CSD in dialogs

This commit is contained in:
guinux
2017-05-10 16:15:58 +02:00
parent 3f963bf4e6
commit 974cfe15ac
6 changed files with 52 additions and 9 deletions

View File

@@ -23,7 +23,9 @@ namespace Pamac {
class ChooseProviderDialog : Gtk.Dialog {
public ChooseProviderDialog (Gtk.ApplicationWindow? window) {
Object (transient_for: window, use_header_bar: 1);
int use_header_bar;
Gtk.Settings.get_default ().get ("gtk-dialogs-use-header", out use_header_bar);
Object (transient_for: window, use_header_bar: use_header_bar);
}
}
}