]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/ui.rc/browser_ui.rc
Clear the URL line edit when navigating history. https://redmine.stoutner.com/issues/841
[PrivacyBrowserPC.git] / src / ui.rc / browser_ui.rc
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright © 2022 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-android>.
7
8   Privacy Browser PC is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser PC is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <!-- Documentation at <https://techbase.kde.org/Development/Architecture/KDE4/XMLGUI_Technology>. -->
22 <!-- Better documentation at <https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kxmlgui.xsd>. -->
23 <gui
24     name="privacybrowser"
25     version="1"
26     xmlns="http://www.kde.org/standards/kxmlgui/1.0"
27     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28     xsi:schemaLocation="http://www.kde.org/standards/kxmlgui/1.0 http://www.kde.org/standards/kxmlgui/1.0/kxmlgui.xsd" >
29
30     <!-- The menu bar. -->
31     <MenuBar>
32         <!-- On-the-fly Settings. -->
33         <Menu name="on_the_fly_settings"> <text>On-The-Fly Settings</text>
34             <Menu name="user_agent" icon="user-group-properties"> <text>User Agent</text>
35                 <Action name="user_agent_privacy_browser" />
36                 <Action name="user_agent_webengine_default" />
37                 <Action name="user_agent_firefox_linux" />
38                 <Action name="user_agent_chromium_linux" />
39                 <Action name="user_agent_firefox_windows" />
40                 <Action name="user_agent_chrome_windows" />
41                 <Action name="user_agent_edge_windows" />
42                 <Action name="user_agent_safari_macos" />
43                 <Action name="user_agent_custom" />
44             </Menu>
45
46             <Action name="zoom_factor" />
47
48             <Separator />
49
50             <Menu name="search_engine" icon="search"> <text>Search Engine</text>
51                 <Action name="search_engine_mojeek" />
52                 <Action name="search_engine_monocles" />
53                 <Action name="search_engine_metager" />
54                 <Action name="search_engine_google" />
55                 <Action name="search_engine_bing" />
56                 <Action name="search_engine_yahoo" />
57                 <Action name="search_engine_custom" />
58             </Menu>
59         </Menu>
60
61         <!-- Settings. -->
62         <Menu name="settings">
63             <Action name="domain_settings" />
64         </Menu>
65     </MenuBar>
66
67     <!-- The main toolbar is removed. -->
68     <ToolBar name="mainToolBar" deleted="true" />
69
70     <!-- The navigation toolbar. -->
71     <ToolBar name="navigation_toolbar" iconText="icononly"> <text>Navigation Toolbar</text>
72         <Action name="go_back" />
73         <Action name="go_forward" />
74         <Action name="view_redisplay" />
75         <Action name="go_home" />
76     </ToolBar>
77
78     <!-- The URL toolbar. -->
79     <ToolBar name="url_toolbar" iconText="icononly"> <text>URL Toolbar</text>
80         <Action name="javascript" />
81         <Action name="local_storage" />
82     </ToolBar>
83 </gui>