[anjuta] Fixed and added anjuta_shell_add_widget_custom documentation.



commit f49204e7a66d63a6d3d29f162ac010b535c5e52e
Author: Krzesimir Nowak <krnowak svn gnome org>
Date:   Sat Jul 11 16:50:17 2009 +0200

    Fixed and added anjuta_shell_add_widget_custom documentation.
    
    Previously it was just a hasty copy-paste of add_widget_full docs.

 libanjuta/anjuta-shell.c                           |    6 ++++--
 manuals/reference/libanjuta/libanjuta-sections.txt |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libanjuta/anjuta-shell.c b/libanjuta/anjuta-shell.c
index ea220d7..df85d44 100644
--- a/libanjuta/anjuta-shell.c
+++ b/libanjuta/anjuta-shell.c
@@ -294,12 +294,13 @@ anjuta_shell_add_widget_full (AnjutaShell *shell,
 }
 
 /**
- * anjuta_shell_add_widget_full:
+ * anjuta_shell_add_widget_custom:
  * @shell: A #AnjutaShell interface.
  * @widget: Then widget to add
  * @name: Name of the widget. None translated string used to identify it in 
  * the shell.
  * @title: title of the widget (translated)
+ * @stock_id: Icon stock ID. Could be null.
  * @label: Label widget to use
  * @placement: Placement of the widget in shell.
  * @error: Error propagation object.
@@ -307,7 +308,8 @@ anjuta_shell_add_widget_full (AnjutaShell *shell,
  * Adds @widget in the shell. The @placement tells where the widget should
  * appear, but generally it will be overridden by the container
  * (dock, notebook, GtkContainer etc.) saved layout.
- * use locking. Using this method you can pass a custom widget as label
+ *
+ * Using this method you can pass a custom widget as label.
  */
 void   anjuta_shell_add_widget_custom (AnjutaShell   *shell,
                                        GtkWidget     *widget,
diff --git a/manuals/reference/libanjuta/libanjuta-sections.txt b/manuals/reference/libanjuta/libanjuta-sections.txt
index 51581d6..a9fa8e8 100644
--- a/manuals/reference/libanjuta/libanjuta-sections.txt
+++ b/manuals/reference/libanjuta/libanjuta-sections.txt
@@ -154,6 +154,7 @@ anjuta_shell_freeze
 anjuta_shell_thaw
 anjuta_shell_add_widget
 anjuta_shell_add_widget_full
+anjuta_shell_add_widget_custom
 anjuta_shell_remove_widget
 anjuta_shell_present_widget
 anjuta_shell_add_value



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]