Bug 1265246 - Move Thunderbird-specific change of editor.CR_creates_new_p default from composer.js to all-thunderbird.js override. r=jorgk a=rkent
authorrsx11m <rsx11m.pub@gmail.com>
Sun, 17 Apr 2016 10:20:44 -0500
changeset 31288 57fddbdfd40d54787e7137f75115fef1cd5a553e
parent 31287 016eb6f08b283ac2554552fd14c9df5c6dfb0710
child 31289 7cbef619e80d9a94e86d7879d4c746145ce0b5f9
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk, rkent
bugs1265246
Bug 1265246 - Move Thunderbird-specific change of editor.CR_creates_new_p default from composer.js to all-thunderbird.js override. r=jorgk a=rkent
editor/ui/composer.js
mail/app/profile/all-thunderbird.js
--- a/editor/ui/composer.js
+++ b/editor/ui/composer.js
@@ -90,13 +90,13 @@ pref("editor.always_show_publish_dialog"
 
 #ifndef XP_MACOSX
 #ifdef XP_UNIX
 pref("editor.disable_spell_checker", false);
 pref("editor.dont_lock_spell_files", true);
 #endif
 #endif
 
-pref("editor.CR_creates_new_p", true);
+pref("editor.CR_creates_new_p", false);
 
 // Pasting images from the clipboard, order of encoding preference: 
 // JPEG-PNG-GIF=0, PNG-JPEG-GIF=1, GIF-JPEG-PNG=2
 pref("clipboard.paste_image_type", 1);
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -277,26 +277,27 @@ pref("mail.close_message_window.on_delet
 pref("mailnews.headers.show_n_lines_before_more", 1);
 
 // We want to keep track of what items are appropriate in
 // XULStore.json. We use versioning to scrub out the things
 // that have become obsolete.
 pref("mail.ui-rdf.version", 0);
 
 /////////////////////////////////////////////////////////////////
-// Overrides of the core mailnews.js prefs
+// Overrides of the core mailnews.js and composer.js prefs
 /////////////////////////////////////////////////////////////////
 pref("mail.showCondensedAddresses", true); // show the friendly display name for people I know
 
 pref("mailnews.attachments.display.start_expanded", false);
 // hidden pref for changing how we present attachments in the message pane
 pref("mailnews.attachments.display.view", 0);
 pref("mail.pane_config.dynamic",            0);
 pref("mailnews.reuse_thread_window2",     true);
 pref("editor.singleLine.pasteNewlines", 4);  // substitute commas for new lines in single line text boxes
+pref("editor.CR_creates_new_p", true);
 
 // hidden pref to ensure a certain number of headers in the message pane
 // to avoid the height of the header area from changing when headers are present / not present
 pref("mailnews.headers.minNumHeaders", 0); // 0 means we ignore this pref
 
 // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:"
 // 3="<author> wrote On <date>:", 4=user specified
 pref("mailnews.reply_header_type", 2);