diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-01-12 20:12:31 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-12 22:25:19 -0500 |
commit | f940a60fd514dacee9194f142e05bedd651bcd7e (patch) | |
tree | af8f4e605e932a8f5bec215ab7858ba0750741a1 /demos | |
parent | 5657b805d755f507f7b76b13cae60d75f5452e94 (diff) | |
download | gtk+-f940a60fd514dacee9194f142e05bedd651bcd7e.tar.gz |
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.
Diffstat (limited to 'demos')
-rw-r--r-- | 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 a0801f5de0..68757a94cd 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> |