diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-12-20 16:05:25 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-12-20 16:05:25 +0000 |
commit | 8454afe8e6eed39fcde72e844463d3f8e03e10fc (patch) | |
tree | a7c62131511360d04ff3bf628fef20b3b1d5e05f /docs/reference/gtk | |
parent | 7e00903af721b997b03834ddf9f58c6cd322cdf0 (diff) | |
download | gdk-pixbuf-8454afe8e6eed39fcde72e844463d3f8e03e10fc.tar.gz |
Don't translate NULL messages. (#161789, Morten Welinder)
2004-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
translate NULL messages. (#161789, Morten Welinder)
Diffstat (limited to 'docs/reference/gtk')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkitemfactory.sgml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/reference/gtk/tmpl/gtkitemfactory.sgml b/docs/reference/gtk/tmpl/gtkitemfactory.sgml index 39a44ad4b..1195901c3 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. <!-- ##### USER_FUNCTION GtkTranslateFunc ##### --> <para> - +The function used to translate messages in e.g. #GtkIconFactory +and #GtkActionGroup. </para> -@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 <!-- ##### USER_FUNCTION GtkItemFactoryCallback ##### --> |