[gcompris] help, now display the manual tab when help dialog starts.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] help, now display the manual tab when help dialog starts.
- Date: Sun, 18 Aug 2013 09:06:12 +0000 (UTC)
commit 2f0fe9a71a507f7fda011869c35ec96517ea9745
Author: Bruno Coudoin <bcoudoin gcompris net>
Date: Sun Aug 18 11:03:48 2013 +0200
help, now display the manual tab when help dialog starts.
The manual tab is the most useful and the tabs are not that
obvious to discover. It makes sense to display the manual
first.
src/gcompris/help.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gcompris/help.c b/src/gcompris/help.c
index c798673..bed26be 100644
--- a/src/gcompris/help.c
+++ b/src/gcompris/help.c
@@ -287,7 +287,12 @@ void gc_help_start (GcomprisBoard *gcomprisBoard)
// default text to display
- if(prerequisite)
+ if(manual)
+ {
+ text_to_display = manual;
+ select_item(item_manual, item_manual_text);
+ }
+ else if(prerequisite)
{
text_to_display = prerequisite;
select_item(item_prerequisite, item_prerequisite_text);
@@ -297,11 +302,6 @@ void gc_help_start (GcomprisBoard *gcomprisBoard)
text_to_display = goal;
select_item(item_goal, item_goal_text);
}
- else if(manual)
- {
- text_to_display = manual;
- select_item(item_manual, item_manual_text);
- }
else if(credit)
{
text_to_display = credit;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]