diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-01 11:54:13 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-01 11:54:13 +0800 |
commit | 70c9d1ce6afba17ffc1ae583ef40656959967b22 (patch) | |
tree | 93ab4fac38e432ad5204fcfc2fa4a59c85d25825 /mail/mail-display.c | |
parent | 99c51c5a8cc66694ca5f65f27ae8d1fc7b067c29 (diff) | |
download | gsoc2013-evolution-70c9d1ce6afba17ffc1ae583ef40656959967b22.tar.gz gsoc2013-evolution-70c9d1ce6afba17ffc1ae583ef40656959967b22.tar.zst gsoc2013-evolution-70c9d1ce6afba17ffc1ae583ef40656959967b22.zip |
Removed folder-browser-window from the build.
2002-07-31 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Removed folder-browser-window from the build.
* folder-browser-window.[c,h]: Removed.
* mail-callbacks.c (view_digest): Removed.
* mail-display.c (mail_display_digest_clicked): Removed.
(on_link_clicked): Don't handle digest: urls anymore.
svn path=/trunk/; revision=17666
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c index 528bb07fe4..e2aa411744 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -50,7 +50,6 @@ #include "folder-browser-factory.h" #include "mail-stream-gtkhtml.h" #include "message-tag-followup.h" -#include "folder-browser-window.h" #include "folder-browser.h" #include "mail-display.h" #include "mail-config.h" @@ -277,41 +276,12 @@ mail_display_jump_to_anchor (MailDisplay *md, const char *url) } static void -mail_display_digest_clicked (MailDisplay *md, const char *url) -{ - FolderBrowser *fb, *parent_fb; - CamelFolder *digest; - CamelStore *store; - GtkWidget *window; - - parent_fb = (FolderBrowser *) gtk_widget_get_ancestor (GTK_WIDGET (md), FOLDER_BROWSER_TYPE); - - store = camel_digest_store_new (url); - - digest = camel_digest_folder_new (store, md->current_message); - camel_object_unref (CAMEL_OBJECT (store)); - if (!digest) - return; - - fb = (FolderBrowser *) folder_browser_new (parent_fb->shell, NULL); - folder_browser_set_message_preview (fb, TRUE); - folder_browser_set_folder (fb, digest, url); - camel_object_unref (CAMEL_OBJECT (digest)); - gtk_widget_show (GTK_WIDGET (fb)); - - window = folder_browser_window_new (fb); - gtk_widget_show (window); -} - -static void on_link_clicked (GtkHTML *html, const char *url, MailDisplay *md) { if (!g_strncasecmp (url, "news:", 5) || !g_strncasecmp (url, "nntp:", 5)) { g_warning ("Can't handle news URLs yet."); } else if (!g_strncasecmp (url, "mailto:", 7)) { send_to_url (url); - } else if (!g_strncasecmp (url, "digest:", 7)) { - mail_display_digest_clicked (md, url); } else if (*url == '#') { mail_display_jump_to_anchor (md, url); } else { |