[monkey-bubble: 732/753] Document the no scores case.



commit 62f7b891c7143516e1dd36fd418975be6d5b4b2b
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Mon Oct 1 15:01:18 2007 +0000

    Document the no scores case.
    
    2007-10-01  Kjartan Maraas  <kmaraas gnome org>
    
    	* libgnomeui/gnome-scores.c: Document the no scores case.
    
    svn path=/trunk/; revision=5410

 libgnomeui/gnome-scores.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgnomeui/gnome-scores.c b/libgnomeui/gnome-scores.c
index c816e09..2ab7882 100644
--- a/libgnomeui/gnome-scores.c
+++ b/libgnomeui/gnome-scores.c
@@ -464,7 +464,8 @@ gnome_scores_set_logo_pixmap (GnomeScores *gs, const gchar *pix_name)
  *
  * Description:  Does all the work of displaying the best scores.
  * It calls gnome_score_get_notables to retrieve the info, creates the window,
- * and show it.
+ * and show it. If there are no scores nothing is displayed and the recommended practise
+ * is to disable the scores menu entry in this case.
  *
  * Returns:  If a dialog is displayed return it's pointer.  It can also
  * be %NULL if no dialog is displayed



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