From 65edf39de973207ca62acbcc7887eb2dce614537 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Mon, 1 Sep 2008 04:35:02 +0000 Subject: Milan Crha ** Fix for bug #545661 (Skip question for not-saved only when not changed or application is exiting). svn path=/trunk/; revision=36241 --- composer/e-msg-composer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'composer/e-msg-composer.h') diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 8236c9cda0..9b4af0c662 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -156,6 +156,8 @@ struct _EAttachmentBar * e_msg_composer_get_attachment_bar (EMsgComposer *composer); +gboolean e_msg_composer_is_exiting (EMsgComposer *composer); + G_END_DECLS #endif /* E_MSG_COMPOSER_H */ -- cgit v1.2.3 From 14fa5c8a8cf736e3207b9d9e414586d9ff3a623f Mon Sep 17 00:00:00 2001 From: Sankarasivasubramanian Pasupathilingam Date: Tue, 2 Sep 2008 16:25:53 +0000 Subject: Change License from GPL to LGPL. 2nd batch. More changes to come. svn path=/trunk/; revision=36247 --- composer/e-msg-composer.h | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'composer/e-msg-composer.h') diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 9b4af0c662..f0ef682999 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -1,24 +1,23 @@ -/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ -/* e-msg-composer.h - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.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. + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) version 3. * * 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. + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with the program; if not, see * - * 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., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. * - * Author: Ettore Perazzoli + * Authors: + * Ettore Perazzoli + * + * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) + * */ #ifndef E_MSG_COMPOSER_H -- cgit v1.2.3 From 3849f9da5a83643e5ea4c78294d377c381df692a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 5 Nov 2008 16:16:13 +0000 Subject: ** Fixes part of bug #559371 2008-11-05 Matthew Barnes ** Fixes part of bug #559371 * composer/e-msg-composer.c (e_load_spell_languages): New function loads a list of GtkhtmlSpellLanguage structs from GConf, taking care of details like converting language codes to structs and ensuring the returned list is non-empty. * composer/e-msg-composer.c (e_save_spell_languages): New function saves a list of GtkhtmlSpellLanguage structs to GConf, taking care of details like converting the structs to language codes. * composer/e-msg-composer.c (msg_composer_constructor): * mail/em-composer-prefs.c (spell_language_save), (spell_setup): Simplify the logic by using e_load_spell_languages() and e_save_spell_languages(). svn path=/trunk/; revision=36743 --- composer/e-msg-composer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'composer/e-msg-composer.h') diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index f0ef682999..f6b2ca7cc0 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -155,7 +155,10 @@ struct _EAttachmentBar * e_msg_composer_get_attachment_bar (EMsgComposer *composer); -gboolean e_msg_composer_is_exiting (EMsgComposer *composer); +gboolean e_msg_composer_is_exiting (EMsgComposer *composer); + +GList * e_load_spell_languages (void); +void e_save_spell_languages (GList *spell_languages); G_END_DECLS -- cgit v1.2.3