From ab6fef7852fe64f8c045b468c4fc2e37c16f33a3 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 20 Mar 2003 15:00:49 +0000 Subject: updated for gnome spell API 0.3 svn path=/trunk/; revision=20383 --- mail/Spell.idl | 6 +++--- mail/mail-composer-prefs.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/Spell.idl b/mail/Spell.idl index 1f0efc2870..f251253422 100644 --- a/mail/Spell.idl +++ b/mail/Spell.idl @@ -27,7 +27,7 @@ module GNOME { typedef sequence StringSeq; struct Language { string name; - string abrev; + string abbreviation; }; typedef sequence LanguageSeq; @@ -60,12 +60,12 @@ module GNOME { * add to session/personal dictionary */ void addWordToSession (in string word) raises (Error); - void addWordToPersonal (in string word) raises (Error); + void addWordToPersonal (in string word, in string language) raises (Error); /** * informs dictionary, that word 'word' will be replaced/corrected by word 'replacement' */ - void setCorrection (in string word, in string replacement); + void setCorrection (in string word, in string replacement, in string language); }; }; }; diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c index 1dcef65b39..9ed7acbd0b 100644 --- a/mail/mail-composer-prefs.c +++ b/mail/mail-composer-prefs.c @@ -457,7 +457,7 @@ sig_event_client (MailConfigSigEvent event, MailConfigSignature *sig, MailCompos #include "Spell.h" #define GNOME_SPELL_GCONF_DIR "/GNOME/Spell" -#define SPELL_API_VERSION "0.2" +#define SPELL_API_VERSION "0.3" static void spell_set_ui (MailComposerPrefs *prefs) @@ -704,7 +704,7 @@ spell_setup (MailComposerPrefs *prefs) gtk_list_store_append (model, &iter); gtk_list_store_set (model, &iter, 1, _(prefs->language_seq->_buffer[i].name), - 2, prefs->language_seq->_buffer[i].abrev, + 2, prefs->language_seq->_buffer[i].abbreviation, -1); } } -- cgit v1.2.3