aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-prefs.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-02 03:47:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-02 03:47:06 +0800
commit433683fae007ac7effc4418991cbadaf022d205a (patch)
treeda1c72877eb0e6ad73112a4763f8cc545bb57f49 /mail/em-composer-prefs.h
parent823c4492c54d09fab675b1c15966ef981a58ca9e (diff)
downloadgsoc2013-evolution-433683fae007ac7effc4418991cbadaf022d205a.tar.gz
gsoc2013-evolution-433683fae007ac7effc4418991cbadaf022d205a.tar.zst
gsoc2013-evolution-433683fae007ac7effc4418991cbadaf022d205a.zip
Updated for signature API changes.
2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c (netscape_import_accounts): Updated for signature API changes. * mail-account-gui.c: Same. * mail-signature-editor.c: Same. * em-composer-prefs.c: Same. * mail-config.c: Rewrote the signature stuff to use ESignatureList instead. Much cleaner and less broken. * em-mailer-prefs.c (em_mailer_prefs_construct): Always make the Add/Remove Header buttons de-sensitised at the start. Fixes bug #56284. svn path=/trunk/; revision=25282
Diffstat (limited to 'mail/em-composer-prefs.h')
-rw-r--r--mail/em-composer-prefs.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/em-composer-prefs.h b/mail/em-composer-prefs.h
index 70b5eb15eb..a255893c87 100644
--- a/mail/em-composer-prefs.h
+++ b/mail/em-composer-prefs.h
@@ -53,6 +53,8 @@ extern "C" {
typedef struct _EMComposerPrefs EMComposerPrefs;
typedef struct _EMComposerPrefsClass EMComposerPrefsClass;
+struct _ESignature;
+
struct _EMComposerPrefs {
GtkVBox parent_object;
@@ -94,14 +96,19 @@ struct _EMComposerPrefs {
/* Signatures */
GtkTreeView *sig_list;
+ GHashTable *sig_hash;
GtkButton *sig_add;
+ GtkButton *sig_add_script;
GtkButton *sig_edit;
GtkButton *sig_delete;
GtkHTML *sig_preview;
- gboolean sig_switch;
- int sig_row;
+
GladeXML *sig_script_gui;
GtkWidget *sig_script_dialog;
+
+ guint sig_added_id;
+ guint sig_removed_id;
+ guint sig_changed_id;
};
struct _EMComposerPrefsClass {
@@ -118,7 +125,7 @@ GtkWidget *em_composer_prefs_new (void);
void em_composer_prefs_apply (EMComposerPrefs *prefs);
-MailConfigSignature *em_composer_prefs_new_signature (GtkWindow *parent, gboolean html, const char *script);
+void em_composer_prefs_new_signature (GtkWindow *parent, gboolean html, const char *script);
/* needed by global config */
#define EM_COMPOSER_PREFS_CONTROL_ID "OAFIID:GNOME_Evolution_Mail_ComposerPrefs_ConfigControl:" BASE_VERSION