aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-13 05:00:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-13 05:00:58 +0800
commit0e39518ba7b473c1524e47a0b2618b503e116326 (patch)
tree4df02e1ebc5d029a5041e15f3ae03fb443e17108 /composer/e-msg-composer-attachment.c
parentf3e71a93f56b1d14768059114df2fd3978f5abfb (diff)
downloadgsoc2013-evolution-0e39518ba7b473c1524e47a0b2618b503e116326.tar
gsoc2013-evolution-0e39518ba7b473c1524e47a0b2618b503e116326.tar.gz
gsoc2013-evolution-0e39518ba7b473c1524e47a0b2618b503e116326.tar.bz2
gsoc2013-evolution-0e39518ba7b473c1524e47a0b2618b503e116326.tar.lz
gsoc2013-evolution-0e39518ba7b473c1524e47a0b2618b503e116326.tar.xz
gsoc2013-evolution-0e39518ba7b473c1524e47a0b2618b503e116326.tar.zst
gsoc2013-evolution-0e39518ba7b473c1524e47a0b2618b503e116326.zip
Set the file-selection window icon. Fixes the mailer part of bug #7368.
2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Set the file-selection window icon. Fixes the mailer part of bug #7368. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Don't call new_from_mime_part() since that function now does some copying of the mime part rather than simply reffing it. (e_msg_composer_attachment_new_from_mime_part): Make a copy of the MIME part so that if the message that this part belongs to gets deleted from the the remote store, the composer will still have a copy of it. Fixes bug #20308. svn path=/trunk/; revision=17763
Diffstat (limited to 'composer/e-msg-composer-attachment.c')
-rw-r--r--composer/e-msg-composer-attachment.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c
index e0c2bd1f0f..c0f1ef9b47 100644
--- a/composer/e-msg-composer-attachment.c
+++ b/composer/e-msg-composer-attachment.c
@@ -1,26 +1,27 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
-/* e-msg-composer-attachment.c
+/*
+ * Authors: Ettore Perazzoli <ettore@ximian.com>
+ * Jeffrey Stedfast <fejj@ximian.com>
*
- * Copyright (C) 1999,2001 Ximian, Inc.
+ * Copyright 1999-2002 Ximian, Inc. (www.ximian.com)
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
- * published by the Free Software Foundation; either version 2 of the
- * License as published by the Free Software Foundation.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
*
- * Author: Ettore Perazzoli
*/
+
/* This is the object representing an email attachment. It is implemented as a
GtkObject to make it easier for the application to handle it. For example,
the "changed" signal is emitted whenever something changes in the