[recipes] Make it an actual dialog



commit 438ecf5676e7243683c9ef150632accd544bda5a
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 14 19:11:19 2017 -0400

    Make it an actual dialog
    
    The main advantage is that Escape works to close it
    without any extra work.

 src/recipe-surprise.ui |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/recipe-surprise.ui b/src/recipe-surprise.ui
index d612f61..64c2b4c 100644
--- a/src/recipe-surprise.ui
+++ b/src/recipe-surprise.ui
@@ -1,6 +1,6 @@
 <?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="resizable">0</property>
     <property name="type-hint">dialog</property>
@@ -15,7 +15,7 @@
         <property name="show-close-button">0</property>
       </object>
     </child>
-    <child>
+    <child internal-child="vbox">
       <object class="GtkBox">
         <property name="visible">1</property>
         <property name="margin">20</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]