gnumeric r16957 - trunk/src/dialogs
- From: guelzow svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16957 - trunk/src/dialogs
- Date: Sun, 9 Nov 2008 09:03:15 +0000 (UTC)
Author: guelzow
Date: Sun Nov 9 09:03:15 2008
New Revision: 16957
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16957&view=rev
Log:
2008-11-09 Andreas J. Guelzow <aguelzow pyrshep ca>
(describe_new_style): include examples
Modified:
trunk/src/dialogs/ChangeLog
trunk/src/dialogs/dialog-function-select.c
Modified: trunk/src/dialogs/dialog-function-select.c
==============================================================================
--- trunk/src/dialogs/dialog-function-select.c (original)
+++ trunk/src/dialogs/dialog-function-select.c Sun Nov 9 09:03:15 2008
@@ -357,6 +357,7 @@
"weight", PANGO_WEIGHT_BOLD,
NULL);
gboolean seen_args = FALSE;
+ gboolean seen_examples = FALSE;
gtk_text_buffer_get_end_iter (description, &ti);
@@ -406,6 +407,20 @@
ADD_TEXT ("\n");
break;
}
+ case GNM_FUNC_HELP_EXAMPLES: {
+ const char *text = help->text;
+
+ if (!seen_examples) {
+ seen_examples = TRUE;
+ ADD_TEXT ("\n");
+ ADD_TEXT (_("Examples:"));
+ ADD_TEXT ("\n");
+ }
+
+ ADD_TEXT_WITH_ARGS (text);
+ ADD_TEXT ("\n");
+ break;
+ }
case GNM_FUNC_HELP_SEEALSO: {
const char *text = help->text; /* Not translated */
const char *pre = _("See also: ");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]