mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
Shows the widgets properly. -Jay
This commit is contained in:
parent
918f7d484d
commit
3cefe524dc
@ -75,16 +75,17 @@ gtk_statusbar_init (GtkStatusbar *statusbar)
|
||||
GTK_BOX (statusbar)->spacing = 2;
|
||||
GTK_BOX (statusbar)->homogeneous = FALSE;
|
||||
|
||||
statusbar->frame = gtk_frame_new(NULL);
|
||||
gtk_frame_set_shadow_type(GTK_FRAME(statusbar->frame), GTK_SHADOW_IN);
|
||||
gtk_box_pack_start(GTK_BOX(statusbar), statusbar->frame, 1,1,0);
|
||||
statusbar->frame = gtk_frame_new (NULL);
|
||||
gtk_frame_set_shadow_type (GTK_FRAME (statusbar->frame), GTK_SHADOW_IN);
|
||||
gtk_box_pack_start (GTK_BOX (statusbar), statusbar->frame, 1, 1, 0);
|
||||
gtk_widget_show (statusbar->frame);
|
||||
|
||||
statusbar->label = gtk_label_new("");
|
||||
gtk_misc_set_alignment(GTK_MISC(statusbar->label), 0.0, 0.0);
|
||||
gtk_container_add(GTK_CONTAINER(statusbar->frame), statusbar->label);
|
||||
gtk_widget_show (statusbar->label);
|
||||
|
||||
statusbar->next_statusid = 1;
|
||||
|
||||
statusbar->msgs = g_list_alloc();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user