mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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:
parent
e4e75a94f5
commit
f521dddaed
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user