r3026 - in trunk/src/target/OM-2007.2/libraries/libmokoui2: . libmokoui

thomas at sita.openmoko.org thomas at sita.openmoko.org
Fri Sep 21 13:22:31 CEST 2007


Author: thomas
Date: 2007-09-21 13:22:30 +0200 (Fri, 21 Sep 2007)
New Revision: 3026

Modified:
   trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog
   trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-hint-entry.c
Log:
* libmokoui/moko-hint-entry.c: (moko_hint_entry_new),
(moko_hint_entry_clear): Correct and complete documentation for
 MokoHintEntry


Modified: trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog	2007-09-21 10:58:45 UTC (rev 3025)
+++ trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog	2007-09-21 11:22:30 UTC (rev 3026)
@@ -1,5 +1,11 @@
 2007-09-21  Thomas Wood  <thomas at openedhand.com>
 
+	* libmokoui/moko-hint-entry.c: (moko_hint_entry_new),
+	(moko_hint_entry_clear): Correct and complete documentation for
+	 MokoHintEntry
+
+2007-09-21  Thomas Wood  <thomas at openedhand.com>
+
 	* libmokoui/moko-finger-scroll.c: (moko_finger_scroll_init),
 	(moko_finger_scroll_new), (moko_finger_scroll_new_full):
 	Complete the documentation for MokoFingerScroll

Modified: trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-hint-entry.c
===================================================================
--- trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-hint-entry.c	2007-09-21 10:58:45 UTC (rev 3025)
+++ trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-hint-entry.c	2007-09-21 11:22:30 UTC (rev 3026)
@@ -197,9 +197,9 @@
                        NULL);
 }
 
-/*
+/**
  * moko_hint_entry_clear:
- * @entry: a @MokoHintEntry
+ * @entry: a #MokoHintEntry
  *
  * Clear the text in the entry and if the widget is not focused, display the
  * hint text.
@@ -214,6 +214,15 @@
   update (entry);
 }
 
+/**
+ * moko_hint_entry_is_empty:
+ * @entry: a #MokoHintyEntry
+ *
+ * Check if the entry has a user entered value. 
+ *
+ * returns: TRUE if the hint is currently displayed. FALSE if the user has
+ * entered a value
+ */
 gboolean
 moko_hint_entry_is_empty (MokoHintEntry *entry)
 {





More information about the commitlog mailing list