From 754b4df5e82e26f5b0bd7d7ab13162e0304cfe65 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Thu, 21 Jul 2011 14:15:11 -0500 Subject: [PATCH] make sure the language-specific toolbar buttons are put into the toolbar in the right order initially closes PR 12068 --- collects/drracket/private/module-language-tools.rkt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collects/drracket/private/module-language-tools.rkt b/collects/drracket/private/module-language-tools.rkt index 0ef4198a2a..cd21451c67 100644 --- a/collects/drracket/private/module-language-tools.rkt +++ b/collects/drracket/private/module-language-tools.rkt @@ -41,7 +41,9 @@ (λ (old-button) (send (get-frame) remove-toolbar-button old-button)) toolbar-buttons) (set! toolbar-buttons bs) - (send (get-frame) register-toolbar-buttons toolbar-buttons)) + (send (get-frame) register-toolbar-buttons toolbar-buttons) + (send (send (get-frame) get-toolbar-button-panel) change-children + (λ (l) toolbar-buttons))) (super-new))) (define frame<%> (interface ()))