/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2002-2007 Hiroyuki Yamamoto & the Claws Mail team
+ * Copyright (C) 2002-2012 Hiroyuki Yamamoto & the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#ifdef HAVE_CONFIG_H
# include "config.h"
+#include "claws-features.h"
#endif
#if USE_ENCHANT
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);
gtk_widget_show (vbox1);
table = gtk_table_new(6, 4, FALSE);
gtk_widget_show(table);
- gtk_container_set_border_width(GTK_CONTAINER(table), 8);
+ gtk_container_set_border_width(GTK_CONTAINER(table), 0);
gtk_table_set_row_spacings(GTK_TABLE(table), 4);
gtk_table_set_col_spacings(GTK_TABLE(table), 8);
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);