Skip to content

Commit

Permalink
Remove side panel entry in All Bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahrotahn committed Jan 3, 2024
1 parent 814a883 commit c64f60a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions patches/extra/ungoogled-chromium/remove-uneeded-ui.patch
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# Safety Check entry on the side menu on the settings page
# the (?) learn more button on many settings pages
# the 'Vist Chrome Web Store' entry in the extensions section of the main menu
# the side panel entry in All Bookmarks
# unneeded elements from the profile menu
# the 'Learn more' link on crashed tabs
# disable LiveCaption flag by default, this also removes non-functional Live Caption checkbox from media controls
Expand Down Expand Up @@ -336,6 +337,22 @@
}
}

--- a/chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc
@@ -637,13 +637,6 @@ void BookmarkMenuDelegate::BuildMenu(con
kBookmarksSidePanelIcon, ui::kColorMenuIcon,
ui::SimpleMenuModel::kDefaultIconSize)
: ui::ImageModel();
- menu->AppendMenuItem(
- IDC_SHOW_BOOKMARK_SIDE_PANEL,
- l10n_util::GetStringUTF16(IDS_BOOKMARKS_ALL_BOOKMARKS_OPEN_SIDE_PANEL),
- bookmarks_side_panel_icon);
- if (!parent->children().empty()) {
- menu->AppendSeparator();
- }
}
const ui::ImageModel folder_icon = chrome::GetBookmarkFolderIcon(
chrome::BookmarkFolderIconType::kNormal, ui::kColorMenuIcon);
--- a/chrome/browser/ui/views/profiles/profile_menu_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_menu_view.cc
@@ -172,6 +172,7 @@ void ProfileMenuView::BuildMenu() {
Expand Down

0 comments on commit c64f60a

Please sign in to comment.