INIT_I18N_UI() instead of INIT_I18N() for save dialog.

* plug-ins/common/xpm.c: INIT_I18N_UI() instead of INIT_I18N()
        for save dialog.

-- yasuhiro
This commit is contained in:
SHIRASAKI Yasuhiro 2000-03-27 03:28:29 +00:00
parent 8d64faa350
commit dec91421e2
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-03-27 Shirasaki Yasuhiro <yasuhiro@gnome.gr.jp>
* plug-ins/common/xpm.c: INIT_I18N_UI() instead of INIT_I18N()
for save dialog.
2000-03-27 Michael Natterer <mitch@gimp.org>
* app/transform_core.c: the button_press and cursor_update

View File

@ -207,10 +207,10 @@ run (gchar *name,
values[0].type = PARAM_STATUS;
values[0].data.d_status = STATUS_EXECUTION_ERROR;
INIT_I18N();
if (strcmp (name, "file_xpm_load") == 0)
{
INIT_I18N();
image_ID = load_image (param[1].data.d_string);
if (image_ID != -1)
@ -226,6 +226,8 @@ run (gchar *name,
}
else if (strcmp (name, "file_xpm_save") == 0)
{
INIT_I18N_UI();
init_gtk ();
image_ID = param[1].data.d_int32;