* src/gtk/gtkaspell.c
fix sensitivity of 'Use both dictionaries' in compose window
+2013-01-09 [paul] 3.9.0cvs54
+
+ * src/gtk/gtkaspell.c
+ fix sensitivity of 'Use both dictionaries' in compose window
+
2013-01-09 [mir] 3.9.0cvs53
* tools/vcard2xml.py
2013-01-09 [mir] 3.9.0cvs53
* tools/vcard2xml.py
( cvs diff -u -r 1.12.2.79 -r 1.12.2.80 src/action.c; ) > 3.9.0cvs51.patchset
( cvs diff -u -r 1.1.2.8 -r 1.1.2.9 claws-mail.desktop; ) > 3.9.0cvs52.patchset
( cvs diff -u -r 1.1.4.6 -r 1.1.4.7 tools/vcard2xml.py; ) > 3.9.0cvs53.patchset
( cvs diff -u -r 1.12.2.79 -r 1.12.2.80 src/action.c; ) > 3.9.0cvs51.patchset
( cvs diff -u -r 1.1.2.8 -r 1.1.2.9 claws-mail.desktop; ) > 3.9.0cvs52.patchset
( cvs diff -u -r 1.1.4.6 -r 1.1.4.7 tools/vcard2xml.py; ) > 3.9.0cvs53.patchset
+( cvs diff -u -r 1.9.2.83 -r 1.9.2.84 src/gtk/gtkaspell.c; ) > 3.9.0cvs54.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
/* gtkaspell - a spell-checking addon for GtkText
* Copyright (c) 2000 Evan Martin (original code for ispell).
* Copyright (c) 2002 Melvin Hadasht.
/* gtkaspell - a spell-checking addon for GtkText
* Copyright (c) 2000 Evan Martin (original code for ispell).
* Copyright (c) 2002 Melvin Hadasht.
+ * Copyright (C) 2001-2013 the Claws Mail Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
static GSList *populate_submenu(GtkAspell *gtkaspell)
{
static GSList *populate_submenu(GtkAspell *gtkaspell)
{
- GtkWidget *item, *submenu;
+ GtkWidget *item, *submenu, *both_dicts_item;
gchar *dictname;
GtkAspeller *gtkaspeller = NULL;
GSList *list = NULL;
gchar *dictname;
GtkAspeller *gtkaspeller = NULL;
GSList *list = NULL;
list = g_slist_append(list, item);
}
list = g_slist_append(list, item);
}
- item = gtk_check_menu_item_new_with_label(_("Use both dictionaries"));
- if (gtkaspell->use_both_dicts) {
- gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), TRUE);
+ both_dicts_item = gtk_check_menu_item_new_with_label(_("Use both dictionaries"));
+ if (gtkaspell->use_both_dicts && gtkaspell->use_alternate) {
+ gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(both_dicts_item), TRUE);
- g_signal_connect(G_OBJECT(item), "activate",
+ gtk_widget_set_sensitive(both_dicts_item, gtkaspell->use_alternate);
+
+ g_signal_connect(G_OBJECT(both_dicts_item), "activate",
G_CALLBACK(set_use_both_cb),
gtkaspell);
G_CALLBACK(set_use_both_cb),
gtkaspell);
- gtk_widget_show(item);
- list = g_slist_append(list, item);
+ gtk_widget_show(both_dicts_item);
+ list = g_slist_append(list, both_dicts_item);
item = gtk_menu_item_new();
gtk_widget_show(item);
item = gtk_menu_item_new();
gtk_widget_show(item);