forked from AuroraMiddleware/gtk
Queue a resize, since fonts may have changed. (#164128, Phil Blundell)
2005-02-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since fonts may have changed. (#164128, Phil Blundell)
This commit is contained in:
parent
534d584ba6
commit
14fefb8617
@ -1,5 +1,8 @@
|
||||
2005-02-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
|
||||
fonts may have changed. (#164128, Phil Blundell)
|
||||
|
||||
* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
|
||||
(gtk_about_dialog_new): Move initialization code from _new to
|
||||
_init. (#168249, Murray Cumming)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-02-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
|
||||
fonts may have changed. (#164128, Phil Blundell)
|
||||
|
||||
* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
|
||||
(gtk_about_dialog_new): Move initialization code from _new to
|
||||
_init. (#168249, Murray Cumming)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-02-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
|
||||
fonts may have changed. (#164128, Phil Blundell)
|
||||
|
||||
* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
|
||||
(gtk_about_dialog_new): Move initialization code from _new to
|
||||
_init. (#168249, Murray Cumming)
|
||||
|
@ -2129,6 +2129,7 @@ gtk_label_style_set (GtkWidget *widget,
|
||||
|
||||
/* We have to clear the layout, fonts etc. may have changed */
|
||||
gtk_label_clear_layout (label);
|
||||
gtk_widget_queue_resize (GTK_WIDGET (label));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user