Revision: 704 Author: ntrel Date: 2006-08-12 06:30:52 -0700 (Sat, 12 Aug 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=704&view=rev
Log Message: ----------- Use hbox packing in Find and Find in files dialogs
Modified Paths: -------------- trunk/src/search.c Modified: trunk/src/search.c =================================================================== --- trunk/src/search.c 2006-08-12 13:07:58 UTC (rev 703) +++ trunk/src/search.c 2006-08-12 13:30:52 UTC (rev 704) @@ -209,9 +209,9 @@ G_CALLBACK(gtk_widget_hide), NULL);
sbox = gtk_hbox_new(FALSE, 6); - gtk_container_add(GTK_CONTAINER(sbox), label); - gtk_container_add(GTK_CONTAINER(sbox), entry); - align = gtk_alignment_new(0, 1, 0, 0); + gtk_box_pack_start(GTK_BOX(sbox), label, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(sbox), entry, TRUE, TRUE, 0); + align = gtk_alignment_new(0, 0, 1, 0); gtk_alignment_set_padding(GTK_ALIGNMENT(align), 6, 0, 0, 0); gtk_container_add(GTK_CONTAINER(align), sbox); gtk_container_add(GTK_CONTAINER(GTK_DIALOG(widgets.find_dialog)->vbox), align); @@ -435,9 +435,9 @@ G_CALLBACK(gtk_widget_hide), NULL);
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), - sbox, TRUE, TRUE, 0); + sbox, TRUE, FALSE, 0); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(widgets.find_in_files_dialog)->vbox), cbox, TRUE, TRUE, 6);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.