talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit e15cef98594b88046ad8457f4524d5818b44cc78
parent 00d6ca02ceea603cb479bfd062732e1d18f6d21d
Author: Colin Leroy <colin@colino.net>
Date:   Thu, 16 Dec 2010 13:01:41 +0000

2010-12-16 [colin]	3.7.8cvs4

	* src/prefs_spelling.c
	* src/common/defs.h
		Add a button to get dictionaries (win32)

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/common/defs.h | 1+
Msrc/prefs_spelling.c | 14+++++++++++++-
5 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2010-12-16 [colin] 3.7.8cvs4 + + * src/prefs_spelling.c + * src/common/defs.h + Add a button to get dictionaries (win32) + 2010-12-16 [colin] 3.7.8cvs3 * src/prefs_matcher.c diff --git a/PATCHSETS b/PATCHSETS @@ -4077,3 +4077,4 @@ ( cvs diff -u -r 1.1.2.10 -r 1.1.2.11 tools/make.themes.project; ) > 3.7.8cvs1.patchset ( cvs diff -u -r 1.9.2.69 -r 1.9.2.70 src/gtk/gtkaspell.c; ) > 3.7.8cvs2.patchset ( cvs diff -u -r 1.43.2.85 -r 1.43.2.86 src/prefs_matcher.c; ) > 3.7.8cvs3.patchset +( cvs diff -u -r 1.5.2.40 -r 1.5.2.41 src/prefs_spelling.c; cvs diff -u -r 1.9.2.49 -r 1.9.2.50 src/common/defs.h; ) > 3.7.8cvs4.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=8 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=3 +EXTRA_VERSION=4 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/common/defs.h b/src/common/defs.h @@ -85,6 +85,7 @@ #define MANUAL_URI "http://www.claws-mail.org/documentation.php" #define FAQ_URI "http://www.claws-mail.org/faq/index.php" #define PLUGINS_URI "http://www.claws-mail.org/plugins.php" +#define DICTS_URI "http://www.claws-mail.org/win32/dictionaries.php" #define BUGZILLA_URI "http://www.thewildbeast.co.uk/claws-mail/bugzilla/enter_bug.cgi" #define THEMES_URI "http://www.claws-mail.org/themes.php" #define TOOLS_URI "http://www.claws-mail.org/tools.php" diff --git a/src/prefs_spelling.c b/src/prefs_spelling.c @@ -107,11 +107,15 @@ static void prefs_spelling_create_widget(PrefsPage *_page, GtkWindow *window, gp GtkWidget *default_alt_dict_label; GtkWidget *default_alt_dict_combo; - GtkWidget *both_dict_check; +#ifdef WIN32 + GtkWidget *get_dictionaries_btn; +#endif + GtkWidget *misspelled_label; GtkWidget *misspelled_hbox; GtkWidget *misspelled_colorbtn; + CLAWS_TIP_DECL(); vbox1 = gtk_vbox_new (FALSE, VSPACING); @@ -189,6 +193,14 @@ static void prefs_spelling_create_widget(PrefsPage *_page, GtkWindow *window, gp gtk_table_attach (GTK_TABLE (table), both_dict_check, 1, 2, 2, 3, GTK_SHRINK, 0, 0, 0); +#ifdef WIN32 + get_dictionaries_btn = gtkut_get_link_btn(GTK_WIDGET(window), + DICTS_URI, _("Get more dictionaries...")); + + gtk_widget_show(get_dictionaries_btn); + gtk_table_attach (GTK_TABLE (table), get_dictionaries_btn, 1, 2, 3, 4, + GTK_SHRINK, 0, 0, 0); +#endif misspelled_hbox = gtk_hbox_new(FALSE, 10); gtk_widget_show(misspelled_hbox); gtk_box_pack_start(GTK_BOX(vbox1), misspelled_hbox, FALSE, FALSE, 0);