( cvs diff -u -r 1.4.2.9 -r 1.4.2.10 autogen.sh; cvs diff -u -r 1.654.2.4008 -r 1.654.2.4009 configure.ac; cvs diff -u -r 1.1.2.79 -r 1.1.2.80 src/wizard.c; ) > 3.7.4cvs7.patchset
( cvs diff -u -r 1.105.2.156 -r 1.105.2.157 src/prefs_account.c; cvs diff -u -r 1.59.2.80 -r 1.59.2.81 src/prefs_filtering.c; cvs diff -u -r 1.1.2.25 -r 1.1.2.26 src/prefs_send.c; cvs diff -u -r 1.2.2.27 -r 1.2.2.28 src/gtk/colorlabel.c; ) > 3.7.4cvs8.patchset
( cvs diff -u -r 1.1.2.38 -r 1.1.2.39 commitHelper; cvs diff -u -r 1.2.2.9 -r 1.2.2.10 tools/kdeservicemenu/install.sh; cvs diff -u -r 1.1.2.9 -r 1.1.2.10 tools/make.themes.project; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 tools/nautilus2claws-mail.sh; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 tools/popfile-link.sh; cvs diff -u -r 1.4.2.5 -r 1.4.2.6 tools/textviewer.sh; ) > 3.7.4cvs9.patchset
+( cvs diff -u -r 1.60.2.135 -r 1.60.2.136 src/addressbook.c; ) > 3.7.4cvs10.patchset
void addressbook_set_target_compose(Compose *target)
{
addrbook.target_compose = target;
- addressbook_button_set_sensitive();
}
Compose *addressbook_get_target_compose(void)
addressbook_status_show( addressbook_msgbuf );
}
-static void addressbook_button_set_sensitive(void)
-{
- gboolean to_sens = FALSE;
- gboolean cc_sens = FALSE;
- gboolean bcc_sens = FALSE;
-
- if (!addrbook.window) return;
-
- if (addrbook.target_compose) {
- to_sens = TRUE;
- cc_sens = TRUE;
- bcc_sens = TRUE;
- }
-
- gtk_widget_set_sensitive(addrbook.to_btn, to_sens);
- gtk_widget_set_sensitive(addrbook.cc_btn, cc_sens);
- gtk_widget_set_sensitive(addrbook.bcc_btn, bcc_sens);
-}
-
static void addressbook_edit_clicked(GtkButton *button, gpointer data)
{
addressbook_edit_address_cb(NULL, NULL);
gtk_widget_set_sensitive( addrbook.edit_btn, canEdit );
gtk_widget_set_sensitive( addrbook.del_btn, canDelete );
+ if (addrbook.target_compose) {
+ gtk_widget_set_sensitive(addrbook.to_btn, obj ? TRUE : FALSE);
+ gtk_widget_set_sensitive(addrbook.cc_btn, obj ? TRUE : FALSE);
+ gtk_widget_set_sensitive(addrbook.bcc_btn, obj ? TRUE : FALSE);
+ }
#ifdef USE_LDAP
cm_menu_set_sensitive_full( addrbook.ui_manager, "Popups/ABListPopup/BrowseEntry", canBrowse );
#endif