summaryrefslogtreecommitdiff
path: root/src/Properties.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/Properties.vala')
-rw-r--r--src/Properties.vala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Properties.vala b/src/Properties.vala
index 1f59040..3cbd5af 100644
--- a/src/Properties.vala
+++ b/src/Properties.vala
@@ -633,10 +633,8 @@ private class ExtendedPropertiesWindow : Gtk.Dialog {
}
public ExtendedPropertiesWindow(Gtk.Window owner) {
- bool use_header;
- Gtk.Settings.get_default ().get ("gtk-dialogs-use-header", out use_header);
- Object(use_header_bar: use_header ? 1 : 0);
-
+ Object(use_header_bar: Resources.use_header_bar());
+
add_events(Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.KEY_PRESS_MASK);
focus_on_map = true;
set_accept_focus(true);