[gcompris/gcomprixogoo] Added tooltips to better explain the missing letter editor usage.



commit b97abe06e02505f196f2f4388f17382df8e8301c
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun Nov 7 17:35:36 2010 +0100

    Added tooltips to better explain the missing letter editor usage.

 src/missing_letter-activity/missingletter_config.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/missing_letter-activity/missingletter_config.c b/src/missing_letter-activity/missingletter_config.c
index 07e7e49..71c8589 100644
--- a/src/missing_letter-activity/missingletter_config.c
+++ b/src/missing_letter-activity/missingletter_config.c
@@ -564,6 +564,9 @@ void config_missing_letter(GcomprisBoardConf *config)
     question = gtk_entry_new();
     gtk_widget_show(question);
     gtk_table_attach_defaults(GTK_TABLE(table), question, 1, 2, 1, 2);
+    gtk_widget_set_tooltip_text(question,
+				_("Replace the letter to guess "
+				  "by the character '_'.") );
 
     /* choice */
     label = gtk_label_new(_("Choice"));
@@ -574,6 +577,8 @@ void config_missing_letter(GcomprisBoardConf *config)
     gtk_entry_set_max_length(GTK_ENTRY(choice), MAX_PROPOSAL);
     gtk_widget_show(choice);
     gtk_table_attach_defaults(GTK_TABLE(table), choice, 3, 4, 1, 2);
+    gtk_widget_set_tooltip_text(choice, _("Enter here the letter that will be proposed. "
+					  "The first letter here must be the solution"));
 
     conf_data -> combo_level = GTK_COMBO_BOX(level);
     conf_data -> view = GTK_TREE_VIEW(view);



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