[gtk+] widget factory: Style the revealer as a notification



commit 73b9d4d86be57bd5431313790cb808c1006799d6
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Feb 4 15:57:22 2014 -0500

    widget factory: Style the revealer as a notification
    
    Just to show that this is essentially the same as GdNotification
    already.

 demos/widget-factory/widget-factory.ui |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 1f9b430..17a9008 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -139,7 +139,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
-        <property name="border-width">10</property>
         <child>
           <object class="GtkStack" id="toplevel_stack">
             <property name="visible">True</property>
@@ -147,6 +146,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
               <object class="GtkBox" id="page1">
                 <property name="visible">True</property>
                 <property name="orientation">vertical</property>
+                <property name="border-width">10</property>
                 <property name="spacing">10</property>
                 <child>
                   <object class="GtkBox" id="box2">
@@ -1750,7 +1750,9 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                     <child>
                       <object class="GtkFrame" id="page2frame">
                         <property name="visible">True</property>
-                        <property name="margin-top">2</property>
+                        <style>
+                          <class name="app-notification"/>
+                        </style>
                         <child>
                           <object class="GtkBox" id="page2box">
                             <property name="visible">True</property>
@@ -1770,6 +1772,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                             <child>
                               <object class="GtkButton" id="page2dismiss">
                                 <property name="visible">True</property>
+                                <property name="relief">none</property>
                                 <child>
                                   <object class="GtkImage" id="page2dismissi">
                                     <property name="visible">True</property>
@@ -1791,7 +1794,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                     <property name="column-homogeneous">True</property>
                     <property name="row-spacing">6</property>
                     <property name="column-spacing">6</property>
-                    <property name="border-width">6</property>
+                    <property name="border-width">16</property>
                     <child>
                       <object class="GtkBox" id="page2box1">
                         <property name="visible">True</property>


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