[gtk+] gtk-demo: Use primary-toolbar style in the application example



commit f940a60fd514dacee9194f142e05bedd651bcd7e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 12 20:12:31 2014 -0500

    gtk-demo: Use primary-toolbar style in the application example
    
    Adwaita correctly restricts window-dragging to primary toolbars,
    Mark our toolbar as primary to test this.

 demos/gtk-demo/application.ui |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/application.ui b/demos/gtk-demo/application.ui
index a0801f5..68757a9 100644
--- a/demos/gtk-demo/application.ui
+++ b/demos/gtk-demo/application.ui
@@ -6,6 +6,9 @@
         <property name="orientation">horizontal</property>
         <property name="halign">fill</property>
         <property name="hexpand">True</property>
+        <style>
+          <class name="primary-toolbar"/>
+        </style>
         <child>
           <object class="GtkMenuToolButton" id="menutool">
             <property name="icon-name">document-open</property>


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