381
381
if (tool_options->tool_info->tool_type == GIMP_TYPE_ISCISSORS_TOOL)
383
383
button = gimp_prop_check_button_new (config, "interactive",
384
_("Show interactive boundary"));
384
_("Interactive boundary"));
385
385
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
386
386
gtk_widget_show (button);
390
390
if (g_type_is_a (tool_options->tool_info->tool_type,
391
391
GIMP_TYPE_REGION_SELECT_TOOL))
395
393
GtkWidget *table;
396
394
GtkWidget *combo;
398
frame = gimp_frame_new (_("Finding Similar Colors"));
399
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
400
gtk_widget_show (frame);
402
vbox2 = gtk_vbox_new (FALSE, 0);
403
gtk_container_add (GTK_CONTAINER (frame), vbox2);
404
gtk_widget_show (vbox2);
406
396
/* the select transparent areas toggle */
407
397
button = gimp_prop_check_button_new (config, "select-transparent",
408
398
_("Select transparent areas"));
409
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
399
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
410
400
gtk_widget_show (button);
412
402
/* the sample merged toggle */
413
403
button = gimp_prop_check_button_new (config, "sample-merged",
414
404
_("Sample merged"));
415
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
405
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
416
406
gtk_widget_show (button);
418
408
/* the threshold scale */
419
409
table = gtk_table_new (2, 3, FALSE);
420
410
gtk_table_set_col_spacings (GTK_TABLE (table), 2);
421
gtk_box_pack_start (GTK_BOX (vbox2), table, FALSE, FALSE, 0);
411
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
422
412
gtk_widget_show (table);
424
414
gimp_prop_scale_entry_new (config, "threshold",