[swell-foop] Use headerbar for preferences dialog https://bugzilla.gnome.org/show_bug.cgi?id=728390
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop] Use headerbar for preferences dialog https://bugzilla.gnome.org/show_bug.cgi?id=728390
- Date: Fri, 18 Apr 2014 02:56:37 +0000 (UTC)
commit 8ead479f2e253292848db359b9acb2b481b0573b
Author: Robert Roth <robert roth off gmail com>
Date: Fri Apr 18 03:13:00 2014 +0300
Use headerbar for preferences dialog https://bugzilla.gnome.org/show_bug.cgi?id=728390
configure.ac | 2 +-
data/preferences.ui | 34 ++--------------------------------
2 files changed, 3 insertions(+), 33 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ad68060..e95143c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ dnl Dependencies
dnl ###########################################################################
GLIB_REQUIRED=2.36.0
-GTK_REQUIRED=3.10
+GTK_REQUIRED=3.12
CLUTTER_REQUIRED=1.14.0
CLUTTER_GTK_REQUIRED=1.5.0
diff --git a/data/preferences.ui b/data/preferences.ui
index dc78b9c..9af7909 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Sun Dec 8 10:47:18 2013 -->
<interface>
- <!-- interface-requires gtk+ 3.0 -->
+ <!-- interface-requires gtk+ 3.12 -->
<object class="GtkAdjustment" id="color-adjustment">
<property name="lower">2</property>
<property name="upper">4</property>
@@ -27,6 +27,7 @@
<object class="GtkDialog" id="preferences">
<property name="can_focus">False</property>
<property name="border_width">5</property>
+ <property name="use_header_bar">1</property>
<property name="title" translatable="yes">Preferences</property>
<property name="icon_name">gnome-swell-foop</property>
<child internal-child="vbox">
@@ -297,39 +298,8 @@
<property name="position">0</property>
</packing>
</child>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="close-button">
- <property name="label">gtk-close</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</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>
</object>
</child>
- <action-widgets>
- <action-widget response="0">close-button</action-widget>
- </action-widgets>
</object>
<object class="GtkAdjustment" id="rows-adjustment">
<property name="lower">3</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]