aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-signature-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-02 06:55:40 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-02 06:55:40 +0800
commit4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1 (patch)
tree56f21aa423ea8d1cf6121b383886b6eccaff934c /mail/mail-signature-editor.c
parent7f497424b67fd42dd8068b3d7e72d023ff54bd9a (diff)
downloadgsoc2013-evolution-4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1.tar
gsoc2013-evolution-4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1.tar.gz
gsoc2013-evolution-4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1.tar.bz2
gsoc2013-evolution-4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1.tar.lz
gsoc2013-evolution-4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1.tar.xz
gsoc2013-evolution-4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1.tar.zst
gsoc2013-evolution-4ce6a59f74ccc3dbf9e2065e4049bf5749cd08f1.zip
Re-Implemented the signature editor stuff (mostly just copy/paste from
2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Re-Implemented the signature editor stuff (mostly just copy/paste from Radeks original code). * mail-signature-editor.c (mail_signature_editor): Use the right oafiid for the html editor control. svn path=/trunk/; revision=16316
Diffstat (limited to 'mail/mail-signature-editor.c')
-rw-r--r--mail/mail-signature-editor.c31
1 files changed, 29 insertions, 2 deletions
diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c
index 04f5da7ef4..3c2651b095 100644
--- a/mail/mail-signature-editor.c
+++ b/mail/mail-signature-editor.c
@@ -1,3 +1,30 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Authors: Radek Doulik <rodo@ximian.com>
+ *
+ * Copyright 2002 Ximian, Inc. (www.ximian.com)
+ *
+ * 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.
+ *
+ * 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.
+ *
+ */
+
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <bonobo.h>
#include <bonobo/bonobo-stream-memory.h>
@@ -287,11 +314,11 @@ mail_signature_editor (MailConfigSignature *sig)
bonobo_ui_component_add_verb_list_with_data (component, verbs, editor);
bonobo_ui_util_set_ui (component, EVOLUTION_DATADIR, "evolution-signature-editor.xml", "evolution-signature-editor");
- editor->control = bonobo_widget_new_control ("OAFIID:GNOME_GtkHTML_Editor",
+ editor->control = bonobo_widget_new_control ("OAFIID:GNOME_GtkHTML_Editor:1.1",
bonobo_ui_component_get_container (component));
if (editor->control == NULL) {
- g_warning ("Cannot get 'OAFIID:GNOME_GtkHTML_Editor'.");
+ g_warning ("Cannot get 'OAFIID:GNOME_GtkHTML_Editor:1.1'.");
destroy_editor (editor);
return;