aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-04 06:55:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-04 06:55:34 +0800
commit2e55f851fb04637dac674bd0d9deb2a071026ba5 (patch)
tree09e64db0152751cc455445b804ea1f855610fca7 /mail/folder-browser.c
parent6447ad075851a3f6bc07c3441d4fff44d0bf4cb6 (diff)
downloadgsoc2013-evolution-2e55f851fb04637dac674bd0d9deb2a071026ba5.tar.gz
gsoc2013-evolution-2e55f851fb04637dac674bd0d9deb2a071026ba5.tar.zst
gsoc2013-evolution-2e55f851fb04637dac674bd0d9deb2a071026ba5.zip
Set the window title/icon here instead.
2002-04-03 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Set the window title/icon here instead. * message-tag-editor.c (message_tag_editor_init): Don't set the title or window icon here, this is a generic class. * mail-format.c (handle_multipart_signed): Replace get_url_for_icon with the new mail_display_get_url_for_icon function. (handle_multipart_digest): Here too. (get_cid): Use mail_display_add_url instead. (get_location): Same. (handle_text_enriched): Here too. (handle_multipart_signed): And here. * message-tag-followup.c (message_tag_followup_i18n_name): Use the U_() macro, not the _() macro as it is what we really want. * mail-ops.c (mail_send_message): Don't cast the message into a CamelMedium before sending anymore. * mail-callbacks.c (expunge_folder): Set the followup argument to NULL here. (done_message_selected): Get the followup value here and pass it to the mail-display here. (do_mail_fetch_and_print): Again with the NULL followup here. * folder-browser.c (folder_browser_set_message_preview): Update to pass in NULL as the followup since we are setting the message to NULL here. (done_message_selected): Get and set the appropriate followup value here. (do_message_selected): Update to pass in NULL as the followup since we are setting the message to NULL here. * mail-display.c (mail_display_set_message): Now takes a followup tag value. (mail_display_init): Set md->followup to NULL. (mail_display_destroy): Free md->followup. (mail_display_add_url): New: replaces the static add_url function originally in mail-format.c (mail_display_get_url_for_icon): New: replaces get_url_for_icon which was originally in mail-format.c svn path=/trunk/; revision=16334
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 17136f2bc8..6d653b99eb 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1065,7 +1065,7 @@ folder_browser_set_message_preview (FolderBrowser *folder_browser, gboolean show
} else {
e_paned_set_position (E_PANED (folder_browser->vpaned), 10000);
gtk_widget_hide (GTK_WIDGET (folder_browser->mail_display));
- mail_display_set_message(folder_browser->mail_display, NULL);
+ mail_display_set_message (folder_browser->mail_display, NULL, NULL);
folder_browser_ui_message_loaded(folder_browser);
}
}
@@ -2244,12 +2244,15 @@ done_message_selected (CamelFolder *folder, char *uid, CamelMimeMessage *msg, vo
{
FolderBrowser *fb = data;
int timeout = mail_config_get_mark_as_seen_timeout ();
+ const char *followup;
if (folder != fb->folder || fb->mail_display == NULL)
return;
- mail_display_set_message (fb->mail_display, (CamelMedium *)msg);
-
+ followup = camel_folder_get_message_user_tag (folder, uid, "follow-up");
+
+ mail_display_set_message (fb->mail_display, (CamelMedium *) msg, followup);
+
/* FIXME: should this signal be emitted here?? */
gtk_signal_emit (GTK_OBJECT (fb), folder_browser_signals [MESSAGE_LOADED], uid);
@@ -2298,7 +2301,7 @@ do_message_selected (FolderBrowser *fb)
fb->loading_uid = g_strdup (fb->new_uid);
mail_get_message (fb->folder, fb->loading_uid, done_message_selected, fb, mail_thread_new);
} else {
- mail_display_set_message (fb->mail_display, NULL);
+ mail_display_set_message (fb->mail_display, NULL, NULL);
}
}
+1 * Increment PORTREVISION after liblzma major version change in archivers/xz.naddy2010-11-101-3/+6 * Fix compilation of the python module for rpm; and fix plist [1]johans2010-08-242-4/+17 * Now set localstatedir correctly (/var)johans2010-08-141-0/+2 * - Add extra patch that should fix the rpm build on FreeBSD 6.xjohans2010-07-072-0/+14 * - Update to rpm-4.8.1 (previous version was nearly 10yrs old)johans2010-07-0221-958/+168 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * Update pkg-plist to reflect directories left behind after deinstalljpaetzel2009-05-202-1/+3 * - Fix MASTER_SITESgarga2008-12-301-1/+1 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 * . Drop maintainership.glewis2007-03-231-1/+1 * - Fix after objformat removalpav2007-03-232-2/+4 * . Fix the build of the Python bindings for Python 2.4. It seems like aglewis2006-09-131-9/+44 * Remove USE_REINPLACE from ports in categories starting with A.edwin2006-05-031-1/+0 * Conversion to a single libtool environment.ade2006-02-235-54/+29 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-25/+25 * . Add SHA256.glewis2005-11-161-0/+2 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * . bzip2 has been in the base system since 4.4, so no need to check for it.glewis2005-11-151-3/+0 * . Change rpmrc to support amd64 and also to indicate that i386 and amd64glewis2005-06-032-1/+54 * . Change the default path to search for the source when building an RPMglewis2005-02-191-0/+13 * . Try to remove ${PREFIX}/src when deinstalling as the port creates thisglewis2004-12-291-0/+1 * Clean up handling of locale directories at deinstall-time:kris2004-12-161-0/+2 * s/mirror.ac.uk/mirrorservice.orgvs2004-08-251-1/+1 * . Use libtool 1.3.x rather than 1.4.x (thus removing the last portglewis2004-06-104-3/+9 * - Use USE_ICONV knobkrion2004-03-311-1/+1 * . /usr/local -> %%LOCALBASE%%.glewis2004-03-251-1/+1 * . Link the python modules against libintl so they can actually be used.glewis2004-03-202-5/+6 * . No, it doesn't conflict with rpm2cpio as that installs rpm2cpio.pl, notglewis2004-03-201-1/+1 * . Build and install API documentation if NOPORTDOCS isn't set.glewis2004-03-101-0/+16 * . The RPM web site now refers to it as the "RPM Package Manager", not theglewis2004-03-061-9/+8 * . Disable the javaglue for beecrypt. Its pointless and its broken (breaksglewis2004-03-061-3/+4 * . Fix fetch.glewis2004-03-061-3/+2