evince r3033 - in branches/gnome-2-22: . properties



Author: nshmyrev
Date: Sun May 18 21:07:01 2008
New Revision: 3033
URL: http://svn.gnome.org/viewvc/evince?rev=3033&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:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/properties/ev-properties-view.c

Modified: branches/gnome-2-22/properties/ev-properties-view.c
==============================================================================
--- branches/gnome-2-22/properties/ev-properties-view.c	(original)
+++ branches/gnome-2-22/properties/ev-properties-view.c	Sun May 18 21:07:01 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]