aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-26 18:24:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-26 19:40:48 +0800
commit9279429501af7858716b0e317810a264192bb763 (patch)
treebbf44b7036dc7a895e185eabf325380432f17eff /mail/e-mail-reader.c
parent81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef (diff)
downloadgsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.tar
gsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.tar.gz
gsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.tar.bz2
gsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.tar.lz
gsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.tar.xz
gsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.tar.zst
gsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.zip
Drop the "quote-from-selection" property.
David's solution is simpler: check if the HTML widget is mapped. Avoids having to propagate the property to Srini's new classes.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c42
1 files changed, 1 insertions, 41 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 4c5b3fd039..adf56fac7e 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -85,8 +85,7 @@ struct _EMailReaderPrivate {
guint folder_was_just_selected : 1;
guint restoring_message_selection : 1;
- guint group_by_threads : 1;
- guint quote_from_selection : 1;
+ guint group_by_threads : 1;
};
enum {
@@ -2756,15 +2755,6 @@ mail_reader_class_init (EMailReaderIface *iface)
FALSE,
G_PARAM_READWRITE));
- g_object_interface_install_property (
- iface,
- g_param_spec_boolean (
- "quote-from-selection",
- "Quote From Selection",
- "Quote selected text when replying",
- FALSE,
- G_PARAM_READWRITE));
-
signals[CHANGED] = g_signal_new (
"changed",
G_OBJECT_CLASS_TYPE (iface),
@@ -3503,36 +3493,6 @@ e_mail_reader_set_group_by_threads (EMailReader *reader,
g_object_notify (G_OBJECT (reader), "group-by-threads");
}
-gboolean
-e_mail_reader_get_quote_from_selection (EMailReader *reader)
-{
- EMailReaderPrivate *priv;
-
- g_return_val_if_fail (E_IS_MAIL_READER (reader), FALSE);
-
- priv = E_MAIL_READER_GET_PRIVATE (reader);
-
- return priv->quote_from_selection;
-}
-
-void
-e_mail_reader_set_quote_from_selection (EMailReader *reader,
- gboolean quote_from_selection)
-{
- EMailReaderPrivate *priv;
-
- g_return_if_fail (E_IS_MAIL_READER (reader));
-
- priv = E_MAIL_READER_GET_PRIVATE (reader);
-
- if (quote_from_selection == priv->quote_from_selection)
- return;
-
- priv->quote_from_selection = quote_from_selection;
-
- g_object_notify (G_OBJECT (reader), "quote-from-selection");
-}
-
void
e_mail_reader_create_charset_menu (EMailReader *reader,
GtkUIManager *ui_manager,