1. 09 Apr, 2008 10 commits
  2. 08 Apr, 2008 2 commits
  3. 07 Apr, 2008 7 commits
  4. 06 Apr, 2008 1 commit
    • Gerrit Pape's avatar
      gitk: Fix changing colors through Edit->Preferences · 80dd7b44
      Gerrit Pape authored
      With tcl/tk8.5 the lset command seems to behave differently.  When
      changing the background color through Edit->Preferences, the changes
      are applied, but new dialogs, such as View->New view... barf with
      
       Error: unknown color name "{#ffffff}"
      
      Additionally when closing gitk, and starting it up again, a bad value
      has been saved to ~/.gitk, preventing gitk from running properly; it
      fails with
      
       Error in startup script: unknown color name "{#ffffff}"
       ...
      
      This commit fixes the problem by changing the color dialogs to pass
      the empty string {} as the list index to choosecolor.  This causes
      the lset and lindex commands used by choosecolor to use and set the
      whole variable (bgcolor, fgcolor or selectbgcolor) rather than
      treating them as a 1-element list.  Tested with tcl/tk8.4 and 8.5.
      
      Dmitry Potapov reported this problem through
       http://bugs.debian.org/472615Signed-off-by: default avatarGerrit Pape <pape@smarden.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      80dd7b44
  5. 05 Apr, 2008 7 commits
  6. 04 Apr, 2008 1 commit
  7. 02 Apr, 2008 12 commits