diff options
author | nobody <nobody@localhost> | 2006-05-29 22:47:37 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2006-05-29 22:47:37 +0800 |
commit | 811d891ab072b96c90060e8ebb0b0deebe56d250 (patch) | |
tree | a36bd6b1f0c9804710cc0afb8674137aea6f32d4 /mail/em-folder-view.c | |
parent | 0901fb55dc94f997a789fa78fda4f7f9a30c0a8f (diff) | |
download | gsoc2013-evolution-EVOLUTION_2_6_2.tar.gz gsoc2013-evolution-EVOLUTION_2_6_2.tar.zst gsoc2013-evolution-EVOLUTION_2_6_2.zip |
This commit was manufactured by cvs2svn to create tagEVOLUTION_2_6_2
'EVOLUTION_2_6_2'.
svn path=/tags/EVOLUTION_2_6_2/; revision=32051
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r-- | mail/em-folder-view.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index 7add999ec3..863b870e4d 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -500,7 +500,6 @@ emfv_setup_view_instance(EMFolderView *emfv) gboolean outgoing; char *id; static GalViewCollection *collection = NULL; - CamelFolderInfo *fi = NULL; g_assert(emfv->folder); g_assert(emfv->folder_uri); @@ -559,12 +558,8 @@ emfv_setup_view_instance(EMFolderView *emfv) id = mail_config_folder_to_safe_url (emfv->folder); p->view_instance = gal_view_instance_new (collection, id); g_free (id); - - fi = camel_store_get_folder_info (emfv->folder->parent_store, - emfv->folder->full_name, - CAMEL_STORE_FOLDER_INFO_SUBSCRIBED, - NULL); - if (outgoing || (fi && ((fi->flags & CAMEL_FOLDER_TYPE_MASK) == CAMEL_FOLDER_TYPE_SENT))) + + if (outgoing) gal_view_instance_set_default_view(p->view_instance, "As_Sent_Folder"); gal_view_instance_load(p->view_instance); @@ -2427,9 +2422,6 @@ emfv_list_selection_change(ETree *tree, EMFolderView *emfv) static void emfv_format_link_clicked(EMFormatHTMLDisplay *efhd, const char *uri, EMFolderView *emfv) { - if (!strncmp (uri, "##", 2)) - return; - if (!g_ascii_strncasecmp (uri, "mailto:", 7)) { em_utils_compose_new_message_with_mailto (uri, emfv->folder_uri); } else if (*uri == '#') { @@ -2826,8 +2818,6 @@ emfv_on_url_cb (GObject *emitter, const char *url, EMFolderView *emfv) g_free(addr); camel_url_free(curl); camel_object_unref(cia); - } else if (!strncmp (url, "##", 2)) { - nice_url = g_strdup_printf (_("Click to hide/unhide addresses"), url); } else nice_url = g_strdup_printf (_("Click to open %s"), url); } |