added revert to defaults

svn: r5575
This commit is contained in:
Robby Findler 2007-02-08 15:45:12 +00:00
parent 63a716f92f
commit 276cd746df
2 changed files with 8 additions and 1 deletions

View File

@ -238,6 +238,12 @@ the state transitions / contracts are:
[cancel-callback (λ (_1 _2)
(hide-dialog)
(preferences:restore-prefs-snapshot stashed-prefs))])
(new button%
[label (string-constant revert-to-defaults)]
[callback
(λ (a b)
(preferences:restore-defaults))]
[parent bottom-panel])
(gui-utils:ok/cancel-buttons
bottom-panel
ok-callback

View File

@ -418,7 +418,8 @@ please adhere to these guidelines:
(background-color "Background Color")
(default-text-color "Default text") ;; used for configuring colors, but doesn't need the word "color"
(choose-a-background-color "Please choose a background color")
(revert-to-defaults "Revert to defaults")
; title of the color choosing dialog
; should have entire alphabet