example: Don't set a nonexisting property

The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.
This commit is contained in:
Matthias Clasen 2014-04-17 10:52:50 -07:00
parent e4e75a94f5
commit f521dddaed
2 changed files with 2 additions and 4 deletions

View File

@ -982,9 +982,8 @@ example_app_window_init (ExampleAppWindow *win)
<programlisting><xi:include href="../../../../examples/application10/window.ui" parse="text"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting> <programlisting><xi:include href="../../../../examples/application10/window.ui" parse="text"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
</informalexample> </informalexample>
<para>A small extra refinement that we have added here is to allow <para>A small extra bonus of using a header bar is that we get
the header bar to provide a fallback application menu, by setting a fallback application menu for free. Here is how the
the show-fallback-app-menu property to TRUE. Here is how the
application now looks, if this fallback is used.</para> application now looks, if this fallback is used.</para>
<informalfigure> <informalfigure>

View File

@ -9,7 +9,6 @@
<object class="GtkHeaderBar" id="header"> <object class="GtkHeaderBar" id="header">
<property name="visible">True</property> <property name="visible">True</property>
<property name="show-close-button">True</property> <property name="show-close-button">True</property>
<property name="show-fallback-app-menu">True</property>
<child> <child>
<object class="GtkLabel" id="lines_label"> <object class="GtkLabel" id="lines_label">
<property name="visible">False</property> <property name="visible">False</property>