diff --git a/ChangeLog b/ChangeLog index 4fd3d59..618f211 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-02-07 Glynn Foster + + * help/C/zenity.xml: Update docs to add the new goption + help stuff. + * src/option.c: Update to be in line with the documentation + descriptions. + 2005-02-01 Glynn Foster * src/notification.c, src/option.c: Patch from Chris diff --git a/help/C/zenity.xml b/help/C/zenity.xml index 7f7e365..3b06c7d 100644 --- a/help/C/zenity.xml +++ b/help/C/zenity.xml @@ -115,7 +115,7 @@ Calendar File selection List - Notification + Notification icon Message Error @@ -288,17 +288,115 @@ - Displays help text. You can also use -? to specify this option. + Displays shortened help text. - + - Displays brief usage text. + Displays full help text for all dialogs. - + + + + + Displays help text for general dialog options. + + + + + + + Displays help text for calendar dialog options. + + + + + + + Displays help text for text entry dialog options. + + + + + + + Displays help text for error dialog options. + + + + + + + Displays help text for information dialog options. + + + + + + + Displays help text for file selection dialog options. + + + + + + + Displays help text for list dialog options. + + + + + + + Displays help text for notification icon options. + + + + + + + Displays help text for progress dialog options. + + + + + + + Displays help text for question dialog options. + + + + + + + Displays help text for warning dialog options. + + + + + + + Displays help for text information dialog options. + + + + + + + Displays help for miscellaneous options. + + + + + + + Displays help for GTK+ options. + + + diff --git a/src/option.c b/src/option.c index cfc95e9..603ce04 100644 --- a/src/option.c +++ b/src/option.c @@ -1257,8 +1257,8 @@ zenity_create_context (void) /* Adds notification option entries */ a_group = g_option_group_new("notification", - N_("Notification options"), - N_("Show notification options"), NULL, 0); + N_("Notification icon options"), + N_("Show notification icon options"), NULL, 0); g_option_group_add_entries(a_group, notification_options); g_option_group_set_parse_hooks (a_group, zenity_notification_pre_callback, zenity_notification_post_callback); @@ -1296,9 +1296,9 @@ zenity_create_context (void) g_option_context_add_group(tmp_ctx, a_group); /* Adds text option entries */ - a_group = g_option_group_new("text", - N_("Text options"), - N_("Show text options"), NULL, 0); + a_group = g_option_group_new("text-info", + N_("Text information options"), + N_("Show text information options"), NULL, 0); g_option_group_add_entries(a_group, text_options); g_option_group_set_parse_hooks (a_group, zenity_text_pre_callback, zenity_text_post_callback);