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)
This commit is contained in:
committed by
Matthias Clasen
parent
7e00903af7
commit
8454afe8e6
@ -1,3 +1,7 @@
|
||||
2004-12-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/tmpl/gtkitemfactory.sgml: Document GtkTranslateFunc
|
||||
|
||||
2004-12-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/tmpl/x_interaction.sgml: Remove a no longer needed
|
||||
|
||||
@ -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 ##### -->
|
||||
|
||||
Reference in New Issue
Block a user