cheese r472 - in trunk: . src
- From: dgsiegel svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r472 - in trunk: . src
- Date: Sun, 3 Feb 2008 08:50:11 +0000 (GMT)
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]