mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-25 19:54:13 +03:00
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:
parent
5baf384554
commit
477a46d49e
@ -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.
|
||||
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user