diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-26 18:24:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-26 19:40:48 +0800 |
commit | 9279429501af7858716b0e317810a264192bb763 (patch) | |
tree | bbf44b7036dc7a895e185eabf325380432f17eff /mail/e-mail-browser.c | |
parent | 81e5428a59194dd38cf2a07b2d3f9b4b6f81f6ef (diff) | |
download | gsoc2013-evolution-9279429501af7858716b0e317810a264192bb763.tar.gz 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-browser.c')
-rw-r--r-- | mail/e-mail-browser.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c index 7ddfe005ed..86cc929182 100644 --- a/mail/e-mail-browser.c +++ b/mail/e-mail-browser.c @@ -64,7 +64,6 @@ enum { PROP_0, PROP_FOCUS_TRACKER, PROP_GROUP_BY_THREADS, - PROP_QUOTE_FROM_SELECTION, PROP_SHELL_BACKEND, PROP_SHOW_DELETED, PROP_UI_MANAGER @@ -358,11 +357,6 @@ mail_browser_set_property (GObject *object, g_value_get_boolean (value)); return; - case PROP_QUOTE_FROM_SELECTION: - e_mail_reader_set_quote_from_selection ( - E_MAIL_READER (object), - g_value_get_boolean (value)); - case PROP_SHELL_BACKEND: mail_browser_set_shell_backend ( E_MAIL_BROWSER (object), @@ -398,12 +392,6 @@ mail_browser_get_property (GObject *object, E_MAIL_READER (object))); return; - case PROP_QUOTE_FROM_SELECTION: - g_value_set_boolean ( - value, e_mail_reader_get_quote_from_selection ( - E_MAIL_READER (object))); - return; - case PROP_SHELL_BACKEND: g_value_set_object ( value, e_mail_reader_get_shell_backend ( @@ -557,8 +545,6 @@ mail_browser_constructed (GObject *object) e_mail_reader_init (reader); - e_mail_reader_set_quote_from_selection (reader, TRUE); - action_group = priv->action_group; gtk_action_group_set_translation_domain (action_group, domain); gtk_action_group_add_actions ( @@ -805,12 +791,6 @@ mail_browser_class_init (EMailBrowserClass *class) PROP_GROUP_BY_THREADS, "group-by-threads"); - /* Inherited from EMailReader */ - g_object_class_override_property ( - object_class, - PROP_QUOTE_FROM_SELECTION, - "quote-from-selection"); - g_object_class_install_property ( object_class, PROP_SHELL_BACKEND, |