cheese r472 - in trunk: . src



Author: dgsiegel
Date: Sun Feb  3 08:50:11 2008
New Revision: 472
URL: http://svn.gnome.org/viewvc/cheese?rev=472&view=rev

Log:
undoing r467. effect names are already translated


Modified:
   trunk/ChangeLog
   trunk/src/cheese-effect-chooser.c

Modified: trunk/src/cheese-effect-chooser.c
==============================================================================
--- trunk/src/cheese-effect-chooser.c	(original)
+++ trunk/src/cheese-effect-chooser.c	Sun Feb  3 08:50:11 2008
@@ -183,13 +183,12 @@
       CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
 
   cairo_set_font_size (cr, 0.09);
-  gchar *name = gettext(card->name);
-  cairo_text_extents (cr, name, &extents);
+  cairo_text_extents (cr, card->name, &extents);
   x = 0.5 - (extents.width / 2 + extents.x_bearing);
   y = 0.92 - (extents.height / 2 + extents.y_bearing);
 
   cairo_move_to (cr, x, y);
-  cairo_show_text (cr, name);
+  cairo_show_text (cr, card->name);
 
   if (highlight)
   {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]