diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-06-11 23:40:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-06-11 23:40:35 +0000 |
commit | d76e3d552e4b991cd3739cf3496884e66d77548e (patch) | |
tree | 3df2d6f4f9747b637363d891a1b071571f9b9047 /gtk/gtkactiongroup.c | |
parent | 98fbada5873931d17b9a955c0c15222df21e732e (diff) | |
download | gtk+-d76e3d552e4b991cd3739cf3496884e66d77548e.tar.gz |
Bug 503071 – Application direction changes to right to left even if
2008-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 503071 – Application direction changes to right to left even if
theres no translation
* configure.in: Bump glib requirement.
* gtk/gtkaccellabel.c
(_gtk_accel_label_class_get_accelerator_label):
* gtk/gtkactiongroup.c (dgettext_swapped):
* gtk/gtkbuilder.c (gtk_builder_class_init):
* gtk/gtkbuilderparser.c (_dpgettext),
(_gtk_builder_parser_translate):
* gtk/gtkfilechooserdefault.c (list_size_data_func):
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
* gtk/gtkintl.h:
* gtk/gtkmain.c (setlocale_initialization),
(do_pre_parse_initialization), (gettext_initialization):
* gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
Use g_dgettext() and g_dngettext().
svn path=/trunk/; revision=20358
Diffstat (limited to 'gtk/gtkactiongroup.c')
-rw-r--r-- | gtk/gtkactiongroup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index 3a86464950..6bba6e75b4 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -1278,9 +1278,9 @@ static gchar * dgettext_swapped (const gchar *msgid, const gchar *domainname) { - /* Pass through dgettext if and only if msgid is nonempty. */ + /* Pass through g_dgettext if and only if msgid is nonempty. */ if (msgid && *msgid) - return dgettext (domainname, msgid); + return (gchar*) g_dgettext (domainname, msgid); else return (gchar*) msgid; } @@ -1288,9 +1288,9 @@ dgettext_swapped (const gchar *msgid, /** * gtk_action_group_set_translation_domain: * @action_group: a #GtkActionGroup - * @domain: the translation domain to use for dgettext() calls + * @domain: the translation domain to use for g_dgettext() calls * - * Sets the translation domain and uses dgettext() for translating the + * Sets the translation domain and uses g_dgettext() for translating the * @label and @tooltip of #GtkActionEntry<!-- -->s added by * gtk_action_group_add_actions(). * |