Fixing documentation for HildonBanner. Fixing documentation for HildonCaption. Fixing...
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Tue, 23 Jan 2007 13:18:53 +0000 (13:18 +0000)
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Tue, 23 Jan 2007 13:18:53 +0000 (13:18 +0000)
ChangeLog.2
src/hildon-banner.c
src/hildon-caption.c
src/hildon-caption.h
src/hildon-code-dialog.c
src/hildon-controlbar.c

index 0c1f246..eb1f38c 100644 (file)
@@ -1,5 +1,16 @@
 2007-01-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
 
+       * src/hildon-banner.c: Fixing documentation for HildonBanner.
+
+       * src/hildon-caption.c:
+       * src/hildon-caption.h: Fixing documentation for HildonCaption.
+
+       * src/hildon-code-dialog.c: Fixing documentation for HildonCodeDialog.
+
+       * src/hildon-controlbar.c: Fixing docuemtnation for HildonControlbar.
+
+2007-01-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
+
        * src/hildon-banner.c:
        * src/hildon-banner.h: Fixing documentation. Removing the n-lines
        helper function.
index 8857713..5d347b0 100644 (file)
  *
  */
 
+/**
+ * SECTION:hildon-banner 
+ * @short_description: A widget used to display timed notifications. 
+ *
+ * #HildonBanner can be used to display a short, timed notification 
+ * or information to the user. It can communicate that a 
+ * task has been finished or the application state has changed.
+ * Banners should be used only to display non-critical pieces of 
+ * information.
+ *
+ */
+
 #ifdef                                          HAVE_CONFIG_H
 #include                                        <config.h>
 #endif
index 34f850e..34ec248 100644 (file)
@@ -153,7 +153,7 @@ enum
 /**
  * hildon_caption_get_type:
  *
- * Initialises, and returns the type of a hildon caption.
+ * Initializes and returns the type of a hildon caption.
  *
  * @Returns: GType of #HildonCaption
  */
@@ -1063,7 +1063,8 @@ hildon_caption_get_label                        (const HildonCaption *caption)
  * The default seaparator character is ":"
  * separately.
  */
-void hildon_caption_set_separator               (HildonCaption *caption, 
+void 
+hildon_caption_set_separator                    (HildonCaption *caption, 
                                                  const gchar *separator)
 {
     g_return_if_fail (HILDON_IS_CAPTION (caption));
@@ -1110,7 +1111,7 @@ hildon_caption_activate                         (GtkWidget *widget)
 /**
  * hildon_caption_set_child_expand:
  * @caption : a #HildonCaption
- * @expand : gboolean to determine is the child expandable
+ * @expand : gboolean to determine if the child is expandable
  *
  * Sets child expandability.
  */
index a53f4c0..4626f87 100644 (file)
@@ -72,7 +72,6 @@ typedef enum
  *
  * Keys to set the icon placement in #HildonCaption.
  *
- * Since: 0.14.5
  */
 typedef enum
 {
index f096ea1..b7fb40a 100644 (file)
  *
  */
 
+/**
+ * SECTION:hildon-code-dialog
+ * @short_description: A keypad-like widget used to enter pincodes.
+ *
+ * #HildonCodeDialog displays a keypad that can be used to enter 
+ * numerical pin codes or lock codes. 
+ *
+ */
+
+/* FIXME We need property access in this widget */
+
 #ifdef                                          HAVE_CONFIG_H
 #include                                        <config.h>
 #endif
@@ -88,6 +99,13 @@ hildon_code_dialog_key_press_event              (GtkWidget *widget,
 
 static GtkDialogClass*                          parent_class = NULL;
 
+/**
+ * hildon_code_dialog_get_type:
+ *
+ * Initializes and returns the type of a hildon code dialog.
+ *
+ * @Returns: GType of #HildonCodeDialog
+ */
 GType G_GNUC_CONST
 hildon_code_dialog_get_type                     (void)
 {
index 539d081..4737e06 100644 (file)
@@ -139,6 +139,13 @@ hildon_controlbar_change_value                  (GtkRange *range,
                                                  gdouble new_value, 
                                                  gpointer data);
 
+/**
+ * hildon_controlbar_get_type:
+ *
+ * Initializes and returns the type of a hildon control bar.
+ *
+ * @Returns: GType of #HildonControlbar
+ */
 GType G_GNUC_CONST
 hildon_controlbar_get_type                      (void)
 {
@@ -213,7 +220,7 @@ hildon_controlbar_class_init                    (HildonControlbarClass *controlb
     /**
      * HildonControlbar:value:
      *
-     * Controlbar value.
+     * Controlbar current value.
      */
     g_object_class_install_property (gobject_class, PROP_VALUE,
             g_param_spec_int ("value",
@@ -413,7 +420,7 @@ hildon_controlbar_size_request                  (GtkWidget *self,
  * @self: pointer to #HildonControlbar
  * @value: value in range of >= 0 && < G_MAX_INT
  *
- * Change the current value of the control bar to the specified value.
+ * Set the current value of the control bar to the specified value.
  */
 void 
 hildon_controlbar_set_value                     (HildonControlbar * self, 
@@ -576,7 +583,7 @@ hildon_controlbar_get_min                       (HildonControlbar *self)
  * Event handler for button press
  * Need to change button1 to button2 before passing this event to
  * parent handler. (see specs)
- * Also updates button_press variable so that we can draw hilites
+ * Also updates button_press variable so that we can draw highlights
  * correctly
  */
 static gint