aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2006-05-26 02:05:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2006-05-26 02:05:31 +0800
commit4b1250f0ca99455f37d637c42250933b863faedc (patch)
treed7b44206a9528f22715ce9769a7b56e4db9a62b7
parent1999fbd962a84e499dcfd3ff3f09372f7d0dd179 (diff)
downloadgsoc2013-evolution-4b1250f0ca99455f37d637c42250933b863faedc.tar.gz
gsoc2013-evolution-4b1250f0ca99455f37d637c42250933b863faedc.tar.zst
gsoc2013-evolution-4b1250f0ca99455f37d637c42250933b863faedc.zip
Set the visible field to FALSE.
2006-05-25 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer-hdrs.c (header_new_recipient): Set the visible field to FALSE. svn path=/trunk/; revision=32031
-rw-r--r--composer/ChangeLog10
-rw-r--r--composer/e-msg-composer-attachment-bar.c2
-rw-r--r--composer/e-msg-composer-hdrs.c26
3 files changed, 22 insertions, 16 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 9a877b3998..bcf9e68f19 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,10 +1,16 @@
+2006-05-25 Jeffrey Stedfast <fejj@novell.com>
+
+ * e-msg-composer-hdrs.c (header_new_recipient): Set the visible
+ field to FALSE.
+
2006-05-25 Srinivasa Ragavan <sragavan@novell.com>
Added support to attach from remote shares
- * e-msg-composer-select-file.c: (get_selector),
+ * e-msg-composer-select-file.c (get_selector),
(select_attach_response):
- * e-msg-composer.c: (add_to_bar), (drop_action):
+
+ * e-msg-composer.c (add_to_bar, drop_action):
2006-03-09 Sam Yang <sam.yang@sun.com>
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 7f15137e6a..f44745dd06 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -813,7 +813,7 @@ attach_to_multipart (CamelMultipart *multipart,
default_charset = buf = get_default_charset ();
/* FIXME: We should really check that this fits within the
- default_charset and if not find one that does and/or
+ default_charset and if not find one that does and/or
allow the user to specify? */
}
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 1a875e0df5..b271bc629f 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -191,13 +191,13 @@ address_button_clicked_cb (GtkButton *button, gpointer data)
hdrs = emchas->hdrs;
priv = hdrs->priv;
- if(button == (GtkButton *)hdrs->priv->to.label)
- gtk_widget_grab_focus(hdrs->priv->to.entry);
- else if(button == (GtkButton *)priv->cc.label)
- gtk_widget_grab_focus(hdrs->priv->cc.entry);
- else if(button == (GtkButton *)priv->bcc.label)
- gtk_widget_grab_focus(hdrs->priv->bcc.entry);
-
+ if (button == (GtkButton *) hdrs->priv->to.label)
+ gtk_widget_grab_focus (hdrs->priv->to.entry);
+ else if (button == (GtkButton *) priv->cc.label)
+ gtk_widget_grab_focus (hdrs->priv->cc.entry);
+ 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);
gtk_widget_show (GTK_WIDGET (name_selector_dialog));
}
@@ -593,6 +593,7 @@ header_new_recipient (EMsgComposerHdrs *hdrs, const char *name, const char *tip)
NULL);
ret.entry = create_addressbook_entry (hdrs, name);
+ ret.visible = FALSE;
return ret;
}
@@ -611,7 +612,8 @@ static void
create_headers (EMsgComposerHdrs *hdrs)
{
EMsgComposerHdrsPrivate *priv = hdrs->priv;
- AtkObject *a11y;
+ AtkObject *a11y;
+
/*
* Reply-To:
*
@@ -667,10 +669,9 @@ create_headers (EMsgComposerHdrs *hdrs)
NULL);
priv->post_to.entry = gtk_entry_new ();
- a11y = gtk_widget_get_accessible (priv->post_to.entry);
- if (a11y != NULL) {
+ if ((a11y = gtk_widget_get_accessible (priv->post_to.entry)))
atk_object_set_name (a11y, _("Post To:"));
- }
+
g_signal_connect(priv->post_to.entry, "changed",
G_CALLBACK (post_entry_changed_cb), hdrs);
}
@@ -1143,8 +1144,7 @@ e_msg_composer_hdrs_set_from_account (EMsgComposerHdrs *hdrs,
item = l->data;
account = g_object_get_data ((GObject *) item, "account");
- if (account_can_send (account))
- {
+ if (account_can_send (account)) {
if (account_name) {
if (account->name && !strcmp (account_name, account->name)) {
/* set the correct optionlist item */