summaryrefslogtreecommitdiff
path: root/src/data_imports/DataImportsUI.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:34:32 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:34:32 +0200
commit49120f48474fc8fdc2448c75d961bc238213cfac (patch)
tree05bcdb95d65a807cf0f1ffffd066c09074b5cf56 /src/data_imports/DataImportsUI.vala
parent2492891f112caac6076ce49721d9d5d78a152c3a (diff)
New upstream version 0.28.2upstream/0.28.2
Diffstat (limited to 'src/data_imports/DataImportsUI.vala')
-rw-r--r--src/data_imports/DataImportsUI.vala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/data_imports/DataImportsUI.vala b/src/data_imports/DataImportsUI.vala
index 2c0cd40..29791a4 100644
--- a/src/data_imports/DataImportsUI.vala
+++ b/src/data_imports/DataImportsUI.vala
@@ -208,9 +208,8 @@ public class DataImportsDialog : Gtk.Dialog {
private Spit.DataImports.ConcreteDataImportsHost host;
protected DataImportsDialog() {
- bool use_header = false;
- Gtk.Settings.get_default ().get ("gtk-dialogs-use-header", out use_header);
- Object(use_header_bar: use_header ? 1 : 0);
+ bool use_header = Resources.use_header_bar() == 1;
+ Object(use_header_bar: Resources.use_header_bar());
if (use_header)
((Gtk.HeaderBar) get_header_bar()).set_show_close_button(false);