aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
}