aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-05-04 04:19:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-03 11:00:38 +0800
commit8db3da39d77c5c360e4bfe29cf652e333e737374 (patch)
treebc83683a5f411f3a75cedf6c7307fe90c8f67c0a /widgets
parentf6e5efd36da4cc2249d2208faceddee1ab7ebd1c (diff)
downloadgsoc2013-evolution-8db3da39d77c5c360e4bfe29cf652e333e737374.tar
gsoc2013-evolution-8db3da39d77c5c360e4bfe29cf652e333e737374.tar.gz
gsoc2013-evolution-8db3da39d77c5c360e4bfe29cf652e333e737374.tar.bz2
gsoc2013-evolution-8db3da39d77c5c360e4bfe29cf652e333e737374.tar.lz
gsoc2013-evolution-8db3da39d77c5c360e4bfe29cf652e333e737374.tar.xz
gsoc2013-evolution-8db3da39d77c5c360e4bfe29cf652e333e737374.tar.zst
gsoc2013-evolution-8db3da39d77c5c360e4bfe29cf652e333e737374.zip
Revert "Bug #669463 - HTML signature opens in editor as Plain text"
This reverts commit f25826211b007a615118f9b583a66d7027eddeac. Not an issue on the account-mgmt branch. We can do without this hack.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-signature-editor.c48
-rw-r--r--widgets/misc/e-signature-editor.h5
-rw-r--r--widgets/misc/e-signature-manager.c2
3 files changed, 1 insertions, 54 deletions
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index ce181138ec..0ddfb8d513 100644
--- a/widgets/misc/e-signature-editor.c
+++ b/widgets/misc/e-signature-editor.c
@@ -40,8 +40,7 @@
enum {
PROP_0,
PROP_FOCUS_TRACKER,
- PROP_SIGNATURE,
- PROP_EDITING_OLD
+ PROP_SIGNATURE
};
struct _ESignatureEditorPrivate {
@@ -50,7 +49,6 @@ struct _ESignatureEditorPrivate {
ESignature *signature;
GtkWidget *entry;
gchar *original_name;
- gboolean editing_old;
};
static const gchar *ui =
@@ -256,12 +254,6 @@ signature_editor_set_property (GObject *object,
E_SIGNATURE_EDITOR (object),
g_value_get_object (value));
return;
-
- case PROP_EDITING_OLD:
- e_signature_editor_set_editing_old (
- E_SIGNATURE_EDITOR (object),
- g_value_get_boolean (value));
- return;
}
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
@@ -285,12 +277,6 @@ signature_editor_get_property (GObject *object,
value, e_signature_editor_get_signature (
E_SIGNATURE_EDITOR (object)));
return;
-
- case PROP_EDITING_OLD:
- g_value_set_boolean (
- value, e_signature_editor_get_editing_old (
- E_SIGNATURE_EDITOR (object)));
- return;
}
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
@@ -403,16 +389,6 @@ e_signature_editor_class_init (ESignatureEditorClass *class)
NULL,
E_TYPE_SIGNATURE,
G_PARAM_READWRITE));
-
- g_object_class_install_property (
- object_class,
- PROP_EDITING_OLD,
- g_param_spec_boolean (
- "editing-old",
- NULL,
- NULL,
- FALSE,
- G_PARAM_READWRITE));
}
static void
@@ -609,25 +585,3 @@ exit:
g_object_notify (G_OBJECT (editor), "signature");
}
-
-void
-e_signature_editor_set_editing_old (ESignatureEditor *editor,
- gboolean editing_old)
-{
- g_return_if_fail (E_IS_SIGNATURE_EDITOR (editor));
-
- if (editor->priv->editing_old == editing_old)
- return;
-
- editor->priv->editing_old = editing_old;
-
- g_object_notify (G_OBJECT (editor), "editing-old");
-}
-
-gboolean
-e_signature_editor_get_editing_old (ESignatureEditor *editor)
-{
- g_return_val_if_fail (E_IS_SIGNATURE_EDITOR (editor), FALSE);
-
- return editor->priv->editing_old;
-}
diff --git a/widgets/misc/e-signature-editor.h b/widgets/misc/e-signature-editor.h
index f848e89fbf..0d07cb840e 100644
--- a/widgets/misc/e-signature-editor.h
+++ b/widgets/misc/e-signature-editor.h
@@ -67,11 +67,6 @@ EFocusTracker * e_signature_editor_get_focus_tracker
ESignature * e_signature_editor_get_signature (ESignatureEditor *editor);
void e_signature_editor_set_signature (ESignatureEditor *editor,
ESignature *signature);
-void e_signature_editor_set_editing_old
- (ESignatureEditor *editor,
- gboolean editing_old);
-gboolean e_signature_editor_get_editing_old
- (ESignatureEditor *editor);
G_END_DECLS
diff --git a/widgets/misc/e-signature-manager.c b/widgets/misc/e-signature-manager.c
index 888a9df3c4..eb68dd251d 100644
--- a/widgets/misc/e-signature-manager.c
+++ b/widgets/misc/e-signature-manager.c
@@ -378,8 +378,6 @@ signature_manager_edit_signature (ESignatureManager *manager)
editor = e_signature_editor_new ();
e_signature_editor_set_signature (
E_SIGNATURE_EDITOR (editor), signature);
- e_signature_editor_set_editing_old (
- E_SIGNATURE_EDITOR (editor), TRUE);
signature_manager_emit_editor_created (manager, editor);
goto exit;