iwidgets for itk4

Ticket Change Details
Login
Overview

Artifact ID: 6c4ae476b2f8c3abb2689bb12dfd955ec0898827
Ticket: 090f610de9ff1a087af4113fa563f977b71103a8
tabset.itk patch to enable background/foreground colors with spaces in their names
User & Date: bigfaceworm 2018-06-05 23:33:31
Changes

  1. Change foundin to "latest"
  2. Change icomment to:

    If you create a tabset with the options -foreground/-selectforeground/-disabledforeground/-background/-selectbackground and specify colors using the english description like "Dark Blue"

    this is due to the use of 'eval' and not properly creating the command using [list] to preserve quoting.

    Here is the patch you can apply to fix the problem ------------------------------------------------------------------- --- tabset.itk.orig 2018-06-05 16:23:54.228090301 -0700 +++ tabset.itk 2018-06-05 16:24:40.547745872 -0700 @@ -893,11 +893,11 @@ -left $x \ -top $y \ -font [list $itk_option(-font)] \ - -background $itk_option(-background) \ - -foreground $itk_option(-foreground) \ - -selectforeground $itk_option(-selectforeground) \ - -disabledforeground $itk_option(-disabledforeground) \ - -selectbackground $itk_option(-selectbackground) \ + -background [list $itk_option(-background)] \ + -foreground [list $itk_option(-foreground)] \ + -selectforeground [list $itk_option(-selectforeground)] \ + -disabledforeground [list $itk_option(-disabledforeground)] \ + -selectbackground [list $itk_option(-selectbackground)] \ -angle $itk_option(-angle) \ -padx $itk_option(-padx) \ -pady $itk_option(-pady) \

  3. Change login to "bigfaceworm"
  4. Change mimetype to "text/x-fossil-plain"
  5. Change private_contact to "5cf9569cda9cff4e20f184ff96974aff0f932dfb"
  6. Change severity to "Severe"
  7. Change status to "Open"
  8. Change title to:

    tabset.itk patch to enable background/foreground colors with spaces in their names

  9. Change type to "Code_Defect"