diff options
Diffstat (limited to 'save.pl')
-rw-r--r-- | save.pl | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,6 +18,8 @@ unlink(D) :-> :- pce_global(@commit_browser, new(browser)). :- pce_global(@save_button, new(button(save, message(@prolog, save), 'RET'))). +:- pce_global(@refresh_button, + new(button(refresh, message(@prolog, refresh)))). main :- pce_main_loop(main). @@ -48,8 +50,7 @@ added(0) :- bold)), send(@dialog, append, @editor), send(@dialog, append, @save_button), - send(@dialog, append, button(refresh, - and(message(@prolog, refresh)))), + send(@dialog, append, @refresh_button), send(@dialog, open). refresh :- |