diff options
-rw-r--r-- | composer/ChangeLog | 2 | ||||
-rw-r--r-- | composer/listener.c | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index d4a11ff1ce..f7878e7b62 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,5 +1,7 @@ 2000-11-14 Radek Doulik <rodo@helixcode.com> + * listener.c (reply_indent): rename command to runCommand + * e-msg-composer.c: updated to HTMLEditor API changes * listener.c: updated to HTMLEditor API changes diff --git a/composer/listener.c b/composer/listener.c index e5aa579cad..0a609e6e44 100644 --- a/composer/listener.c +++ b/composer/listener.c @@ -69,16 +69,16 @@ reply_indent (HTMLEditorListener *l, CORBA_Environment * ev) { if (!HTMLEditor_Engine_isParagraphEmpty (l->composer->editor_engine, ev)) { if (HTMLEditor_Engine_isPreviousParagraphEmpty (l->composer->editor_engine, ev)) - HTMLEditor_Engine_command (l->composer->editor_engine, "cursor-backward", ev); + HTMLEditor_Engine_runCommand (l->composer->editor_engine, "cursor-backward", ev); else { - HTMLEditor_Engine_command (l->composer->editor_engine, "insert-paragraph", ev); + HTMLEditor_Engine_runCommand (l->composer->editor_engine, "insert-paragraph", ev); return; } } - HTMLEditor_Engine_command (l->composer->editor_engine, "style-normal", ev); - HTMLEditor_Engine_command (l->composer->editor_engine, "indent-zero", ev); - HTMLEditor_Engine_command (l->composer->editor_engine, "italic-off", ev); + HTMLEditor_Engine_runCommand (l->composer->editor_engine, "style-normal", ev); + HTMLEditor_Engine_runCommand (l->composer->editor_engine, "indent-zero", ev); + HTMLEditor_Engine_runCommand (l->composer->editor_engine, "italic-off", ev); } static CORBA_any * |