[gnome-system-monitor] Use headerbar for preferences dialog
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Use headerbar for preferences dialog
- Date: Tue, 15 Apr 2014 11:39:11 +0000 (UTC)
commit 646b1915e69b9797f99e6dd34da207c7cb318d50
Author: Robert Roth <robert roth off gmail com>
Date: Tue Apr 15 11:45:53 2014 +0300
Use headerbar for preferences dialog
data/preferences.ui | 29 +----------------------------
1 files changed, 1 insertions(+), 28 deletions(-)
---
diff --git a/data/preferences.ui b/data/preferences.ui
index ce599da..45dad36 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -3,6 +3,7 @@
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkDialog" id="preferences_dialog">
<property name="can_focus">False</property>
+ <property name="use_header_bar">1</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">System Monitor Preferences</property>
<property name="default_width">400</property>
@@ -15,31 +16,6 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog_action_area">
- <property name="can_focus">False</property>
- <child>
- <object class="GtkButton" id="close_button">
- <property name="label" translatable="yes">_Close</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
<object class="GtkGrid" id="content_grid">
<property name="visible">True</property>
@@ -720,8 +696,5 @@
</child>
</object>
</child>
- <action-widgets>
- <action-widget response="-7">close_button</action-widget>
- </action-widgets>
</object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]