Mercurial > pidgin
changeset 19692:a5a9dbd1bdeb
Add a new 2.2.0 about image from hbons and move the version number up and out of the way.
author | Kevin Stange <kevin@simguy.net> |
---|---|
date | Sun, 09 Sep 2007 22:01:40 +0000 |
parents | caa96aea89fc |
children | 5a051296836c f0a87b0d9955 |
files | pidgin/gtkdialogs.c pidgin/pixmaps/logo.png |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c Sun Sep 09 16:55:42 2007 +0000 +++ b/pidgin/gtkdialogs.c Sun Sep 09 22:01:40 2007 +0000 @@ -305,14 +305,14 @@ context = gtk_widget_get_pango_context(widget); layout = pango_layout_new(context); - markup = g_strdup_printf("<span foreground=\"#FFFFFF\">%s</span>", VERSION); + markup = g_strdup_printf("<span foreground=\"#000000\">%s</span>", VERSION); pango_layout_set_font_description(layout, style->font_desc); pango_layout_set_markup(layout, markup, strlen(markup)); g_free(markup); pango_layout_get_pixel_size(layout, &lwidth, &lheight); gdk_draw_layout(GDK_DRAWABLE(pixmap), style->bg_gc[GTK_STATE_NORMAL], - width - (lwidth + 3), height - (lheight + 1), layout); + width - (lwidth + 3), 1, layout); g_object_unref(G_OBJECT(layout)); *original = gdk_pixbuf_get_from_drawable(NULL, pixmap, NULL,