Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/properties
diff options
context:
space:
mode:
authorMatthias Drochner <M.Drochner@fz-juelich.de>2008-05-18 21:05:32 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2008-05-18 21:05:32 (GMT)
commit883cb5dda8ba8148e5a39aefe16eb05c372382a6 (patch)
tree359ace7ff0bfcf667d626c0b188446eae4244d7b /properties
parent0da7561f6b4542e2226921aac3d10182f9f05a19 (diff)
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
Diffstat (limited to 'properties')
-rw-r--r--properties/ev-properties-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c
index 3ebd368..4162fdd 100644
--- a/properties/ev-properties-view.c
+++ b/properties/ev-properties-view.c
@@ -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;
}