From 902200114d90ade70719d55eab00733d92a9d527 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 23 Aug 2020 07:50:47 -0400 Subject: add bookmark fixes --- newmoon/debian/patches/pm-to-nm.patch | 41 +++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) (limited to 'newmoon') diff --git a/newmoon/debian/patches/pm-to-nm.patch b/newmoon/debian/patches/pm-to-nm.patch index d192c55..ca2943d 100644 --- a/newmoon/debian/patches/pm-to-nm.patch +++ b/newmoon/debian/patches/pm-to-nm.patch @@ -1,9 +1,8 @@ Date: 2020-08-18 Purpose: Use newmoon branding instead of palemoon -Message: -This includes using ~/.config/newmoon instead of some other directory. +############################## -This one right here changes the directory for where the user profile goes. +Message: This changes the application to use sue ~/.config/newmoon instead of some other directory. diff -Naur palemoon/app/application.ini palemoon/app/application.ini.new --- Pale-Moon/palemoon/app/application.ini 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon/palemoon/app/application.ini.new 2020-08-18 19:28:30.840797999 -0400 @@ -19,7 +18,9 @@ diff -Naur palemoon/app/application.ini palemoon/app/application.ini.new RemotingName=@MOZ_APP_REMOTINGNAME@ #ifdef MOZ_APP_DISPLAYNAME CodeName=@MOZ_APP_DISPLAYNAME@ -Message: The following +############################# + +Message: This set changes the name of the application. Made with approximately: $ cd Palemoon.new/palemoon/branding/unofficial $ sed -i -r -e 's/New Moon/newmoon/ig;' $( grep -l -riIE 'new moon' ) @@ -125,3 +126,35 @@ diff -aur Pale-Moon/palemoon/branding/unofficial/newmoon.desktop Pale-Moon.new/p Name[zh_TW]=新增隱私視窗 -Exec=palemoon -private-window +Exec=newmoon -private-window +####################################### + +Message: Fix the bookmarks +I used newmoon itself to save a bookmark, and then export the bookmarks to an html file. Then I grabbed the relevant entries and placed them here. Also, I move the "Most Visited" link to bookmarks menu and not on the toolbar. +diff -aur Pale-Moon/palemoon/locales/generic/profile/bookmarks.html.in Pale-Moon.new/palemoon/locales/generic/profile/bookmarks.html.in +--- Pale-Moon/palemoon/locales/generic/profile/bookmarks.html.in 2020-08-23 07:27:49.208091003 -0400 ++++ Pale-Moon.new/palemoon/locales/generic/profile/bookmarks.html.in 2020-08-23 07:28:41.640742172 -0400 +@@ -11,9 +11,6 @@ +

@bookmarks_toolbarfolder@

+
@bookmarks_toolbarfolder_description@ +

+-

Pale Moon +-
Pale Moon forum +-
F.A.Q. +-
Release notes ++
ddg +

+

+diff -aur Pale-Moon/palemoon/components/nsBrowserGlue.js Pale-Moon.new/palemoon/components/nsBrowserGlue.js +--- Pale-Moon/palemoon/components/nsBrowserGlue.js 2020-07-30 06:09:43.000000000 -0400 ++++ Pale-Moon.new/palemoon/components/nsBrowserGlue.js 2020-08-23 07:49:00.679875713 -0400 +@@ -1694,8 +1694,8 @@ + uri: NetUtil.newURI("place:sort=" + + Ci.nsINavHistoryQueryOptions.SORT_BY_VISITCOUNT_DESCENDING + + "&maxResults=" + MAX_RESULTS), +- parent: PlacesUtils.toolbarFolderId, +- position: toolbarIndex++, ++ parent: PlacesUtils.bookmarksMenuFolderId, ++ position: menuIndex++, + newInVersion: 1 + }, + RecentlyBookmarked: { -- cgit