aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2010-06-08 19:55:58 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2010-06-08 19:56:52 +0800
commitb5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646 (patch)
treec2da16075cce9e4e233dfaaa8148050ddf2cbdfe
parent1837179f0253a133f9fd5636b9a4d347ba5d1201 (diff)
downloadgsoc2013-evolution-b5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646.tar
gsoc2013-evolution-b5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646.tar.gz
gsoc2013-evolution-b5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646.tar.bz2
gsoc2013-evolution-b5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646.tar.lz
gsoc2013-evolution-b5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646.tar.xz
gsoc2013-evolution-b5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646.tar.zst
gsoc2013-evolution-b5b45ab7e8bd8d663ef81a5c8d6dfc5efaa7d646.zip
Bug 501534 - apply new customized view to all folders
-rw-r--r--mail/evolution-mail.schemas.in13
-rw-r--r--mail/mail-config.ui157
-rw-r--r--modules/mail/e-mail-shell-content.c13
-rw-r--r--modules/mail/e-mail-shell-settings.c4
-rw-r--r--modules/mail/em-mailer-prefs.c5
5 files changed, 69 insertions, 123 deletions
diff --git a/mail/evolution-mail.schemas.in b/mail/evolution-mail.schemas.in
index 30ae3933a3..5ab3e37735 100644
--- a/mail/evolution-mail.schemas.in
+++ b/mail/evolution-mail.schemas.in
@@ -326,6 +326,19 @@
</schema>
<schema>
+ <key>/schemas/apps/evolution/mail/display/global_view_setting</key>
+ <applyto>/apps/evolution/mail/display/global_view_setting</applyto>
+ <owner>evolution-mail</owner>
+ <type>bool</type>
+ <default>false</default>
+ <locale name="C">
+ <short>Enable to use a similar message list view settings for all folders</short>
+ <long> Enable to use a similar message list view settings for all folders.
+ </long>
+ </locale>
+ </schema>
+
+ <schema>
<key>/schemas/apps/evolution/mail/display/mark_citations</key>
<applyto>/apps/evolution/mail/display/mark_citations</applyto>
<owner>evolution-mail</owner>
diff --git a/mail/mail-config.ui b/mail/mail-config.ui
index dbf45bb28d..15656260d1 100644
--- a/mail/mail-config.ui
+++ b/mail/mail-config.ui
@@ -1,10 +1,10 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="adjustment1">
- <property name="value">1.5</property>
<property name="upper">10</property>
+ <property name="value">1.5</property>
<property name="step_increment">1</property>
<property name="page_increment">1</property>
</object>
@@ -14,9 +14,9 @@
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="adjustment3">
- <property name="value">5</property>
<property name="lower">1</property>
<property name="upper">100</property>
+ <property name="value">5</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
@@ -97,7 +97,7 @@
</object>
<object class="GtkListStore" id="hash_algo_model">
<columns>
- <!-- column-name Hash Algo Name -->
+ <!-- column-name Hash -->
<column type="gchararray"/>
</columns>
<data>
@@ -121,12 +121,10 @@
<object class="GtkVBox" id="vboxIdentityBorder">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="management_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label470">
@@ -165,7 +163,6 @@
<child>
<object class="GtkVBox" id="account_vbox">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="management_description_label">
@@ -236,7 +233,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="identity_required_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label464">
@@ -361,7 +357,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="identity_optional_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label466">
@@ -435,7 +430,7 @@ For example: "Work" or "Personal"</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
- <signal name="clicked" handler="sigAddNewClicked"/>
+ <signal name="clicked" handler="sigAddNewClicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
@@ -561,12 +556,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxSourceBorder">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="source_vbox">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkTable" id="source_type_table">
@@ -652,7 +645,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="source_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label472">
@@ -796,7 +788,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="source_security_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label515">
@@ -831,7 +822,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox181">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="source_ssl_hbox">
@@ -930,7 +920,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="source_auth_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label474">
@@ -966,7 +955,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox179">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="hbox199">
@@ -1049,12 +1037,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxTransportBorder">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="transport_vbox">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkTable" id="transport_type_table">
@@ -1137,12 +1123,10 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="transport_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="transport_server_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label476">
@@ -1181,7 +1165,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox12">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkTable" id="table6">
@@ -1255,7 +1238,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="transport_security_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label517">
@@ -1289,7 +1271,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox183">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="transport_ssl_hbox">
@@ -1384,7 +1365,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="transport_auth_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label478">
@@ -1423,7 +1403,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox61">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkTable" id="table31">
@@ -1578,12 +1557,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxFoldersBorder">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="folders_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label482">
@@ -1622,7 +1599,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox184">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkTable" id="folders_table">
@@ -1637,7 +1613,6 @@ For example: "Work" or "Personal"</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Drafts _Folder:</property>
<property name="use_underline">True</property>
- <property name="mnemonic_widget">drafts_button</property>
</object>
<packing>
<property name="x_options">GTK_FILL</property>
@@ -1650,7 +1625,6 @@ For example: "Work" or "Personal"</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Sent _Messages Folder:</property>
<property name="use_underline">True</property>
- <property name="mnemonic_widget">sent_button</property>
</object>
<packing>
<property name="top_attach">1</property>
@@ -1660,31 +1634,6 @@ For example: "Work" or "Personal"</property>
</packing>
</child>
<child>
- <object class="EMFolderSelectionButton" id="sent_button">
- <property name="title" translatable="yes">Select Sent Folder</property>
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
- <object class="EMFolderSelectionButton" id="drafts_button">
- <property name="title" translatable="yes">Select Drafts Folder</property>
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options">GTK_FILL</property>
- </packing>
- </child>
- <child>
<object class="GtkFixed" id="fixed9">
<property name="visible">True</property>
</object>
@@ -1743,6 +1692,12 @@ For example: "Work" or "Personal"</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
</object>
<packing>
<property name="position">0</property>
@@ -1770,7 +1725,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="frame2">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label484">
@@ -1815,7 +1769,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox186">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="always_cc">
@@ -1854,7 +1807,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox187">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkEntry" id="cc_addrs">
@@ -1882,7 +1834,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox188">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="always_bcc">
@@ -1921,7 +1872,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox189">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkEntry" id="bcc_addrs">
@@ -1972,7 +1922,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox205">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label578">
@@ -2055,12 +2004,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxSecurityBorder">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="general_vbox">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
@@ -2122,7 +2069,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="pgp_frame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label486">
@@ -2161,7 +2107,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxPGP">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="hbox63">
@@ -2197,7 +2142,7 @@ For example: "Work" or "Personal"</property>
<property name="position">0</property>
</packing>
</child>
- <child>
+ <child>
<object class="GtkHBox" id="hbox4">
<property name="visible">True</property>
<property name="spacing">12</property>
@@ -2305,7 +2250,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="smime_vbox">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label519">
@@ -2699,9 +2643,8 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkAlignment" id="smime_hash_algo_alignment">
<property name="visible">True</property>
- <property name="left_padding">0</property>
- <property name="xalign">0.0</property>
- <property name="xscale">0.0</property>
+ <property name="xalign">0</property>
+ <property name="xscale">0</property>
<child>
<object class="GtkComboBox" id="smime_hash_algo">
<property name="visible">True</property>
@@ -2724,6 +2667,9 @@ For example: "Work" or "Personal"</property>
<property name="y_options"></property>
</packing>
</child>
+ <child>
+ <placeholder/>
+ </child>
</object>
<packing>
<property name="position">1</property>
@@ -2778,12 +2724,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxMailGeneral">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="FontsFrame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label492">
@@ -2822,7 +2766,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxMessageFonts">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="radFontUseSame">
@@ -2866,7 +2809,7 @@ For example: "Work" or "Personal"</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="title" translatable="yes">Select HTML fixed width font</property>
- <signal name="font_set" handler="changed"/>
+ <signal name="font-set" handler="changed" swapped="no"/>
</object>
<packing>
<property name="left_attach">1</property>
@@ -2883,7 +2826,7 @@ For example: "Work" or "Personal"</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="title" translatable="yes">Select HTML variable width font</property>
- <signal name="font_set" handler="changed"/>
+ <signal name="font-set" handler="changed" swapped="no"/>
</object>
<packing>
<property name="left_attach">1</property>
@@ -2935,7 +2878,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="MessageDisplayFrame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label494">
@@ -2974,7 +2916,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxMessageDisplay">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="hboxReadTimeout">
@@ -3255,6 +3196,20 @@ For example: "Work" or "Personal"</property>
<property name="position">6</property>
</packing>
</child>
+ <child>
+ <object class="GtkCheckButton" id="view-check">
+ <property name="label" translatable="yes">Apply the same _view settings to all folders</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="position">7</property>
+ </packing>
+ </child>
</object>
</child>
</object>
@@ -3277,7 +3232,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="DeleteMailFrame">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label496">
@@ -3316,7 +3270,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxDeletingMail">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="hbox220">
@@ -3410,7 +3363,6 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxHtmlMail">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="label530">
@@ -3444,7 +3396,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox173">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="chkShowAnimatedImages">
@@ -3493,7 +3444,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxLoadingImages">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label500">
@@ -3527,7 +3477,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox190">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkRadioButton" id="radImagesNever">
@@ -3618,7 +3567,6 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="frameColours">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label502">
@@ -3668,12 +3616,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxHeaderTab">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkVBox" id="vbox206">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">3</property>
<child>
<object class="GtkHBox" id="hbox238">
@@ -3702,7 +3648,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkHBox" id="hbox239">
<property name="visible">True</property>
@@ -3803,7 +3748,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox199">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkEntry" id="txtHeaders">
@@ -3848,7 +3792,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox200">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="cmdHeadersAdd">
@@ -3894,7 +3837,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox210">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label591">
<property name="visible">True</property>
@@ -3975,12 +3917,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vbox161">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkVBox" id="vbox192">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label526">
<property name="visible">True</property>
@@ -4298,7 +4238,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox195">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
</object>
<packing>
<property name="expand">False</property>
@@ -4330,12 +4269,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxComposerGeneral">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">18</property>
<child>
<object class="GtkVBox" id="frameBehavior">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label504">
@@ -4374,7 +4311,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxBehavior">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
<object class="GtkCheckButton" id="chkSendHTML">
@@ -4464,7 +4400,6 @@ For example: "Work" or "Personal"</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_Reply style:</property>
<property name="use_underline">True</property>
- <property name="justify">left</property>
</object>
<packing>
<property name="top_attach">1</property>
@@ -4542,7 +4477,6 @@ For example: "Work" or "Personal"</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_Forward style:</property>
<property name="use_underline">True</property>
- <property name="justify">left</property>
</object>
<packing>
<property name="x_options">GTK_FILL</property>
@@ -4591,7 +4525,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxTopPosting">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
<object class="GtkHBox" id="hbox242">
@@ -4691,7 +4624,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkHBox" id="hbox190">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label507">
<property name="visible">True</property>
@@ -4711,7 +4643,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxAlerts">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="chkPromptEmptySubject">
@@ -4781,12 +4712,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxSignatures">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="vbox201">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label548">
@@ -4824,7 +4753,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox202">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label551">
@@ -4905,12 +4833,10 @@ For example: "Work" or "Personal"</property>
<object class="GtkVBox" id="vboxSpellChecking">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="vbox196">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label534">
@@ -4946,12 +4872,10 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vbox197">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkVBox" id="vbox178">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="hbox192">
@@ -5049,7 +4973,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="frameSpellChecking">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label508">
@@ -5083,7 +5006,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="vboxOptions">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="chkEnableSpellChecking">
@@ -5176,7 +5098,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="toplevel">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<placeholder/>
@@ -5184,7 +5105,6 @@ For example: "Work" or "Personal"</property>
<child>
<object class="GtkVBox" id="frame4">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label512">
@@ -5258,7 +5178,7 @@ For example: "Work" or "Personal"</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="title" translatable="yes">Select HTML fixed width font for printing</property>
- <signal name="font_set" handler="changed"/>
+ <signal name="font-set" handler="changed" swapped="no"/>
</object>
<packing>
<property name="left_attach">1</property>
@@ -5275,7 +5195,7 @@ For example: "Work" or "Personal"</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="title" translatable="yes">Select HTML variable width font for printing</property>
- <signal name="font_set" handler="changed"/>
+ <signal name="font-set" handler="changed" swapped="no"/>
</object>
<packing>
<property name="left_attach">1</property>
@@ -5310,17 +5230,14 @@ For example: "Work" or "Personal"</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
<object class="GtkVBox" id="vbox160">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkVBox" id="vbox_add_script_signature">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkHBox" id="hboxImageAndHelp">
@@ -5527,12 +5444,10 @@ for display purposes only. </property>
<object class="GtkVBox" id="vboxNetworkGeneral">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">18</property>
<child>
<object class="GtkVBox" id="frameProxy">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label76">
@@ -5551,7 +5466,6 @@ for display purposes only. </property>
<object class="GtkVBox" id="vboxProxy">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="orientation">vertical</property>
<property name="spacing">8</property>
<child>
<object class="GtkRadioButton" id="rdoSysSettings">
@@ -5601,7 +5515,6 @@ for display purposes only. </property>
<child>
<object class="GtkVBox" id="vbox18">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkTable" id="table9">
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c
index 5d5ee14e3a..135888d782 100644
--- a/modules/mail/e-mail-shell-content.c
+++ b/modules/mail/e-mail-shell-content.c
@@ -968,9 +968,12 @@ void
e_mail_shell_content_update_view_instance (EMailShellContent *mail_shell_content)
{
EMailReader *reader;
+ EShell *shell;
EShellContent *shell_content;
EShellView *shell_view;
+ EShellWindow *shell_window;
EShellViewClass *shell_view_class;
+ EShellSettings *shell_settings;
GalViewCollection *view_collection;
GalViewInstance *view_instance;
CamelFolder *folder;
@@ -987,6 +990,10 @@ e_mail_shell_content_update_view_instance (EMailShellContent *mail_shell_content
shell_view = e_shell_content_get_shell_view (shell_content);
shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view);
view_collection = shell_view_class->view_collection;
+
+ shell_window = e_shell_view_get_shell_window (shell_view);
+ shell = e_shell_window_get_shell (shell_window);
+ shell_settings = e_shell_get_shell_settings (shell);
reader = E_MAIL_READER (mail_shell_content);
folder = e_mail_reader_get_folder (reader);
@@ -1005,7 +1012,11 @@ e_mail_shell_content_update_view_instance (EMailShellContent *mail_shell_content
}
view_id = mail_config_folder_to_safe_url (folder);
- view_instance = e_shell_view_new_view_instance (shell_view, view_id);
+ if (e_shell_settings_get_boolean (shell_settings, "mail-global-view-setting"))
+ view_instance = e_shell_view_new_view_instance (shell_view, "global_view_setting");
+ else
+ view_instance = e_shell_view_new_view_instance (shell_view, view_id);
+
mail_shell_content->priv->view_instance = view_instance;
orientable = GTK_ORIENTABLE (mail_shell_content);
diff --git a/modules/mail/e-mail-shell-settings.c b/modules/mail/e-mail-shell-settings.c
index 7303aeea5b..d9f2c80538 100644
--- a/modules/mail/e-mail-shell-settings.c
+++ b/modules/mail/e-mail-shell-settings.c
@@ -129,6 +129,10 @@ e_mail_shell_settings_init (EShell *shell)
e_shell_settings_install_property_for_key (
"mail-magic-spacebar",
"/apps/evolution/mail/display/magic_spacebar");
+
+ e_shell_settings_install_property_for_key (
+ "mail-global-view-setting",
+ "/apps/evolution/mail/display/global_view_setting");
e_shell_settings_install_property_for_key (
"mail-mark-citations",
diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c
index 11795a92d8..168965f02b 100644
--- a/modules/mail/em-mailer-prefs.c
+++ b/modules/mail/em-mailer-prefs.c
@@ -921,6 +921,11 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs,
e_mutual_binding_new (
shell_settings, "mail-magic-spacebar",
widget, "active");
+
+ widget = e_builder_get_widget (prefs->builder, "view-check");
+ e_mutual_binding_new (
+ shell_settings, "mail-global-view-setting",
+ widget, "active");
widget = e_charset_combo_box_new ();
container = e_builder_get_widget (prefs->builder, "hboxDefaultCharset");