diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-08-26 00:47:26 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-08-31 09:09:21 +0200 |
commit | c53f2f75375dfffd2f258c76f5b722d37ab0daf9 (patch) | |
tree | 9897889d0f6470ccc93af255c975c04520ba89ee /ide/wg_ProofView.ml | |
parent | f1ecbf5014dac5a1bfbd4a5bb352fe303280e44b (diff) |
Switching to an event-based mechanism for CoqIDE preferences.
There is no remaining hook in the preferences. In particular, the
refresh_editor_hook is gone.
Diffstat (limited to 'ide/wg_ProofView.ml')
-rw-r--r-- | ide/wg_ProofView.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ide/wg_ProofView.ml b/ide/wg_ProofView.ml index e3a741394..6402789ec 100644 --- a/ide/wg_ProofView.ml +++ b/ide/wg_ProofView.ml @@ -197,6 +197,9 @@ let proof_view () = let cb clr = view#misc#modify_base [`NORMAL, `NAME clr] in let _ = background_color#connect#changed cb in let _ = view#misc#connect#realize (fun () -> cb background_color#get) in + let cb ft = view#misc#modify_font (Pango.Font.from_string ft) in + stick text_font view cb; + object inherit GObj.widget view#as_widget val mutable goals = None |