diff options
Diffstat (limited to 'gnome-about')
-rw-r--r-- | gnome-about/ChangeLog | 6 | ||||
-rw-r--r-- | gnome-about/gnome-about.c | 24 |
2 files changed, 22 insertions, 8 deletions
diff --git a/gnome-about/ChangeLog b/gnome-about/ChangeLog index 4c369428..7e93f24c 100644 --- a/gnome-about/ChangeLog +++ b/gnome-about/ChangeLog @@ -1,3 +1,9 @@ +2002-11-05 Mark McLoughlin <mark@skynet.ie> + + * gnome-about.c: (draw_intro), (draw_end): do not + translate pango markup, only translate the strings + themeselves. Fixes #84779, #97073. + 2002-11-04 Kristian Rietveld <kris@gtk.org> * contributors.h: Added myself. diff --git a/gnome-about/gnome-about.c b/gnome-about/gnome-about.c index b0736555..fc43afec 100644 --- a/gnome-about/gnome-about.c +++ b/gnome-about/gnome-about.c @@ -427,12 +427,16 @@ keypress_scroll (GtkWidget *widget, static void draw_intro (void) { - static int initial_pause = 50; - static int x = G_MININT; - static int y = G_MININT; - static int layout_width = 0; + static int initial_pause = 50; + static int x = G_MININT; + static int y = G_MININT; + static int layout_width = 0; + char *markup; + + markup = g_strdup_printf ("<big><b>%s</b></big>", _("GNOME Was Brought To You By")); + pango_layout_set_markup (layout, markup, -1); + g_free (markup); - pango_layout_set_markup (layout, _("<big><b>GNOME Was Brought To You By</b></big>"), -1); if (x == G_MININT) { PangoRectangle extents; @@ -563,10 +567,14 @@ draw_names () static void draw_end () { - PangoRectangle extents; - static int pause = 100; + PangoRectangle extents; + static int pause = 100; + char *markup; + + markup = g_strdup_printf ("<big><b>%s</b></big>", _("And Many More ...")); + pango_layout_set_markup (layout, markup, -1); + g_free (markup); - pango_layout_set_markup (layout, _("<big><b>And Many More ...</b></big>"), -1); pango_layout_get_pixel_extents (layout, NULL, &extents); gdk_draw_layout (pixmap, area->style->white_gc, |