Use hbox packing in Find and Find in files dialogs

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@704 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2006-08-12 13:30:52 +00:00
parent 1520c6bfe2
commit a830f3326f

View File

@ -209,9 +209,9 @@ void search_show_find_dialog()
G_CALLBACK(gtk_widget_hide), NULL); G_CALLBACK(gtk_widget_hide), NULL);
sbox = gtk_hbox_new(FALSE, 6); sbox = gtk_hbox_new(FALSE, 6);
gtk_container_add(GTK_CONTAINER(sbox), label); gtk_box_pack_start(GTK_BOX(sbox), label, FALSE, FALSE, 0);
gtk_container_add(GTK_CONTAINER(sbox), entry); gtk_box_pack_start(GTK_BOX(sbox), entry, TRUE, TRUE, 0);
align = gtk_alignment_new(0, 1, 0, 0); align = gtk_alignment_new(0, 0, 1, 0);
gtk_alignment_set_padding(GTK_ALIGNMENT(align), 6, 0, 0, 0); gtk_alignment_set_padding(GTK_ALIGNMENT(align), 6, 0, 0, 0);
gtk_container_add(GTK_CONTAINER(align), sbox); gtk_container_add(GTK_CONTAINER(align), sbox);
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(widgets.find_dialog)->vbox), align); gtk_container_add(GTK_CONTAINER(GTK_DIALOG(widgets.find_dialog)->vbox), align);
@ -435,9 +435,9 @@ void search_show_find_in_files_dialog()
G_CALLBACK(gtk_widget_hide), NULL); G_CALLBACK(gtk_widget_hide), NULL);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox), gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox),
dbox, TRUE, TRUE, 6); dbox, TRUE, FALSE, 6);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox), gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox),
sbox, TRUE, TRUE, 0); sbox, TRUE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox), gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox),
cbox, TRUE, TRUE, 6); cbox, TRUE, TRUE, 6);