aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2003-03-20 23:00:49 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-03-20 23:00:49 +0800
commitab6fef7852fe64f8c045b468c4fc2e37c16f33a3 (patch)
treed53ef8058c2cf480bfaed6f9698a1ea7ebdaebd1
parent80375dd7154a2bb3d0c82a85f06b4cc93b3449a0 (diff)
downloadgsoc2013-evolution-ab6fef7852fe64f8c045b468c4fc2e37c16f33a3.tar.gz
gsoc2013-evolution-ab6fef7852fe64f8c045b468c4fc2e37c16f33a3.tar.zst
gsoc2013-evolution-ab6fef7852fe64f8c045b468c4fc2e37c16f33a3.zip
updated for gnome spell API 0.3
svn path=/trunk/; revision=20383
-rw-r--r--mail/Spell.idl6
-rw-r--r--mail/mail-composer-prefs.c4
2 files changed, 5 insertions, 5 deletions
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<string> StringSeq;
struct Language {
string name;
- string abrev;
+ string abbreviation;
};
typedef sequence<Language> 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);
}
}