[gtk+] docs: don't use itemizedlist
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: don't use itemizedlist
- Date: Wed, 5 Feb 2014 00:55:00 +0000 (UTC)
commit a9c454e0e67305d9aaf54f4dd8ae7241ace627ac
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Feb 4 19:33:43 2014 -0500
docs: don't use itemizedlist
gtk/deprecated/gtkaction.c | 43 ++++++++++++++++++++++------------------
gtk/deprecated/gtkuimanager.c | 11 ++-------
2 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/gtk/deprecated/gtkaction.c b/gtk/deprecated/gtkaction.c
index be7c8e1..5fe0946 100644
--- a/gtk/deprecated/gtkaction.c
+++ b/gtk/deprecated/gtkaction.c
@@ -45,19 +45,26 @@
*
* As well as the callback that is called when the action gets activated,
* the following also gets associated with the action:
- * <itemizedlist>
- * <listitem><para>a name (not translated, for path lookup)</para></listitem>
- * <listitem><para>a label (translated, for display)</para></listitem>
- * <listitem><para>an accelerator</para></listitem>
- * <listitem><para>whether label indicates a stock id</para></listitem>
- * <listitem><para>a tooltip (optional, translated)</para></listitem>
- * <listitem><para>a toolbar label (optional, shorter than label)</para></listitem>
- * </itemizedlist>
+ *
+ * - a name (not translated, for path lookup)
+ *
+ * - a label (translated, for display)
+ *
+ * - an accelerator
+ *
+ * - whether label indicates a stock id
+ *
+ * - a tooltip (optional, translated)
+ *
+ * - a toolbar label (optional, shorter than label)
+ *
+ *
* The action will also have some state information:
- * <itemizedlist>
- * <listitem><para>visible (shown/hidden)</para></listitem>
- * <listitem><para>sensitive (enabled/disabled)</para></listitem>
- * </itemizedlist>
+ *
+ * - visible (shown/hidden)
+ *
+ * - sensitive (enabled/disabled)
+ *
* Apart from regular actions, there are <link linkend="GtkToggleAction">toggle
* actions</link>, which can be toggled between two states and <link
* linkend="GtkRadioAction">radio actions</link>, of which only one in a group
@@ -852,14 +859,12 @@ disconnect_proxy (GtkAction *action,
*
* Updates the visibility of @proxy from the visibility of @action
* according to the following rules:
- * <itemizedlist>
- * <listitem><para>if @action is invisible, @proxy is too
- * </para></listitem>
- * <listitem><para>if @empty is %TRUE, hide @proxy unless the "hide-if-empty"
+
+ * - if @action is invisible, @proxy is too
+ *
+ * - if @empty is %TRUE, hide @proxy unless the "hide-if-empty"
* property of @action indicates otherwise
- * </para></listitem>
- * </itemizedlist>
- *
+ *
* This function is used in the implementation of #GtkUIManager.
*
* Deprecated: 3.10
diff --git a/gtk/deprecated/gtkuimanager.c b/gtk/deprecated/gtkuimanager.c
index 53f8728..edad1b1 100644
--- a/gtk/deprecated/gtkuimanager.c
+++ b/gtk/deprecated/gtkuimanager.c
@@ -237,14 +237,9 @@
* impossible to know in advance whether they will end up empty after merging.
* #GtkUIManager offers two ways to treat empty submenus:
*
- * <itemizedlist>
- * <listitem>
- * <para>make them disappear by hiding the menu item they're attached to</para>
- * </listitem>
- * <listitem>
- * <para>add an insensitive "Empty" item</para>
- * </listitem>
- * </itemizedlist>
+ * - make them disappear by hiding the menu item they're attached to
+ *
+ * - add an insensitive "Empty" item
*
* The behaviour is chosen based on the "hide_if_empty" property of the action
* to which the submenu is associated.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]