2010-12-16 [colin] 3.7.8cvs4
authorColin Leroy <colin@colino.net>
Thu, 16 Dec 2010 13:01:41 +0000 (13:01 +0000)
committerColin Leroy <colin@colino.net>
Thu, 16 Dec 2010 13:01:41 +0000 (13:01 +0000)
* src/prefs_spelling.c
* src/common/defs.h
Add a button to get dictionaries (win32)

ChangeLog
PATCHSETS
configure.ac
src/common/defs.h
src/prefs_spelling.c

index 68e0c8d7cab71630ebdf769dd8e8209a1220959b..89f6d9908929e8c093651acac496ce2b7214d97c 100644 (file)
--- 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
index 0152d5d09e1921c891bd8dba4a583708df57eeaa..fd428cbe468cff0cb7554cbefd04e8ffffbd99b6 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index dd72133639b6c50505c0555d058cda5b13aaaabe..5b5cc292e8a1f8e6dd58b55de540c2c46627b444 100644 (file)
@@ -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=
 
index 93925923bb25780d3ff4fb515ec781becf32a747..f025035b9eec61b333a4799c657abbb0b32d2c1f 100644 (file)
@@ -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"
index 8ecb1b2e2907c9d86be2614d62f6351cbfea2064..9c9b46b953d6728f056c770af9f5151dc75e6f8c 100644 (file)
@@ -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);