1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gtrans.c (set_window_text): Pass new justification parameter to
	gnome_icon_paint_text().
This commit is contained in:
Miguel de Icaza 1998-05-20 23:06:52 +00:00
parent 5baf384554
commit 477a46d49e
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,8 @@
1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtrans.c (set_window_text): Pass new justification parameter to
gnome_icon_paint_text().
* gpageprop.c (item_properties): Restore the arrow cursor for the
desktop icon windows.

View File

@ -144,14 +144,16 @@ set_window_text (GtkWidget *window, GdkImlibImage *im, char *text)
gdk_gc_set_foreground (m_gc, &color);
gnome_icon_paint_text (ti, mask, m_gc,
(width - ti->width) / 2,
im->rgb_height + SPACING);
im->rgb_height + SPACING,
GTK_JUSTIFY_CENTER);
}
gdk_color_white (gdk_imlib_get_colormap (), &color);
gdk_gc_set_foreground (p_gc, &color);
gnome_icon_paint_text (ti, pixmap, p_gc,
(width - ti->width) / 2,
im->rgb_height + SPACING);
im->rgb_height + SPACING,
GTK_JUSTIFY_CENTER);
/* Set contents of window */