[nautilus] Properties: Use use-header-bar
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Properties: Use use-header-bar
- Date: Thu, 3 Jul 2014 12:08:37 +0000 (UTC)
commit 7c45aa8f84db9e2f038d2b90dfc1d8150980bb18
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 3 08:06:35 2014 -0400
Properties: Use use-header-bar
Setting up the headerbar manually like this only worked by accident
before. Recent GTK+ changes made it come up with an empty headerbar.
src/nautilus-file-management-properties.ui | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/nautilus-file-management-properties.ui b/src/nautilus-file-management-properties.ui
index f970a38..dfe6329 100644
--- a/src/nautilus-file-management-properties.ui
+++ b/src/nautilus-file-management-properties.ui
@@ -6,14 +6,8 @@
<property name="border_width">0</property>
<property name="window_position">center</property>
<property name="type_hint">dialog</property>
- <child type="titlebar">
- <object class="GtkHeaderBar" id="headerbar">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="show-close-button">True</property>
- <property name="title" translatable="yes">Files Preferences</property>
- </object>
- </child>
+ <property name="title" translatable="yes">Files Preferences</property>
+ <property name="use_header_bar">1</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]