diff options
-rw-r--r-- | composer/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 57d5f9c6a1..47e0c6caea 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,9 @@ +2005-07-14 Not Zed <NotZed@Ximian.com> + + * e-msg-composer-hdrs.c (address_button_clicked_cb): add casts in + previous patch to fix warnings. + (account_can_send): fix the permission mode name. + 2005-07-13 S.Antony Vincent Pandian <santony@gmail.com> ** See bug #309869 diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index 25619aa25f..cfadd425f9 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -190,11 +190,11 @@ address_button_clicked_cb (GtkButton *button, gpointer data) hdrs = emchas->hdrs; priv = hdrs->priv; - if(button == hdrs->priv->to.label) + if(button == (GtkButton *)hdrs->priv->to.label) gtk_widget_grab_focus(hdrs->priv->to.entry); - else if(button == priv->cc.label) + else if(button == (GtkButton *)priv->cc.label) gtk_widget_grab_focus(hdrs->priv->cc.entry); - else if(button == priv->bcc.label) + else if(button == (GtkButton *)priv->bcc.label) gtk_widget_grab_focus(hdrs->priv->bcc.entry); name_selector_dialog = e_name_selector_peek_dialog (priv->name_selector); @@ -342,7 +342,7 @@ account_can_send (EAccount *account) return FALSE; } - if (store->permissions & CAMEL_PROXY_STORE_WRITE) + if (store->mode & CAMEL_STORE_WRITE) return TRUE; return FALSE; |