aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/e-msg-composer-hdrs.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 00fa0377f6..fa76e257bb 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,5 +1,9 @@
2002-06-06 Jeffrey Stedfast <fejj@ximian.com>
+ * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account):
+ Agh, priv->from.entry is no longer a GtkOptionMenu - it is an hbox
+ containing the GtkOptionMenu.
+
* e-msg-composer.c (setup_ui): Remove the customize toolbar thingy
since Michael said that this would fix bug #17952.
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index e6caed6184..1db41d6d3d 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -252,6 +252,8 @@ create_from_optionmenu (EMsgComposerHdrs *hdrs)
gtk_widget_show (omenu);
gtk_widget_show (hbox);
+ gtk_object_set_data (GTK_OBJECT (hbox), "from_menu", omenu);
+
return hbox;
}
@@ -808,7 +810,7 @@ e_msg_composer_hdrs_set_from_account (EMsgComposerHdrs *hdrs,
g_return_if_fail (hdrs != NULL);
g_return_if_fail (E_IS_MSG_COMPOSER_HDRS (hdrs));
- omenu = GTK_OPTION_MENU (hdrs->priv->from.entry);
+ omenu = GTK_OPTION_MENU (gtk_object_get_data (GTK_OBJECT (hdrs->priv->from.entry), "from_menu"));
if (account_name)
default_account = -1;