[recipes] Make the whats new dialog a dialog
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Make the whats new dialog a dialog
- Date: Wed, 1 Mar 2017 03:41:46 +0000 (UTC)
commit 569b730cfa7699b17aa4899c8f2548e8f88c3536
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 28 22:41:04 2017 -0500
Make the whats new dialog a dialog
This lets us adapt to platform conventions.
src/recipe-whats-new-dialog.ui | 33 +++++++++++++++------------------
1 files changed, 15 insertions(+), 18 deletions(-)
---
diff --git a/src/recipe-whats-new-dialog.ui b/src/recipe-whats-new-dialog.ui
index 092084a..16f1b73 100644
--- a/src/recipe-whats-new-dialog.ui
+++ b/src/recipe-whats-new-dialog.ui
@@ -1,31 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gnome-recipes">
- <object class="GtkWindow" id="dialog">
+ <object class="GtkDialog" id="dialog">
<property name="modal">1</property>
<property name="default-width">400</property>
<property name="default-height">600</property>
<property name="resizable">0</property>
<property name="title" translatable="yes">What’s New in Recipes</property>
<property name="destroy-with-parent">1</property>
- <child type="titlebar">
- <object class="GtkHeaderBar">
- <property name="visible">1</property>
- <property name="title" translatable="yes">What’s New in Recipes</property>
- <property name="show-close-button">1</property>
- </object>
- </child>
- <child>
- <object class="GtkScrolledWindow">
- <property name="visible">1</property>
- <property name="hscrollbar-policy">never</property>
- <property name="vscrollbar-policy">automatic</property>
- <property name="min-content-height">600</property>
+ <child internal-child="vbox">
+ <object class="GtkBox">
<child>
- <object class="GtkBox" id="box">
+ <object class="GtkScrolledWindow">
<property name="visible">1</property>
- <property name="margin">20</property>
- <property name="spacing">20</property>
- <property name="orientation">vertical</property>
+ <property name="hscrollbar-policy">never</property>
+ <property name="vscrollbar-policy">automatic</property>
+ <property name="min-content-height">600</property>
+ <child>
+ <object class="GtkBox" id="box">
+ <property name="visible">1</property>
+ <property name="margin">20</property>
+ <property name="spacing">20</property>
+ <property name="orientation">vertical</property>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]