~ubuntu-branches/ubuntu/intrepid/gimp/intrepid-updates

« back to all changes in this revision

Viewing changes to app/tools/gimpselectionoptions.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-11-21 17:39:07 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20071121173907-od54p9hdtvn5frl0
Tags: 2.4.1-1ubuntu1
* Merge from Debian unstable.
* Remaining Ubuntu changes:
  - 02_help-message.patch, 03_gimp.desktop.in.in.patch: Distro changes.
  - Weave i18n magic in the rules file.
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Apply patch from upstream (SVN r23659) that corrects the image
    disappearing for large images at 150% zoom.
  - Symlink doc directories to avoid duplicate files, CDBS does this for
    us.

Show diffs side-by-side

added added

removed removed

Lines of Context:
381
381
  if (tool_options->tool_info->tool_type == GIMP_TYPE_ISCISSORS_TOOL)
382
382
    {
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);
387
387
    }
390
390
  if (g_type_is_a (tool_options->tool_info->tool_type,
391
391
                   GIMP_TYPE_REGION_SELECT_TOOL))
392
392
    {
393
 
      GtkWidget *frame;
394
 
      GtkWidget *vbox2;
395
393
      GtkWidget *table;
396
394
      GtkWidget *combo;
397
395
 
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);
401
 
 
402
 
      vbox2 = gtk_vbox_new (FALSE, 0);
403
 
      gtk_container_add (GTK_CONTAINER (frame), vbox2);
404
 
      gtk_widget_show (vbox2);
405
 
 
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);
411
401
 
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);
417
407
 
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);
423
413
 
424
414
      gimp_prop_scale_entry_new (config, "threshold",