aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorRadek Doulik <rodo@helixcode.com>2000-11-14 16:54:58 +0800
committerRadek Doulik <rodo@src.gnome.org>2000-11-14 16:54:58 +0800
commit97ddd11093c92c9a156a7e2655fca823b076ebe7 (patch)
tree34fd3e5325c9e1fa81e88b26d5af1776b7b49ece /composer
parentc633a80c1e353f8c56e6a97bd8996a33fbf3b384 (diff)
downloadgsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar
gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar.gz
gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar.bz2
gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar.lz
gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar.xz
gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.tar.zst
gsoc2013-evolution-97ddd11093c92c9a156a7e2655fca823b076ebe7.zip
updated to HTMLEditor API changes
2000-11-14 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c: updated to HTMLEditor API changes * listener.c: updated to HTMLEditor API changes svn path=/trunk/; revision=6567
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c2
-rw-r--r--composer/listener.c8
3 files changed, 11 insertions, 5 deletions
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 <rodo@helixcode.com>
+
+ * e-msg-composer.c: updated to HTMLEditor API changes
+
+ * listener.c: updated to HTMLEditor API changes
+
2000-11-13 Radek Doulik <rodo@helixcode.com>
* 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;