Commit 883cb5dd authored by Matthias Drochner's avatar Matthias Drochner Committed by Nickolay V. Shmyrev

Fixes check for default units string translation. Bug #533323.

2008-05-19  Matthias Drochner  <M.Drochner@fz-juelich.de>

	* properties/ev-properties-view.c (get_default_user_units):
	Fixes check for default units string translation. Bug #533323.



svn path=/trunk/; revision=3032
parent 0da7561f
2008-05-19 Matthias Drochner <M.Drochner@fz-juelich.de>
* properties/ev-properties-view.c (get_default_user_units):
Fixes check for default units string translation. Bug #533323.
2008-05-01 Hans Petter Jansson <hpj@novell.com>
* backend/impress/iksemel.c (sax_core): Fix a free() that should
......
......@@ -216,10 +216,12 @@ get_default_user_units (void)
return GTK_UNIT_MM; /* metric */
#endif
if (strcmp (e, "default:mm") == 0)
return GTK_UNIT_MM;
if (strcmp (e, "default:inch") == 0)
return GTK_UNIT_INCH;
else if (strcmp (e, "default:mm") == 0)
g_warning ("Whoever translated default:mm did so wrongly.\n");
g_warning ("Whoever translated default:mm did so wrongly.\n");
return GTK_UNIT_MM;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment