diff options
author | Vasily_Makarov <danilka.pro@gmail.com> | 2011-06-09 23:06:22 +0400 |
---|---|---|
committer | Vasily_Makarov <danilka.pro@gmail.com> | 2011-06-09 23:06:22 +0400 |
commit | 87b6103aa0fdf47b1bfee54f68be0dcb88fe5dc0 (patch) | |
tree | 37867035aba6f860c64a0e7b2f0efdbefd0b1932 /saedit/main.c | |
parent | fae8a3bcd2f31afb357fcf83beb9a7cd6d4bc400 (diff) | |
download | evol-tools-87b6103aa0fdf47b1bfee54f68be0dcb88fe5dc0.tar.gz evol-tools-87b6103aa0fdf47b1bfee54f68be0dcb88fe5dc0.tar.bz2 evol-tools-87b6103aa0fdf47b1bfee54f68be0dcb88fe5dc0.tar.xz evol-tools-87b6103aa0fdf47b1bfee54f68be0dcb88fe5dc0.zip |
saedit: Replace GtkVBox with GtkVPaned
Diffstat (limited to 'saedit/main.c')
-rw-r--r-- | saedit/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/saedit/main.c b/saedit/main.c index a9b77cd..1115074 100644 --- a/saedit/main.c +++ b/saedit/main.c @@ -523,16 +523,18 @@ void set_up_interface() { g_signal_connect(animationscombobox, "changed", animations_combo_box_changed_handler, NULL); gtk_box_pack_start(GTK_BOX(vbbox), animationscombobox, TRUE, TRUE, 0); - vbox = gtk_vbox_new(TRUE, 0); + vbox = gtk_vpaned_new(); gtk_box_pack_end(GTK_BOX(hbox), vbox, TRUE, TRUE, 0); darea = gtk_drawing_area_new(); - gtk_box_pack_start(GTK_BOX(vbox), darea, TRUE, TRUE, 0); + gtk_paned_pack1(vbox, darea, FALSE, FALSE); + gtk_widget_set_size_request(darea, -1, 120); g_signal_connect(darea, "expose-event", on_expose_event, NULL); text = gtk_source_view_new_with_buffer(sbuf); gtk_source_view_set_show_line_numbers(text, TRUE); - gtk_box_pack_start(GTK_BOX(vbox), text, TRUE, TRUE, 0); + gtk_paned_pack2(vbox, text, TRUE, FALSE); + gtk_widget_set_size_request(text, -1, 50); gtk_widget_show_all(win); gtk_widget_show_all(text); |