evince r3032 - in trunk: . properties
- From: nshmyrev svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3032 - in trunk: . properties
- Date: Sun, 18 May 2008 21:05:32 +0000 (UTC)
Author: nshmyrev
Date: Sun May 18 21:05:32 2008
New Revision: 3032
URL: http://svn.gnome.org/viewvc/evince?rev=3032&view=rev
Log:
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.
Modified:
   trunk/ChangeLog
   trunk/properties/ev-properties-view.c
Modified: trunk/properties/ev-properties-view.c
==============================================================================
--- trunk/properties/ev-properties-view.c	(original)
+++ trunk/properties/ev-properties-view.c	Sun May 18 21:05:32 2008
@@ -216,10 +216,12 @@
 		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;
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]