diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-06-07 03:28:21 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-07 03:28:21 +0800 |
commit | 432ba0b3ddd83ea6ac3688474a9c3ab1f854550c (patch) | |
tree | 9bd708c8e54662debdbdfedd632b4617e6c25e6f | |
parent | f5287d53d8695348303911d1e15e7d57399d1f79 (diff) | |
download | gsoc2013-evolution-432ba0b3ddd83ea6ac3688474a9c3ab1f854550c.tar.gz gsoc2013-evolution-432ba0b3ddd83ea6ac3688474a9c3ab1f854550c.tar.zst gsoc2013-evolution-432ba0b3ddd83ea6ac3688474a9c3ab1f854550c.zip |
Agh, priv->from.entry is no longer a GtkOptionMenu - it is an hbox
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.
svn path=/trunk/; revision=17136
-rw-r--r-- | composer/ChangeLog | 4 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 4 |
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; |