From 97ddd11093c92c9a156a7e2655fca823b076ebe7 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 14 Nov 2000 08:54:58 +0000 Subject: updated to HTMLEditor API changes 2000-11-14 Radek Doulik * e-msg-composer.c: updated to HTMLEditor API changes * listener.c: updated to HTMLEditor API changes svn path=/trunk/; revision=6567 --- composer/ChangeLog | 6 ++++++ composer/e-msg-composer.c | 2 +- composer/listener.c | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index fd8012455b..d4a11ff1ce 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,9 @@ +2000-11-14 Radek Doulik + + * e-msg-composer.c: updated to HTMLEditor API changes + + * listener.c: updated to HTMLEditor API changes + 2000-11-13 Radek Doulik * listener.c (reply_indent): extracted function, does reply diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 52a90026e2..72c74ecc10 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -484,7 +484,7 @@ mark_orig_text (EMsgComposer *composer) *((CORBA_boolean *) flag->_value) = CORBA_TRUE; CORBA_exception_init (&ev); - HTMLEditor_Engine_set_object_data_by_type (composer->editor_engine, "ClueFlow", "orig", flag, &ev); + HTMLEditor_Engine_setObjectDataByType (composer->editor_engine, "ClueFlow", "orig", flag, &ev); CORBA_free (flag); CORBA_exception_free (&ev); } diff --git a/composer/listener.c b/composer/listener.c index 90e49e2626..e5aa579cad 100644 --- a/composer/listener.c +++ b/composer/listener.c @@ -67,8 +67,8 @@ resolve_image_url (HTMLEditorListener *l, gchar *url) static void reply_indent (HTMLEditorListener *l, CORBA_Environment * ev) { - if (!HTMLEditor_Engine_paragraph_is_empty (l->composer->editor_engine, ev)) { - if (HTMLEditor_Engine_paragraph_previous_is_empty (l->composer->editor_engine, 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); else { HTMLEditor_Engine_command (l->composer->editor_engine, "insert-paragraph", ev); @@ -94,12 +94,12 @@ impl_event (PortableServer_Servant _servant, if (!strcmp (name, "command")) { /* FIXME check for insert-paragraph command */ - data = HTMLEditor_Engine_get_paragraph_data (l->composer->editor_engine, "orig", ev); + data = HTMLEditor_Engine_getParagraphData (l->composer->editor_engine, "orig", ev); if (ev->_major == CORBA_NO_EXCEPTION && data) { if (CORBA_TypeCode_equal (data->_type, TC_boolean, ev) && BONOBO_ARG_GET_BOOLEAN (data)) reply_indent (l, ev); BONOBO_ARG_SET_BOOLEAN (data, CORBA_FALSE); - HTMLEditor_Engine_set_paragraph_data (l->composer->editor_engine, "orig", data, ev); + HTMLEditor_Engine_setParagraphData (l->composer->editor_engine, "orig", data, ev); } } else if (!strcmp (name, "image_url")) { gchar *url; -- cgit v1.2.3