diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-14 01:23:14 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-14 01:23:14 +0800 |
commit | 14538bdee1f3838d944ac3f6945f0cfb3122965e (patch) | |
tree | ee4ae3807d927c7de0f4024b35c432296c4385c6 /composer/e-msg-composer-hdrs.c | |
parent | 43c6731edc5bcb9087e3588c3b940876c990cba7 (diff) | |
download | gsoc2013-evolution-14538bdee1f3838d944ac3f6945f0cfb3122965e.tar.gz gsoc2013-evolution-14538bdee1f3838d944ac3f6945f0cfb3122965e.tar.zst gsoc2013-evolution-14538bdee1f3838d944ac3f6945f0cfb3122965e.zip |
Use gnome_vfs_mime_type_from_name rather than gnome_vfs_mime_info, since
* e-msg-composer-attachment.c (update_mime_type): Use
gnome_vfs_mime_type_from_name rather than gnome_vfs_mime_info,
since the entered filename doesn't have to be a real file on disk.
Deal with it returning NULL too.
(e_msg_composer_attachment_edit): Select the right item in the
inline/attachment menu.
* e-msg-composer-hdrs.c: s/Pair/EMsgComposerHdrPair/. Namespace!
svn path=/trunk/; revision=8673
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index f6858ee492..39d5c81647 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -55,7 +55,7 @@ typedef struct { GtkWidget *label; GtkWidget *entry; -} Pair; +} EMsgComposerHdrPair; struct _EMsgComposerHdrsPrivate { GNOME_Evolution_Addressbook_SelectNames corba_select_names; @@ -66,7 +66,7 @@ struct _EMsgComposerHdrsPrivate { GSList *from_options; /* Standard headers. */ - Pair from, reply_to, to, cc, bcc, subject; + EMsgComposerHdrPair from, reply_to, to, cc, bcc, subject; }; @@ -292,11 +292,11 @@ create_addressbook_entry (EMsgComposerHdrs *hdrs, return control_widget; } -static Pair +static EMsgComposerHdrPair header_new_recipient (EMsgComposerHdrs *hdrs, const gchar *name, const gchar *tip) { EMsgComposerHdrsPrivate *priv; - Pair ret; + EMsgComposerHdrPair ret; priv = hdrs->priv; @@ -388,7 +388,7 @@ create_headers (EMsgComposerHdrs *hdrs) } static void -attach_couple (EMsgComposerHdrs *hdrs, Pair *pair, int line) +attach_couple (EMsgComposerHdrs *hdrs, EMsgComposerHdrPair *pair, int line) { int pad; @@ -424,7 +424,7 @@ attach_headers (EMsgComposerHdrs *hdrs) } static void -set_pair_visibility (EMsgComposerHdrs *h, Pair *pair, gboolean visible) +set_pair_visibility (EMsgComposerHdrs *h, EMsgComposerHdrPair *pair, gboolean visible) { if (visible){ gtk_widget_show (pair->label); |