From 8454afe8e6eed39fcde72e844463d3f8e03e10fc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 20 Dec 2004 16:05:25 +0000 Subject: Don't translate NULL messages. (#161789, Morten Welinder) 2004-12-20 Matthias Clasen * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't translate NULL messages. (#161789, Morten Welinder) --- docs/reference/ChangeLog | 4 ++++ docs/reference/gtk/tmpl/gtkitemfactory.sgml | 11 +++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index b87cf8cd86..8fc3f7a184 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2004-12-20 Matthias Clasen + + * gtk/tmpl/gtkitemfactory.sgml: Document GtkTranslateFunc + 2004-12-17 Matthias Clasen * gdk/tmpl/x_interaction.sgml: Remove a no longer needed diff --git a/docs/reference/gtk/tmpl/gtkitemfactory.sgml b/docs/reference/gtk/tmpl/gtkitemfactory.sgml index 39a44ad4b1..1195901c39 100644 --- a/docs/reference/gtk/tmpl/gtkitemfactory.sgml +++ b/docs/reference/gtk/tmpl/gtkitemfactory.sgml @@ -31,12 +31,15 @@ As of GTK+ 2.4, #GtkItemFactory has been deprecated in favour of #GtkUIManager. - +The function used to translate messages in e.g. #GtkIconFactory +and #GtkActionGroup. -@path: -@func_data: -@Returns: +@path: The id of the message. In #GtkItemFactory this will be a path + from a #GtkItemFactoryEntry, in #GtkActionGroup, it will be a label + or tooltip from a #GtkActionEntry. +@func_data: user data passed in when registering the function +@Returns: the translated message -- cgit v1.2.1