Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/properties
diff options
context:
space:
mode:
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;
}