Skip to content

Commit

Permalink
Browser: Display name as "Browser" once again
Browse files Browse the repository at this point in the history
This basically reverts 15211cd, since Ladybird has been hard-forked from
the SerenityOS project, this chrome is no longer officially part of it.
  • Loading branch information
circl-lastname authored and nico committed Jun 8, 2024
1 parent 3bb41e9 commit ec1692e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Base/home/anon/.config/Taskbar.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TimeFormat=%T

[QuickLaunch_Entries]
Ladybird=0:Browser.af
Browser=0:Browser.af
FileManager=1:FileManager.af
Terminal=2:Terminal.af
TextEditor=3:TextEditor.af
2 changes: 1 addition & 1 deletion Base/res/apps/Browser.af
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[App]
Name=&Ladybird
Name=&Browser
Executable=/bin/Browser
Arguments=--new-window
Category=&Internet
Expand Down
2 changes: 1 addition & 1 deletion Base/res/html/misc/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</head>

<body background="90s-bg.png">
<h1>Welcome to the Ladybird web browser!</h1>
<h1>Welcome to the SerenityOS web browser!</h1>
<p>This is a very simple browser built on the LibWeb and LibJS engines.</p>
<p>Your user agent is: <b><span id="ua"></span></b></p>
<p>This page loaded in <b><span id="loadtime"></span></b> ms</p>
Expand Down
2 changes: 1 addition & 1 deletion Base/usr/share/man/man1/Applications/Assistant.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ Assistant

### Features

* Enter a URL to open it in [Ladybird](help://man/1/Applications/Browser), e.g. `serenityos.org`.
* Enter a URL to open it in [Browser](help://man/1/Applications/Browser), e.g. `serenityos.org`.
* Perform quick calculations by typing the equal sign (=) followed by a mathematical expression, e.g. `=22*101`. Press `Return` to copy the result.
* Run commands in [Terminal](help://man/1/Applications/Terminal) by prefixing them with a dollar sign ($), e.g. `$ uname -a`.
* Launch applications with arguments, e.g. launch [Pixel Paint](help://man/1/Applications/PixelPaint) with a file: `pp image.png`.
2 changes: 1 addition & 1 deletion Base/usr/share/man/man1/Applications/Browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $ Browser [options] [urls]

## Description

Ladybird (`Browser`) is an application used to view the World Wide Web. It is built on top of Serenity's own `LibWeb` and `LibJS` engines, allowing it to render HTML, CSS, and JavaScript.
Browser is an application used to view the World Wide Web. It is built on top of Serenity's own `LibWeb` and `LibJS` engines, allowing it to render HTML, CSS, and JavaScript.

## Options

Expand Down
2 changes: 1 addition & 1 deletion Meta/build-root-filesystem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ chown -R 200:100 mnt/home/nona
echo "done"

printf "adding some desktop icons... "
ln -sf /bin/Browser mnt/home/anon/Desktop/Ladybird
ln -sf /bin/Browser mnt/home/anon/Desktop/
ln -sf /bin/TextEditor mnt/home/anon/Desktop/Text\ Editor
ln -sf /bin/Help mnt/home/anon/Desktop/
ln -sf /home/anon mnt/home/anon/Desktop/Home
Expand Down
4 changes: 2 additions & 2 deletions Userland/Applications/Browser/BrowserWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ BrowserWindow::BrowserWindow(WebView::CookieJar& cookie_jar, Vector<URL::URL> co
restore_size_and_position("Browser"sv, "Window"sv, { { 730, 560 } });
save_size_and_position_on_close("Browser"sv, "Window"sv);
set_icon(app_icon.bitmap_for_size(16));
set_title("Ladybird");
set_title("Browser");

auto widget = set_main_widget<GUI::Widget>();
widget->load_from_gml(browser_window_gml).release_value_but_fixme_should_propagate_errors();
Expand Down Expand Up @@ -547,7 +547,7 @@ void BrowserWindow::set_window_title_for_tab(Tab const& tab)
{
auto& title = tab.title();
auto url = tab.url();
set_title(ByteString::formatted("{} - Ladybird", title.is_empty() ? url.to_byte_string() : title));
set_title(ByteString::formatted("{} - Browser", title.is_empty() ? url.to_byte_string() : title));
}

Tab& BrowserWindow::create_new_tab(URL::URL const& url, Web::HTML::ActivateTab activate)
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Browser/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ Tab::Tab(BrowserWindow& window)
view.take_screenshot(type)
->when_resolved([this](auto const& path) {
auto message = MUST(String::formatted("Screenshot saved to: {}", path));
auto response = GUI::MessageBox::show(&this->window(), message, "Ladybird"sv, GUI::MessageBox::Type::Information, GUI::MessageBox::InputType::OKReveal);
auto response = GUI::MessageBox::show(&this->window(), message, "Browser"sv, GUI::MessageBox::Type::Information, GUI::MessageBox::InputType::OKReveal);

if (response == GUI::MessageBox::ExecResult::Reveal)
Desktop::Launcher::open(URL::create_with_file_scheme(path.dirname()));
Expand Down
2 changes: 1 addition & 1 deletion Userland/Applications/Browser/WindowActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ WindowActions::WindowActions(GUI::Window& window)
&window));
m_tab_actions.last()->set_status_tip("Switch to last tab"_string);

m_about_action = GUI::CommonActions::make_about_action("Ladybird"_string, GUI::Icon::default_icon("app-browser"sv), &window);
m_about_action = GUI::CommonActions::make_about_action("Browser"_string, GUI::Icon::default_icon("app-browser"sv), &window);

m_show_bookmarks_bar_action = GUI::Action::create_checkable(
"&Bookmarks Bar", { Mod_Ctrl, Key_B },
Expand Down

0 comments on commit ec1692e

Please sign in to comment.