[gtk+] example: Don't set a nonexisting property
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] example: Don't set a nonexisting property
- Date: Fri, 18 Apr 2014 02:56:54 +0000 (UTC)
commit f521dddaed9c29fc465c4f6e952232277015fc82
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 17 10:52:50 2014 -0700
example: Don't set a nonexisting property
The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.
docs/reference/gtk/getting_started.xml | 5 ++---
examples/application10/window.ui | 1 -
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gtk/getting_started.xml b/docs/reference/gtk/getting_started.xml
index 3cef084..f271e66 100644
--- a/docs/reference/gtk/getting_started.xml
+++ b/docs/reference/gtk/getting_started.xml
@@ -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>
</informalexample>
- <para>A small extra refinement that we have added here is to allow
- the header bar to provide a fallback application menu, by setting
- the show-fallback-app-menu property to TRUE. Here is how the
+ <para>A small extra bonus of using a header bar is that we get
+ a fallback application menu for free. Here is how the
application now looks, if this fallback is used.</para>
<informalfigure>
diff --git a/examples/application10/window.ui b/examples/application10/window.ui
index f90456d..3f7eede 100644
--- a/examples/application10/window.ui
+++ b/examples/application10/window.ui
@@ -9,7 +9,6 @@
<object class="GtkHeaderBar" id="header">
<property name="visible">True</property>
<property name="show-close-button">True</property>
- <property name="show-fallback-app-menu">True</property>
<child>
<object class="GtkLabel" id="lines_label">
<property name="visible">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]