120 } |
120 } |
121 } |
121 } |
122 |
122 |
123 // window content |
123 // window content |
124 // the content has a (TODO: not yet) configurable frame |
124 // the content has a (TODO: not yet) configurable frame |
125 GtkWidget *frame = gtk_alignment_new(0.5, 0.5, 1, 1); |
125 GtkWidget *frame = gtk_frame_new(NULL); |
|
126 gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_NONE); |
126 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); |
127 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); |
127 |
128 |
128 // content vbox |
129 // content vbox |
129 GtkWidget *content_box = ui_gtk_vbox_new(0); |
130 GtkWidget *content_box = ui_gtk_vbox_new(0); |
130 gtk_container_add(GTK_CONTAINER(frame), content_box); |
131 gtk_container_add(GTK_CONTAINER(frame), content_box); |