author | Wolfgang Rosenauer <wr@rosenauer.org> |
Fri, 30 Aug 2019 23:43:39 +0200 | |
branch | firefox68 |
changeset 1098 | 538cbf0bbdca |
parent 1097 | 840132a4a9b3 |
child 1099 | 8a3c73e74e65 |
permissions | -rw-r--r-- |
823 | 1 |
# HG changeset patch |
1097 | 2 |
# User msirringhaus@suse.de |
3 |
# Date 1559300151 -7200 |
|
4 |
# Fri May 31 12:55:51 2019 +0200 |
|
5 |
# Node ID 54d41b0033b8d649d842a1f862c6fed8b9874dec |
|
6 |
# Parent 428161c3b9599083e1b8710eda1760f1f707ab11 |
|
7 |
How to apply this patch: |
|
8 |
1. Import and apply it |
|
9 |
2. cp browser/base/content/browser.xul browser/base/content/browser-kde.xul |
|
10 |
3. Find editBookmarkPanelDoneButton |
|
11 |
4. Replace #ifndef with #ifdef in the line above (this hanges the button order from Gnome-style to KDE-style) |
|
12 |
5. hg qrefresh |
|
823 | 13 |
|
1097 | 14 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/base/content/browser-kde.xul |
15 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
16 |
+++ b/browser/base/content/browser-kde.xul Fri May 31 12:55:51 2019 +0200 |
|
17 |
@@ -0,0 +1,1375 @@ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
18 |
+#filter substitution |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
19 |
+<?xml version="1.0"?> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
20 |
+# -*- Mode: HTML -*- |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
21 |
+# |
479
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
22 |
+# This Source Code Form is subject to the terms of the Mozilla Public |
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
23 |
+# License, v. 2.0. If a copy of the MPL was not distributed with this |
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
24 |
+# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
25 |
+ |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
26 |
+<!-- The "global.css" stylesheet is imported first to allow other stylesheets to |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
27 |
+ override rules using selectors with the same specificity. This applies to |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
28 |
+ both "content" and "skin" packages, which bug 1385444 will unify later. --> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
29 |
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
30 |
+ |
1082 | 31 |
+<!-- While these stylesheets are defined in Toolkit, they are only used in the |
32 |
+ main browser window, so we can load them here. Bug 1474241 is on file to |
|
33 |
+ consider moving these widgets to the "browser" folder. --> |
|
34 |
+<?xml-stylesheet href="chrome://global/content/tabprompts.css" type="text/css"?> |
|
35 |
+<?xml-stylesheet href="chrome://global/skin/tabprompts.css" type="text/css"?> |
|
36 |
+ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
37 |
+<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
38 |
+<?xml-stylesheet href="chrome://browser/content/tabbrowser.css" type="text/css"?> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
39 |
+<?xml-stylesheet href="chrome://browser/content/downloads/downloads.css" type="text/css"?> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
40 |
+<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
929 | 41 |
+<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
42 |
+<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
881 | 43 |
+<?xml-stylesheet href="chrome://browser/skin/controlcenter/panel.css" type="text/css"?> |
932 | 44 |
+<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUI.css" type="text/css"?> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
45 |
+<?xml-stylesheet href="chrome://browser/skin/downloads/downloads.css" type="text/css"?> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
46 |
+<?xml-stylesheet href="chrome://browser/skin/searchbar.css" type="text/css"?> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
47 |
+<?xml-stylesheet href="chrome://browser/skin/places/tree-icons.css" type="text/css"?> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
48 |
+<?xml-stylesheet href="chrome://browser/skin/places/editBookmark.css" type="text/css"?> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
49 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
50 |
+# All DTD information is stored in a separate file so that it can be shared by |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
51 |
+# hiddenWindow.xul. |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
52 |
+<!DOCTYPE window [ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
53 |
+#include browser-doctype.inc |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
54 |
+]> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
55 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
56 |
+<window id="main-window" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
57 |
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
58 |
+ xmlns:svg="http://www.w3.org/2000/svg" |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
59 |
+ xmlns:html="http://www.w3.org/1999/xhtml" |
985 | 60 |
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
61 |
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
703 | 62 |
+ title="&mainWindow.title;" |
63 |
+ title_normal="&mainWindow.title;" |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
64 |
+#ifdef XP_MACOSX |
703 | 65 |
+ title_privatebrowsing="&mainWindow.title;&mainWindow.titlemodifiermenuseparator;&mainWindow.titlePrivateBrowsingSuffix;" |
66 |
+ titledefault="&mainWindow.title;" |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
67 |
+ titlemodifier="" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
68 |
+ titlemodifier_normal="" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
69 |
+ titlemodifier_privatebrowsing="&mainWindow.titlePrivateBrowsingSuffix;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
70 |
+#else |
703 | 71 |
+ title_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;" |
72 |
+ titlemodifier="&mainWindow.titlemodifier;" |
|
73 |
+ titlemodifier_normal="&mainWindow.titlemodifier;" |
|
74 |
+ titlemodifier_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;" |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
75 |
+#endif |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
76 |
+#ifdef XP_WIN |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
77 |
+ chromemargin="0,2,2,2" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
78 |
+#else |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
79 |
+ chromemargin="0,-1,-1,-1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
80 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
81 |
+ tabsintitlebar="true" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
82 |
+ titlemenuseparator="&mainWindow.titlemodifiermenuseparator;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
83 |
+ windowtype="navigator:browser" |
419
f6b055dd94bc
commit Aurora 13 state
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
410
diff
changeset
|
84 |
+ macanimationtype="document" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
85 |
+ screenX="4" screenY="4" |
479
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
86 |
+ fullscreenbutton="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
87 |
+ sizemode="normal" |
885 | 88 |
+ retargetdocumentfocus="urlbar" |
1082 | 89 |
+ persist="screenX screenY width height sizemode" |
90 |
+#ifdef BROWSER_XHTML |
|
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
91 |
+ mozpersist="" |
1082 | 92 |
+#endif |
93 |
+ > |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
94 |
+ |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
95 |
+# All JS files which are needed by browser.xul and other top level windows to |
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
96 |
+# support MacOS specific features *must* go into the global-scripts.inc file so |
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
97 |
+# that they can be shared with macWindow.inc.xul. |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
98 |
+#include global-scripts.inc |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
99 |
+ |
1097 | 100 |
+<script> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
101 |
+ Services.scriptloader.loadSubScript("chrome://global/content/contentAreaUtils.js", this); |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
102 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-captivePortal.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
103 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-contentblocking.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
104 |
+#ifdef MOZ_DATA_REPORTING |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
105 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-data-submission-info-bar.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
106 |
+#endif |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
107 |
+#ifndef MOZILLA_OFFICIAL |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
108 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-development-helpers.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
109 |
+#endif |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
110 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-media.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
111 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-pageActions.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
112 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-plugins.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
113 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-sidebar.js", this); |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
114 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-tabsintitlebar.js", this); |
1045 | 115 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser.js", this); |
1093 | 116 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/search/autocomplete-popup.js", this); |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
117 |
+ Services.scriptloader.loadSubScript("chrome://browser/content/search/searchbar.js", this); |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
118 |
+ |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
119 |
+ window.onload = gBrowserInit.onLoad.bind(gBrowserInit); |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
120 |
+ window.onunload = gBrowserInit.onUnload.bind(gBrowserInit); |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
121 |
+ window.onclose = WindowIsClosing; |
1082 | 122 |
+ |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
123 |
+ window.addEventListener("MozBeforeInitialXULLayout", |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
124 |
+ gBrowserInit.onBeforeInitialXULLayout.bind(gBrowserInit), { once: true }); |
1093 | 125 |
+ |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
126 |
+ // The listener of DOMContentLoaded must be set on window, rather than |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
127 |
+ // document, because the window can go away before the event is fired. |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
128 |
+ // In that case, we don't want to initialize anything, otherwise we |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
129 |
+ // may be leaking things because they will never be destroyed after. |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
130 |
+ window.addEventListener("DOMContentLoaded", |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
131 |
+ gBrowserInit.onDOMContentLoaded.bind(gBrowserInit), { once: true }); |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
132 |
+</script> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
133 |
+ |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
134 |
+# All sets except for popupsets (commands, keys, and stringbundles) |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
135 |
+# *must* go into the browser-sets.inc file so that they can be shared with other |
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
136 |
+# top level windows in macWindow.inc.xul. |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
137 |
+#include browser-sets.inc |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
138 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
139 |
+ <popupset id="mainPopupSet"> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
140 |
+ <menupopup id="tabContextMenu" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
141 |
+ onpopupshowing="if (event.target == this) TabContextMenu.updateContextMenu(this);" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
142 |
+ onpopuphidden="if (event.target == this) TabContextMenu.contextTab = null;"> |
1097 | 143 |
+ <menuitem id="context_reloadTab" data-lazy-l10n-id="reload-tab" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
144 |
+ oncommand="gBrowser.reloadTab(TabContextMenu.contextTab);"/> |
1097 | 145 |
+ <menuitem id="context_reloadSelectedTabs" data-lazy-l10n-id="reload-tabs" hidden="true" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
146 |
+ oncommand="gBrowser.reloadMultiSelectedTabs();"/> |
889 | 147 |
+ <menuitem id="context_toggleMuteTab" oncommand="TabContextMenu.contextTab.toggleMuteAudio();"/> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
148 |
+ <menuitem id="context_toggleMuteSelectedTabs" hidden="true" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
149 |
+ oncommand="gBrowser.toggleMuteAudioOnMultiSelectedTabs(TabContextMenu.contextTab);"/> |
1097 | 150 |
+ <menuitem id="context_pinTab" data-lazy-l10n-id="pin-tab" |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
151 |
+ oncommand="gBrowser.pinTab(TabContextMenu.contextTab);"/> |
1097 | 152 |
+ <menuitem id="context_unpinTab" data-lazy-l10n-id="unpin-tab" hidden="true" |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
153 |
+ oncommand="gBrowser.unpinTab(TabContextMenu.contextTab);"/> |
1097 | 154 |
+ <menuitem id="context_pinSelectedTabs" data-lazy-l10n-id="pin-selected-tabs" hidden="true" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
155 |
+ oncommand="gBrowser.pinMultiSelectedTabs();"/> |
1097 | 156 |
+ <menuitem id="context_unpinSelectedTabs" data-lazy-l10n-id="unpin-selected-tabs" hidden="true" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
157 |
+ oncommand="gBrowser.unpinMultiSelectedTabs();"/> |
1097 | 158 |
+ <menuitem id="context_duplicateTab" data-lazy-l10n-id="duplicate-tab" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
159 |
+ oncommand="duplicateTabIn(TabContextMenu.contextTab, 'tab');"/> |
1097 | 160 |
+ <menuitem id="context_duplicateTabs" data-lazy-l10n-id="duplicate-tabs" |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
161 |
+ oncommand="TabContextMenu.duplicateSelectedTabs();"/> |
1082 | 162 |
+ <menuseparator/> |
1097 | 163 |
+ <menuitem id="context_selectAllTabs" data-lazy-l10n-id="select-all-tabs" |
1082 | 164 |
+ oncommand="gBrowser.selectAllTabs();"/> |
165 |
+ <menuitem id="context_bookmarkSelectedTabs" |
|
166 |
+ hidden="true" |
|
1097 | 167 |
+ data-lazy-l10n-id="bookmark-selected-tabs" |
1082 | 168 |
+ oncommand="PlacesCommandHook.bookmarkPages(PlacesCommandHook.uniqueSelectedPages);"/> |
169 |
+ <menuitem id="context_bookmarkTab" |
|
1097 | 170 |
+ data-lazy-l10n-id="bookmark-tab" |
1082 | 171 |
+ oncommand="PlacesCommandHook.bookmarkPages(PlacesCommandHook.getUniquePages([TabContextMenu.contextTab]));"/> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
172 |
+ <menu id="context_reopenInContainer" |
1097 | 173 |
+ data-lazy-l10n-id="reopen-in-container" |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
174 |
+ hidden="true"> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
175 |
+ <menupopup oncommand="TabContextMenu.reopenInContainer(event);" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
176 |
+ onpopupshowing="TabContextMenu.createReopenInContainerMenu(event);"/> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
177 |
+ </menu> |
1097 | 178 |
+ <menu id="context_moveTabOptions"> |
1082 | 179 |
+ <menupopup id="moveTabOptionsMenu"> |
180 |
+ <menuitem id="context_moveToStart" |
|
1097 | 181 |
+ data-lazy-l10n-id="move-to-start" |
1082 | 182 |
+ tbattr="tabbrowser-multiple" |
183 |
+ oncommand="gBrowser.moveTabsToStart(TabContextMenu.contextTab);"/> |
|
184 |
+ <menuitem id="context_moveToEnd" |
|
1097 | 185 |
+ data-lazy-l10n-id="move-to-end" |
1082 | 186 |
+ tbattr="tabbrowser-multiple" |
187 |
+ oncommand="gBrowser.moveTabsToEnd(TabContextMenu.contextTab);"/> |
|
1097 | 188 |
+ <menuitem id="context_openTabInWindow" data-lazy-l10n-id="move-to-new-window" |
1082 | 189 |
+ tbattr="tabbrowser-multiple" |
190 |
+ oncommand="gBrowser.replaceTabsWithWindow(TabContextMenu.contextTab);"/> |
|
191 |
+ </menupopup> |
|
192 |
+ </menu> |
|
193 |
+ <menu id="context_sendTabToDevice" |
|
194 |
+ class="sync-ui-item"> |
|
932 | 195 |
+ <menupopup id="context_sendTabToDevicePopupMenu" |
1082 | 196 |
+ onpopupshowing="gSync.populateSendTabToDevicesMenu(event.target, TabContextMenu.contextTab.linkedBrowser.currentURI.spec, TabContextMenu.contextTab.linkedBrowser.contentTitle, TabContextMenu.contextTab.multiselected);"/> |
932 | 197 |
+ </menu> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
198 |
+ <menuseparator/> |
1097 | 199 |
+ <menuitem id="context_closeTabsToTheEnd" data-lazy-l10n-id="close-tabs-to-the-end" |
904 | 200 |
+ oncommand="gBrowser.removeTabsToTheEndFrom(TabContextMenu.contextTab, {animate: true});"/> |
1097 | 201 |
+ <menuitem id="context_closeOtherTabs" data-lazy-l10n-id="close-other-tabs" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
202 |
+ oncommand="gBrowser.removeAllTabsBut(TabContextMenu.contextTab);"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
203 |
+ <menuitem id="context_undoCloseTab" |
1097 | 204 |
+ data-lazy-l10n-id="undo-close-tab" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
205 |
+ observes="History:UndoCloseTab"/> |
1097 | 206 |
+ <menuitem id="context_closeTab" data-lazy-l10n-id="close-tab" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
207 |
+ oncommand="gBrowser.removeTab(TabContextMenu.contextTab, { animate: true });"/> |
1097 | 208 |
+ <menuitem id="context_closeSelectedTabs" data-lazy-l10n-id="close-tabs" |
209 |
+ hidden="true" |
|
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
210 |
+ oncommand="gBrowser.removeMultiSelectedTabs();"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
211 |
+ </menupopup> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
212 |
+ |
193 | 213 |
+ <!-- bug 415444/582485: event.stopPropagation is here for the cloned version |
214 |
+ of this menupopup --> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
215 |
+ <menupopup id="backForwardMenu" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
216 |
+ onpopupshowing="return FillHistoryMenu(event.target);" |
193 | 217 |
+ oncommand="gotoHistoryIndex(event); event.stopPropagation();" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
218 |
+ onclick="checkForMiddleClick(this, event);"/> |
650 | 219 |
+ <tooltip id="aHTMLTooltip" page="true"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
220 |
+ <tooltip id="remoteBrowserTooltip"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
221 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
222 |
+ <!-- for search and content formfill/pw manager --> |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
223 |
+ |
1093 | 224 |
+ <panel is="autocomplete-richlistbox-popup" |
225 |
+ type="autocomplete-richlistbox" |
|
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
226 |
+ id="PopupAutoComplete" |
1045 | 227 |
+ role="group" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
228 |
+ noautofocus="true" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
229 |
+ hidden="true" |
943 | 230 |
+ overflowpadding="4" |
982 | 231 |
+ norolluponanchor="true" |
232 |
+ nomaxresults="true" /> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
233 |
+ |
817 | 234 |
+ <!-- for search with one-off buttons --> |
1093 | 235 |
+ <panel is="search-autocomplete-richlistbox-popup" |
236 |
+ type="autocomplete-richlistbox" |
|
1045 | 237 |
+ id="PopupSearchAutoComplete" |
238 |
+ role="group" |
|
239 |
+ noautofocus="true" |
|
240 |
+ hidden="true" /> |
|
817 | 241 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
242 |
+ <!-- for url bar autocomplete --> |
923 | 243 |
+ <panel type="autocomplete-richlistbox" |
244 |
+ id="PopupAutoCompleteRichResult" |
|
1045 | 245 |
+ role="group" |
923 | 246 |
+ noautofocus="true" |
247 |
+ hidden="true" |
|
248 |
+ flip="none" |
|
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
249 |
+ level="parent" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
250 |
+ overflowpadding="15" /> |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
251 |
+ |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
252 |
+ <!-- for date/time picker. consumeoutsideclicks is set to never, so that |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
253 |
+ clicks on the anchored input box are never consumed. --> |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
254 |
+ <panel id="DateTimePickerPanel" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
255 |
+ type="arrow" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
256 |
+ hidden="true" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
257 |
+ orient="vertical" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
258 |
+ noautofocus="true" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
259 |
+ norolluponanchor="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
260 |
+ consumeoutsideclicks="never" |
982 | 261 |
+ level="parent" |
262 |
+ tabspecific="true"> |
|
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
263 |
+ </panel> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
264 |
+ |
850 | 265 |
+ <!-- for select dropdowns. The menupopup is what shows the list of options, |
266 |
+ and the popuponly menulist makes things like the menuactive attributes |
|
267 |
+ work correctly on the menupopup. ContentSelectDropdown expects the |
|
268 |
+ popuponly menulist to be its immediate parent. --> |
|
269 |
+ <menulist popuponly="true" id="ContentSelectDropdown" hidden="true"> |
|
881 | 270 |
+ <menupopup rolluponmousewheel="true" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
271 |
+ activateontab="true" position="after_start" |
955
55662cbdb950
update KDE variants for UI
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
953
diff
changeset
|
272 |
+ level="parent" |
881 | 273 |
+#ifdef XP_WIN |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
274 |
+ consumeoutsideclicks="false" ignorekeys="shortcuts" |
881 | 275 |
+#endif |
276 |
+ /> |
|
850 | 277 |
+ </menulist> |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
278 |
+ |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
279 |
+ <!-- for invalid form error message --> |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
280 |
+ <panel id="invalid-form-popup" type="arrow" orient="vertical" noautofocus="true" hidden="true" level="parent"> |
193 | 281 |
+ <description/> |
282 |
+ </panel> |
|
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
283 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
284 |
+ <panel id="editBookmarkPanel" |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
285 |
+ type="arrow" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
286 |
+ orient="vertical" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
287 |
+ ignorekeys="true" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
288 |
+ hidden="true" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
289 |
+ tabspecific="true" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
290 |
+ aria-labelledby="editBookmarkPanelTitle"> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
291 |
+ <box class="panel-header"> |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
292 |
+ <label id="editBookmarkPanelTitle"/> |
1097 | 293 |
+ <toolbarbutton id="editBookmarkPanelInfoButton" oncommand="StarUI.toggleRecommendation();" > |
294 |
+ <image/> |
|
295 |
+ </toolbarbutton> |
|
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
296 |
+ </box> |
1097 | 297 |
+ <html:div id="editBookmarkPanelInfoArea"> |
298 |
+ <html:div id="editBookmarkPanelRecommendation"></html:div> |
|
299 |
+ <html:div id="editBookmarkPanelFaviconContainer"> |
|
300 |
+ <html:img id="editBookmarkPanelFavicon"/> |
|
301 |
+ </html:div> |
|
302 |
+ <html:div id="editBookmarkPanelImage"></html:div> |
|
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
303 |
+ </html:div> |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
304 |
+#include ../../components/places/content/editBookmarkPanel.inc.xul |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
305 |
+ <vbox id="editBookmarkPanelBottomContent" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
306 |
+ flex="1"> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
307 |
+ <checkbox id="editBookmarkPanel_showForNewBookmarks" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
308 |
+ label="&editBookmark.showForNewBookmarks.label;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
309 |
+ accesskey="&editBookmark.showForNewBookmarks.accesskey;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
310 |
+ oncommand="StarUI.onShowForNewBookmarksCheckboxCommand();"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
311 |
+ </vbox> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
312 |
+ <hbox id="editBookmarkPanelBottomButtons" |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
313 |
+ class="panel-footer" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
314 |
+ style="min-width: &editBookmark.panel.width;;"> |
885 | 315 |
+#ifdef XP_UNIX |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
316 |
+ <button id="editBookmarkPanelDoneButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
317 |
+ class="editBookmarkPanelBottomButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
318 |
+ label="&editBookmark.done.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
319 |
+ default="true" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
320 |
+ oncommand="StarUI.panel.hidePopup();"/> |
916 | 321 |
+ <button id="editBookmarkPanelRemoveButton" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
322 |
+ class="editBookmarkPanelBottomButton" |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
323 |
+ oncommand="StarUI.removeBookmarkButtonCommand();"/> |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
324 |
+#else |
916 | 325 |
+ <button id="editBookmarkPanelRemoveButton" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
326 |
+ class="editBookmarkPanelBottomButton" |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
327 |
+ oncommand="StarUI.removeBookmarkButtonCommand();"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
328 |
+ <button id="editBookmarkPanelDoneButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
329 |
+ class="editBookmarkPanelBottomButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
330 |
+ label="&editBookmark.done.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
331 |
+ default="true" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
332 |
+ oncommand="StarUI.panel.hidePopup();"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
333 |
+#endif |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
334 |
+ </hbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
335 |
+ </panel> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
336 |
+ |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
337 |
+ <!-- UI tour experience --> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
338 |
+ <panel id="UITourTooltip" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
339 |
+ type="arrow" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
340 |
+ hidden="true" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
341 |
+ noautofocus="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
342 |
+ noautohide="true" |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
343 |
+ align="start" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
344 |
+ orient="vertical" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
345 |
+ role="alert"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
346 |
+ <vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
347 |
+ <hbox id="UITourTooltipBody"> |
923 | 348 |
+ <image id="UITourTooltipIcon"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
349 |
+ <vbox flex="1"> |
923 | 350 |
+ <hbox id="UITourTooltipTitleContainer"> |
351 |
+ <label id="UITourTooltipTitle" flex="1"/> |
|
352 |
+ <toolbarbutton id="UITourTooltipClose" class="close-icon" |
|
353 |
+ tooltiptext="&uiTour.infoPanel.close;"/> |
|
354 |
+ </hbox> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
355 |
+ <description id="UITourTooltipDescription" flex="1"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
356 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
357 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
358 |
+ <hbox id="UITourTooltipButtons" flex="1" align="center"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
359 |
+ </vbox> |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
360 |
+ </panel> |
766 | 361 |
+ <!-- type="default" forces frames to be created so that the panel's size can be determined --> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
362 |
+ <panel id="UITourHighlightContainer" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
363 |
+ type="default" |
541
830e50bbfc79
working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
522
diff
changeset
|
364 |
+ hidden="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
365 |
+ noautofocus="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
366 |
+ noautohide="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
367 |
+ flip="none" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
368 |
+ consumeoutsideclicks="false" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
369 |
+ mousethrough="always"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
370 |
+ <box id="UITourHighlight"></box> |
541
830e50bbfc79
working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
522
diff
changeset
|
371 |
+ </panel> |
817 | 372 |
+ |
985 | 373 |
+ <panel id="sidebarMenu-popup" |
374 |
+ class="cui-widget-panel" |
|
375 |
+ role="group" |
|
376 |
+ type="arrow" |
|
377 |
+ hidden="true" |
|
378 |
+ flip="slide" |
|
379 |
+ orient="vertical" |
|
380 |
+ position="bottomcenter topleft"> |
|
381 |
+ <toolbarbutton id="sidebar-switcher-bookmarks" |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
382 |
+ type="checkbox" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
383 |
+ label="&bookmarksButton.label;" |
985 | 384 |
+ class="subviewbutton subviewbutton-iconic" |
385 |
+ key="viewBookmarksSidebarKb" |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
386 |
+ oncommand="SidebarUI.show('viewBookmarksSidebar');"/> |
985 | 387 |
+ <toolbarbutton id="sidebar-switcher-history" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
388 |
+ type="checkbox" |
985 | 389 |
+ label="&historyButton.label;" |
390 |
+ class="subviewbutton subviewbutton-iconic" |
|
391 |
+ key="key_gotoHistory" |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
392 |
+ oncommand="SidebarUI.show('viewHistorySidebar');"/> |
985 | 393 |
+ <toolbarbutton id="sidebar-switcher-tabs" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
394 |
+ type="checkbox" |
985 | 395 |
+ label="&syncedTabs.sidebar.label;" |
1045 | 396 |
+ class="subviewbutton subviewbutton-iconic sync-ui-item" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
397 |
+ oncommand="SidebarUI.show('viewTabsSidebar');"/> |
985 | 398 |
+ <toolbarseparator/> |
1036 | 399 |
+ <!-- Extension toolbarbuttons go here. --> |
400 |
+ <toolbarseparator id="sidebar-extensions-separator"/> |
|
985 | 401 |
+ <toolbarbutton id="sidebar-reverse-position" |
402 |
+ class="subviewbutton" |
|
403 |
+ oncommand="SidebarUI.reversePosition()"/> |
|
404 |
+ <toolbarseparator/> |
|
405 |
+ <toolbarbutton label="&sidebarMenuClose.label;" |
|
406 |
+ class="subviewbutton" |
|
407 |
+ oncommand="SidebarUI.hide()"/> |
|
408 |
+ </panel> |
|
515 | 409 |
+ |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
410 |
+ <menupopup id="toolbar-context-menu" |
1082 | 411 |
+ onpopupshowing="onViewToolbarsPopupShowing(event, document.getElementById('viewToolbarsMenuSeparator')); ToolbarContextMenu.updateDownloadsAutoHide(this); ToolbarContextMenu.updateExtension(this)"> |
412 |
+ <menuitem oncommand="ToolbarContextMenu.openAboutAddonsForContextAction(this.parentElement)" |
|
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
413 |
+ accesskey="&customizeMenu.manageExtension.accesskey;" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
414 |
+ label="&customizeMenu.manageExtension.label;" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
415 |
+ contexttype="toolbaritem" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
416 |
+ class="customize-context-manageExtension"/> |
1082 | 417 |
+ <menuitem oncommand="ToolbarContextMenu.removeExtensionForContextAction(this.parentElement)" |
418 |
+ accesskey="&customizeMenu.removeExtension.accesskey;" |
|
419 |
+ label="&customizeMenu.removeExtension.label;" |
|
420 |
+ contexttype="toolbaritem" |
|
421 |
+ class="customize-context-removeExtension"/> |
|
1097 | 422 |
+ <menuitem oncommand="ToolbarContextMenu.reportExtensionForContextAction(this.parentElement, 'toolbar_context_menu')" |
423 |
+ accesskey="&customizeMenu.reportExtension.accesskey;" |
|
424 |
+ label="&customizeMenu.reportExtension.label;" |
|
425 |
+ contexttype="toolbaritem" |
|
426 |
+ class="customize-context-reportExtension"/> |
|
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
427 |
+ <menuseparator/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
428 |
+ <menuitem oncommand="gCustomizeMode.addToPanel(document.popupNode)" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
429 |
+ accesskey="&customizeMenu.pinToOverflowMenu.accesskey;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
430 |
+ label="&customizeMenu.pinToOverflowMenu.label;" |
766 | 431 |
+ contexttype="toolbaritem" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
432 |
+ class="customize-context-moveToPanel"/> |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
433 |
+ <menuitem id="toolbar-context-autohide-downloads-button" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
434 |
+ oncommand="ToolbarContextMenu.onDownloadsAutoHideChange(event);" |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
435 |
+ type="checkbox" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
436 |
+ accesskey="&customizeMenu.autoHideDownloadsButton.accesskey;" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
437 |
+ label="&customizeMenu.autoHideDownloadsButton.label;" |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
438 |
+ contexttype="toolbaritem"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
439 |
+ <menuitem oncommand="gCustomizeMode.removeFromArea(document.popupNode)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
440 |
+ accesskey="&customizeMenu.removeFromToolbar.accesskey;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
441 |
+ label="&customizeMenu.removeFromToolbar.label;" |
766 | 442 |
+ contexttype="toolbaritem" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
443 |
+ class="customize-context-removeFromToolbar"/> |
1082 | 444 |
+ <menuitem id="toolbar-context-reloadSelectedTab" |
445 |
+ contexttype="tabbar" |
|
446 |
+ oncommand="gBrowser.reloadMultiSelectedTabs();" |
|
1097 | 447 |
+ data-lazy-l10n-id="toolbar-context-menu-reload-selected-tab"/> |
1082 | 448 |
+ <menuitem id="toolbar-context-reloadSelectedTabs" |
449 |
+ contexttype="tabbar" |
|
450 |
+ oncommand="gBrowser.reloadMultiSelectedTabs();" |
|
1097 | 451 |
+ data-lazy-l10n-id="toolbar-context-menu-reload-selected-tabs"/> |
1082 | 452 |
+ <menuitem id="toolbar-context-bookmarkSelectedTab" |
766 | 453 |
+ contexttype="tabbar" |
1082 | 454 |
+ oncommand="PlacesCommandHook.bookmarkPages(PlacesCommandHook.uniqueSelectedPages);" |
1097 | 455 |
+ data-lazy-l10n-id="toolbar-context-menu-bookmark-selected-tab"/> |
1082 | 456 |
+ <menuitem id="toolbar-context-bookmarkSelectedTabs" |
766 | 457 |
+ contexttype="tabbar" |
1082 | 458 |
+ oncommand="PlacesCommandHook.bookmarkPages(PlacesCommandHook.uniqueSelectedPages);" |
1097 | 459 |
+ data-lazy-l10n-id="toolbar-context-menu-bookmark-selected-tabs"/> |
1082 | 460 |
+ <menuitem id="toolbar-context-selectAllTabs" |
461 |
+ contexttype="tabbar" |
|
462 |
+ oncommand="gBrowser.selectAllTabs();" |
|
1097 | 463 |
+ data-lazy-l10n-id="toolbar-context-menu-select-all-tabs"/> |
766 | 464 |
+ <menuitem id="toolbar-context-undoCloseTab" |
465 |
+ contexttype="tabbar" |
|
1097 | 466 |
+ data-lazy-l10n-id="toolbar-context-menu-undo-close-tab" |
766 | 467 |
+ observes="History:UndoCloseTab"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
468 |
+ <menuseparator/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
469 |
+ <menuseparator id="viewToolbarsMenuSeparator"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
470 |
+ <!-- XXXgijs: we're using oncommand handler here to avoid the event being |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
471 |
+ redirected to the command element, thus preventing |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
472 |
+ listeners on the menupopup or further up the tree from |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
473 |
+ seeing the command event pass by. The observes attribute is |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
474 |
+ here so that the menuitem is still disabled and re-enabled |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
475 |
+ correctly. --> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
476 |
+ <menuitem oncommand="gCustomizeMode.enter()" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
477 |
+ observes="cmd_CustomizeToolbars" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
478 |
+ class="viewCustomizeToolbar" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
479 |
+ label="&viewCustomizeToolbar.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
480 |
+ accesskey="&viewCustomizeToolbar.accesskey;"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
481 |
+ </menupopup> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
482 |
+ |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
483 |
+ <menupopup id="blockedPopupOptions" |
211
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
484 |
+ onpopupshowing="gPopupBlockerObserver.fillPopupList(event);" |
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
485 |
+ onpopuphiding="gPopupBlockerObserver.onPopupHiding(event);"> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
486 |
+ <menuitem id="blockedPopupAllowSite" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
487 |
+ accesskey="&allowPopups.accesskey;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
488 |
+ oncommand="gPopupBlockerObserver.toggleAllowPopupsForSite(event);"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
489 |
+ <menuitem |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
490 |
+#ifdef XP_WIN |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
491 |
+ label="&editPopupSettings.label;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
492 |
+#else |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
493 |
+ label="&editPopupSettingsUnix.label;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
494 |
+#endif |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
495 |
+ accesskey="&editPopupSettings.accesskey;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
496 |
+ oncommand="gPopupBlockerObserver.editPopupSettings();"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
497 |
+ <menuitem id="blockedPopupDontShowMessage" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
498 |
+ accesskey="&dontShowMessage.accesskey;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
499 |
+ type="checkbox" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
500 |
+ oncommand="gPopupBlockerObserver.dontShowMessage();"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
501 |
+ <menuseparator id="blockedPopupsSeparator"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
502 |
+ </menupopup> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
503 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
504 |
+ <menupopup id="autohide-context" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
505 |
+ onpopupshowing="FullScreen.getAutohide(this.firstChild);"> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
506 |
+ <menuitem type="checkbox" label="&fullScreenAutohide.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
507 |
+ accesskey="&fullScreenAutohide.accesskey;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
508 |
+ oncommand="FullScreen.setAutohide();"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
509 |
+ <menuseparator/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
510 |
+ <menuitem label="&fullScreenExit.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
511 |
+ accesskey="&fullScreenExit.accesskey;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
512 |
+ oncommand="BrowserFullScreen();"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
513 |
+ </menupopup> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
514 |
+ |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
515 |
+ <menupopup id="contentAreaContextMenu" pagemenu="#page-menu-separator" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
516 |
+ onpopupshowing="if (event.target != this) |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
517 |
+ return true; |
637
73640b76d6c3
first building version of FF21
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
612
diff
changeset
|
518 |
+ gContextMenu = new nsContextMenu(this, event.shiftKey); |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
519 |
+ if (gContextMenu.shouldDisplay) |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
520 |
+ updateEditUIVisibility(); |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
521 |
+ return gContextMenu.shouldDisplay;" |
400 | 522 |
+ onpopuphiding="if (event.target != this) |
523 |
+ return; |
|
524 |
+ gContextMenu.hiding(); |
|
525 |
+ gContextMenu = null; |
|
526 |
+ updateEditUIVisibility();"> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
527 |
+#include browser-context.inc |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
528 |
+ </menupopup> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
529 |
+ |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
530 |
+#include ../../components/places/content/placesContextMenu.inc.xul |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
531 |
+ |
932 | 532 |
+ <panel id="ctrlTab-panel" hidden="true" norestorefocus="true" level="top"> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
533 |
+ <hbox id="ctrlTab-previews"/> |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
534 |
+ <hbox id="ctrlTab-showAll-container" pack="center"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
535 |
+ </panel> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
536 |
+ |
994 | 537 |
+ <panel id="pageActionPanel" |
985 | 538 |
+ class="cui-widget-panel" |
539 |
+ role="group" |
|
540 |
+ type="arrow" |
|
541 |
+ hidden="true" |
|
542 |
+ flip="slide" |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
543 |
+ photon="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
544 |
+ position="bottomcenter topright" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
545 |
+ tabspecific="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
546 |
+ noautofocus="true" |
1093 | 547 |
+ pinTab-title="&pinTab.label;" |
548 |
+ unpinTab-title="&unpinTab.label;" |
|
1089 | 549 |
+ pocket-title="&saveToPocketCmd.label;" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
550 |
+ copyURL-title="&pageAction.copyLink.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
551 |
+ emailLink-title="&emailPageCmd.label;" |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
552 |
+ sendToDevice-notReadyTitle="&sendToDevice.syncNotReady.label;" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
553 |
+ shareURL-title="&pageAction.shareUrl.label;" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
554 |
+ shareMore-label="&pageAction.shareMore.label;"> |
1036 | 555 |
+ <panelmultiview id="pageActionPanelMultiView" |
556 |
+ mainViewId="pageActionPanelMainView" |
|
557 |
+ viewCacheId="appMenu-viewCache"> |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
558 |
+ <panelview id="pageActionPanelMainView" |
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
559 |
+ context="pageActionContextMenu" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
560 |
+ class="PanelUI-subView"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
561 |
+ <vbox class="panel-subview-body"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
562 |
+ </panelview> |
1036 | 563 |
+ </panelmultiview> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
564 |
+ </panel> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
565 |
+ |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
566 |
+ <panel id="confirmation-hint" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
567 |
+ role="alert" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
568 |
+ type="arrow" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
569 |
+ hidden="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
570 |
+ flip="slide" |
985 | 571 |
+ position="bottomcenter topright" |
994 | 572 |
+ tabspecific="true" |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
573 |
+ noautofocus="true"> |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
574 |
+ <hbox id="confirmation-hint-checkmark-animation-container"> |
1093 | 575 |
+ <image id="confirmation-hint-checkmark-image"/> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
576 |
+ </hbox> |
1093 | 577 |
+ <vbox id="confirmation-hint-message-container"> |
578 |
+ <label id="confirmation-hint-message"/> |
|
579 |
+ <label id="confirmation-hint-description"/> |
|
580 |
+ </vbox> |
|
985 | 581 |
+ </panel> |
582 |
+ |
|
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
583 |
+ <menupopup id="pageActionContextMenu" |
994 | 584 |
+ onpopupshowing="BrowserPageActions.onContextMenuShowing(event, this);"> |
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
585 |
+ <menuitem class="pageActionContextMenuItem builtInUnpinned" |
994 | 586 |
+ label="&pageAction.addToUrlbar.label;" |
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
587 |
+ oncommand="BrowserPageActions.togglePinningForContextAction();"/> |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
588 |
+ <menuitem class="pageActionContextMenuItem builtInPinned" |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
589 |
+ label="&pageAction.removeFromUrlbar.label;" |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
590 |
+ oncommand="BrowserPageActions.togglePinningForContextAction();"/> |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
591 |
+ <menuitem class="pageActionContextMenuItem extensionUnpinned" |
1082 | 592 |
+ label="&pageAction.addToUrlbar.label;" |
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
593 |
+ oncommand="BrowserPageActions.togglePinningForContextAction();"/> |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
594 |
+ <menuitem class="pageActionContextMenuItem extensionPinned" |
1082 | 595 |
+ label="&pageAction.removeFromUrlbar.label;" |
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
596 |
+ oncommand="BrowserPageActions.togglePinningForContextAction();"/> |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
597 |
+ <menuseparator class="pageActionContextMenuItem extensionPinned extensionUnpinned"/> |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
598 |
+ <menuitem class="pageActionContextMenuItem extensionPinned extensionUnpinned" |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
599 |
+ label="&pageAction.manageExtension.label;" |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
600 |
+ oncommand="BrowserPageActions.openAboutAddonsForContextAction();"/> |
994 | 601 |
+ </menupopup> |
602 |
+ |
|
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
603 |
+#include ../../components/places/content/bookmarksHistoryTooltip.inc.xul |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
604 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
605 |
+ <tooltip id="tabbrowser-tab-tooltip" onpopupshowing="gBrowser.createTooltip(event);"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
606 |
+ |
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
607 |
+ <tooltip id="back-button-tooltip"> |
1082 | 608 |
+ <description class="tooltip-label" value="&backButton.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
609 |
+#ifdef XP_MACOSX |
1082 | 610 |
+ <description class="tooltip-label" value="&backForwardButtonMenuMac.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
611 |
+#else |
1082 | 612 |
+ <description class="tooltip-label" value="&backForwardButtonMenu.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
613 |
+#endif |
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
614 |
+ </tooltip> |
479
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
615 |
+ |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
616 |
+ <tooltip id="forward-button-tooltip"> |
1082 | 617 |
+ <description class="tooltip-label" value="&forwardButton.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
618 |
+#ifdef XP_MACOSX |
1082 | 619 |
+ <description class="tooltip-label" value="&backForwardButtonMenuMac.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
620 |
+#else |
1082 | 621 |
+ <description class="tooltip-label" value="&backForwardButtonMenu.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
622 |
+#endif |
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
623 |
+ </tooltip> |
612 | 624 |
+ |
662 | 625 |
+#include popup-notifications.inc |
637
73640b76d6c3
first building version of FF21
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
612
diff
changeset
|
626 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
627 |
+#include ../../components/customizableui/content/panelUI.inc.xul |
1097 | 628 |
+#include ../../components/controlcenter/content/identityPanel.inc.xul |
629 |
+#include ../../components/controlcenter/content/protectionsPanel.inc.xul |
|
1045 | 630 |
+#include ../../components/downloads/content/downloadsPanel.inc.xul |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
631 |
+#include browser-allTabsMenu.inc.xul |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
632 |
+ |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
633 |
+ <hbox id="downloads-animation-container" mousethrough="always"> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
634 |
+ <vbox id="downloads-notification-anchor" hidden="true"> |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
635 |
+ <vbox id="downloads-indicator-notification"/> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
636 |
+ </vbox> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
637 |
+ </hbox> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
638 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
639 |
+ <tooltip id="dynamic-shortcut-tooltip" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
640 |
+ onpopupshowing="UpdateDynamicShortcutTooltipText(this);"/> |
916 | 641 |
+ |
642 |
+ <menupopup id="SyncedTabsSidebarContext"> |
|
1097 | 643 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-open" |
923 | 644 |
+ id="syncedTabsOpenSelected" where="current"/> |
1097 | 645 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-open-in-new-tab" |
923 | 646 |
+ id="syncedTabsOpenSelectedInTab" where="tab"/> |
1097 | 647 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-open-in-new-window" |
923 | 648 |
+ id="syncedTabsOpenSelectedInWindow" where="window"/> |
1097 | 649 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-open-in-new-private-window" |
923 | 650 |
+ id="syncedTabsOpenSelectedInPrivateWindow" where="window" private="true"/> |
651 |
+ <menuseparator/> |
|
1097 | 652 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-bookmark-single-tab" |
916 | 653 |
+ id="syncedTabsBookmarkSelected"/> |
1097 | 654 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-copy" |
923 | 655 |
+ id="syncedTabsCopySelected"/> |
916 | 656 |
+ <menuseparator/> |
1097 | 657 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-open-all-in-tabs" |
955
55662cbdb950
update KDE variants for UI
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
953
diff
changeset
|
658 |
+ id="syncedTabsOpenAllInTabs"/> |
1097 | 659 |
+ <menuitem data-lazy-l10n-id="synced-tabs-context-manage-devices" |
985 | 660 |
+ id="syncedTabsManageDevices" |
661 |
+ oncommand="gSync.openDevicesManagementPage('syncedtabs-sidebar');"/> |
|
916 | 662 |
+ <menuitem label="&syncSyncNowItem.label;" |
663 |
+ accesskey="&syncSyncNowItem.accesskey;" |
|
664 |
+ id="syncedTabsRefresh"/> |
|
665 |
+ </menupopup> |
|
666 |
+ <menupopup id="SyncedTabsSidebarTabsFilterContext" |
|
667 |
+ class="textbox-contextmenu"> |
|
668 |
+ <menuitem label="&undoCmd.label;" |
|
669 |
+ accesskey="&undoCmd.accesskey;" |
|
670 |
+ cmd="cmd_undo"/> |
|
671 |
+ <menuseparator/> |
|
672 |
+ <menuitem label="&cutCmd.label;" |
|
673 |
+ accesskey="&cutCmd.accesskey;" |
|
674 |
+ cmd="cmd_cut"/> |
|
675 |
+ <menuitem label="©Cmd.label;" |
|
676 |
+ accesskey="©Cmd.accesskey;" |
|
677 |
+ cmd="cmd_copy"/> |
|
678 |
+ <menuitem label="&pasteCmd.label;" |
|
679 |
+ accesskey="&pasteCmd.accesskey;" |
|
680 |
+ cmd="cmd_paste"/> |
|
681 |
+ <menuitem label="&deleteCmd.label;" |
|
682 |
+ accesskey="&deleteCmd.accesskey;" |
|
683 |
+ cmd="cmd_delete"/> |
|
684 |
+ <menuseparator/> |
|
685 |
+ <menuitem label="&selectAllCmd.label;" |
|
686 |
+ accesskey="&selectAllCmd.accesskey;" |
|
687 |
+ cmd="cmd_selectAll"/> |
|
688 |
+ <menuseparator/> |
|
689 |
+ <menuitem label="&syncSyncNowItem.label;" |
|
690 |
+ accesskey="&syncSyncNowItem.accesskey;" |
|
691 |
+ id="syncedTabsRefreshFilter"/> |
|
692 |
+ </menupopup> |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
693 |
+ |
1097 | 694 |
+ <hbox id="statuspanel" inactive="true" renderroot="content"> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
695 |
+ <hbox id="statuspanel-inner"> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
696 |
+ <label id="statuspanel-label" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
697 |
+ role="status" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
698 |
+ aria-live="off" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
699 |
+ flex="1" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
700 |
+ crop="end"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
701 |
+ </hbox> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
702 |
+ </hbox> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
703 |
+ </popupset> |
985 | 704 |
+ <box id="appMenu-viewCache" hidden="true"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
705 |
+ |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
706 |
+ <toolbox id="navigator-toolbox"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
707 |
+ |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
708 |
+ <vbox id="titlebar"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
709 |
+ <!-- Menu --> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
710 |
+ <toolbar type="menubar" id="toolbar-menubar" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
711 |
+ class="browser-toolbar chromeclass-menubar titlebar-color" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
712 |
+ customizable="true" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
713 |
+ mode="icons" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
714 |
+#ifdef MENUBAR_CAN_AUTOHIDE |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
715 |
+ toolbarname="&menubarCmd.label;" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
716 |
+ accesskey="&menubarCmd.accesskey;" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
717 |
+ autohide="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
718 |
+#endif |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
719 |
+ context="toolbar-context-menu"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
720 |
+ <toolbaritem id="menubar-items" align="center"> |
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
721 |
+# The entire main menubar is placed into browser-menubar.inc, so that it can be |
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
722 |
+# shared with other top level windows in macWindow.inc.xul. |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
723 |
+#include browser-menubar.inc |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
724 |
+ </toolbaritem> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
725 |
+ <spacer flex="1" skipintoolbarset="true" ordinal="1000"/> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
726 |
+#include titlebar-items.inc.xul |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
727 |
+ </toolbar> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
728 |
+ |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
729 |
+ <toolbar id="TabsToolbar" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
730 |
+ class="browser-toolbar titlebar-color" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
731 |
+ fullscreentoolbar="true" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
732 |
+ customizable="true" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
733 |
+ customizationtarget="TabsToolbar-customization-target" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
734 |
+ mode="icons" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
735 |
+ aria-label="&tabsToolbar.label;" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
736 |
+ context="toolbar-context-menu" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
737 |
+ flex="1"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
738 |
+ |
1089 | 739 |
+ <hbox class="titlebar-spacer" type="pre-tabs"/> |
740 |
+ |
|
741 |
+ <hbox flex="1" align="end" class="toolbar-items"> |
|
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
742 |
+ <hbox id="TabsToolbar-customization-target" flex="1"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
743 |
+ <tabs id="tabbrowser-tabs" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
744 |
+ flex="1" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
745 |
+ setfocus="false" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
746 |
+ tooltip="tabbrowser-tab-tooltip" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
747 |
+ stopwatchid="FX_TAB_CLICK_MS"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
748 |
+ <tab class="tabbrowser-tab" selected="true" visuallyselected="true" fadein="true"/> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
749 |
+ </tabs> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
750 |
+ |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
751 |
+ <toolbarbutton id="new-tab-button" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
752 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
753 |
+ label="&tabCmd.label;" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
754 |
+ command="cmd_newNavigatorTab" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
755 |
+ onclick="checkForMiddleClick(this, event);" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
756 |
+ tooltip="dynamic-shortcut-tooltip" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
757 |
+ ondrop="newTabButtonObserver.onDrop(event)" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
758 |
+ ondragover="newTabButtonObserver.onDragOver(event)" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
759 |
+ ondragenter="newTabButtonObserver.onDragOver(event)" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
760 |
+ ondragexit="newTabButtonObserver.onDragExit(event)" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
761 |
+ cui-areatype="toolbar" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
762 |
+ removable="true"/> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
763 |
+ |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
764 |
+ <toolbarbutton id="alltabs-button" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
765 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional tabs-alltabs-button badged-button" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
766 |
+ oncommand="gTabsPanel.showAllTabsPanel();" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
767 |
+ label="&listAllTabs.label;" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
768 |
+ tooltiptext="&listAllTabs.label;" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
769 |
+ removable="false"/> |
1089 | 770 |
+ </hbox> |
771 |
+ </hbox> |
|
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
772 |
+ |
1089 | 773 |
+ <hbox class="titlebar-spacer" type="post-tabs"/> |
211
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
774 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
775 |
+#ifndef XP_MACOSX |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
776 |
+ <button class="accessibility-indicator" tooltiptext="&accessibilityIndicator.tooltip;" |
1089 | 777 |
+ aria-live="polite"/> |
778 |
+ <hbox class="private-browsing-indicator"/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
779 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
780 |
+ |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
781 |
+#include titlebar-items.inc.xul |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
782 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
783 |
+#ifdef XP_MACOSX |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
784 |
+ <!-- OS X does not natively support RTL for its titlebar items, so we prevent this secondary |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
785 |
+ buttonbox from reversing order in RTL by forcing an LTR direction. --> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
786 |
+ <hbox id="titlebar-secondary-buttonbox" dir="ltr"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
787 |
+ <button class="accessibility-indicator" tooltiptext="&accessibilityIndicator.tooltip;" aria-live="polite"/> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
788 |
+ <hbox class="private-browsing-indicator"/> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
789 |
+ <hbox id="titlebar-fullscreen-button"/> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
790 |
+ </hbox> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
791 |
+#endif |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
792 |
+ </toolbar> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
793 |
+ |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
794 |
+ </vbox> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
795 |
+ |
837 | 796 |
+ <toolbar id="nav-bar" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
797 |
+ class="browser-toolbar" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
798 |
+ aria-label="&navbarCmd.label;" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
799 |
+ fullscreentoolbar="true" mode="icons" customizable="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
800 |
+ customizationtarget="nav-bar-customization-target" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
801 |
+ overflowable="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
802 |
+ overflowbutton="nav-bar-overflow-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
803 |
+ overflowtarget="widget-overflow-list" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
804 |
+ overflowpanel="widget-overflow" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
805 |
+ context="toolbar-context-menu"> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
806 |
+ |
1093 | 807 |
+ <toolbartabstop/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
808 |
+ <hbox id="nav-bar-customization-target" flex="1"> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
809 |
+ <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
810 |
+ label="&backCmd.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
811 |
+ removable="false" overflows="false" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
812 |
+ keepbroadcastattributeswhencustomizing="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
813 |
+ command="Browser:BackOrBackDuplicate" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
814 |
+ onclick="checkForMiddleClick(this, event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
815 |
+ tooltip="back-button-tooltip" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
816 |
+ context="backForwardMenu"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
817 |
+ <toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
818 |
+ label="&forwardCmd.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
819 |
+ removable="false" overflows="false" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
820 |
+ keepbroadcastattributeswhencustomizing="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
821 |
+ command="Browser:ForwardOrForwardDuplicate" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
822 |
+ onclick="checkForMiddleClick(this, event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
823 |
+ tooltip="forward-button-tooltip" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
824 |
+ context="backForwardMenu"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
825 |
+ <toolbaritem id="stop-reload-button" class="chromeclass-toolbar-additional" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
826 |
+ title="&reloadCmd.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
827 |
+ removable="true" overflows="false"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
828 |
+ <toolbarbutton id="reload-button" class="toolbarbutton-1" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
829 |
+ label="&reloadCmd.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
830 |
+ command="Browser:ReloadOrDuplicate" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
831 |
+ onclick="checkForMiddleClick(this, event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
832 |
+ tooltip="dynamic-shortcut-tooltip"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
833 |
+ <box class="toolbarbutton-animatable-box"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
834 |
+ <image class="toolbarbutton-animatable-image"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
835 |
+ </box> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
836 |
+ </toolbarbutton> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
837 |
+ <toolbarbutton id="stop-button" class="toolbarbutton-1" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
838 |
+ label="&stopCmd.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
839 |
+ command="Browser:Stop" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
840 |
+ tooltip="dynamic-shortcut-tooltip"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
841 |
+ <box class="toolbarbutton-animatable-box"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
842 |
+ <image class="toolbarbutton-animatable-image"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
843 |
+ </box> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
844 |
+ </toolbarbutton> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
845 |
+ </toolbaritem> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
846 |
+ <toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
847 |
+ removable="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
848 |
+ label="&homeButton.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
849 |
+ ondragover="homeButtonObserver.onDragOver(event)" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
850 |
+ ondragenter="homeButtonObserver.onDragOver(event)" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
851 |
+ ondrop="homeButtonObserver.onDrop(event)" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
852 |
+ ondragexit="homeButtonObserver.onDragExit(event)" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
853 |
+ key="goHome" |
1082 | 854 |
+ onclick="BrowserHome(event);" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
855 |
+ cui-areatype="toolbar" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
856 |
+ tooltiptext="&homeButton.defaultPage.tooltip;"/> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
857 |
+ <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
858 |
+ <toolbaritem id="urlbar-container" flex="400" persist="width" |
899 | 859 |
+ removable="false" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
860 |
+ class="chromeclass-location" overflows="false"> |
1093 | 861 |
+ <toolbartabstop/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
862 |
+ <textbox id="urlbar" flex="1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
863 |
+ placeholder="&urlbar.placeholder2;" |
1046 | 864 |
+ defaultPlaceholder="&urlbar.placeholder2;" |
1045 | 865 |
+ focused="true" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
866 |
+ pageproxystate="invalid"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
867 |
+ <!-- Use onclick instead of normal popup= syntax since the popup |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
868 |
+ code fires onmousedown, and hence eats our favicon drag events. --> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
869 |
+ <box id="identity-box" role="button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
870 |
+ align="center" |
899 | 871 |
+ aria-label="&urlbar.viewSiteInfo.label;" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
872 |
+ onclick="gIdentityHandler.handleIdentityButtonEvent(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
873 |
+ onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
874 |
+ ondragstart="gIdentityHandler.onDragStart(event);"> |
904 | 875 |
+ <image id="identity-icon" |
876 |
+ consumeanchor="identity-box" |
|
877 |
+ onclick="PageProxyClickHandler(event);"/> |
|
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
878 |
+ <image id="sharing-icon" mousethrough="always"/> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
879 |
+ <box id="tracking-protection-icon-box" animationsenabled="true"> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
880 |
+ <image id="tracking-protection-icon"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
881 |
+ <box id="tracking-protection-icon-animatable-box" flex="1"> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
882 |
+ <image id="tracking-protection-icon-animatable-image" flex="1"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
883 |
+ </box> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
884 |
+ </box> |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
885 |
+ <box id="blocked-permissions-container" align="center"> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
886 |
+ <image data-permission-id="geo" class="blocked-permission-icon geo-icon" role="button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
887 |
+ tooltiptext="&urlbar.geolocationBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
888 |
+ <image data-permission-id="desktop-notification" class="blocked-permission-icon desktop-notification-icon" role="button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
889 |
+ tooltiptext="&urlbar.webNotificationsBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
890 |
+ <image data-permission-id="camera" class="blocked-permission-icon camera-icon" role="button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
891 |
+ tooltiptext="&urlbar.cameraBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
892 |
+ <image data-permission-id="microphone" class="blocked-permission-icon microphone-icon" role="button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
893 |
+ tooltiptext="&urlbar.microphoneBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
894 |
+ <image data-permission-id="screen" class="blocked-permission-icon screen-icon" role="button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
895 |
+ tooltiptext="&urlbar.screenBlocked.tooltip;"/> |
985 | 896 |
+ <image data-permission-id="persistent-storage" class="blocked-permission-icon persistent-storage-icon" role="button" |
897 |
+ tooltiptext="&urlbar.persistentStorageBlocked.tooltip;"/> |
|
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
898 |
+ <image data-permission-id="popup" class="blocked-permission-icon popup-icon" role="button" |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
899 |
+ tooltiptext="&urlbar.popupBlocked.tooltip;"/> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
900 |
+ <image data-permission-id="autoplay-media" class="blocked-permission-icon autoplay-media-icon" role="button" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
901 |
+ tooltiptext="&urlbar.autoplayMediaBlocked.tooltip;"/> |
1036 | 902 |
+ <image data-permission-id="canvas" class="blocked-permission-icon canvas-icon" role="button" |
903 |
+ tooltiptext="&urlbar.canvasBlocked.tooltip;"/> |
|
1045 | 904 |
+ <image data-permission-id="plugin:flash" class="blocked-permission-icon plugin-icon" role="button" |
905 |
+ tooltiptext="&urlbar.flashPluginBlocked.tooltip;"/> |
|
906 |
+ <image data-permission-id="midi" class="blocked-permission-icon midi-icon" role="button" |
|
907 |
+ tooltiptext="&urlbar.midiBlocked.tooltip;"/> |
|
1097 | 908 |
+ <image data-permission-id="install" class="blocked-permission-icon install-icon" role="button" |
909 |
+ tooltiptext="&urlbar.installBlocked.tooltip;"/> |
|
932 | 910 |
+ </box> |
911 |
+ <box id="notification-popup-box" |
|
912 |
+ hidden="true" |
|
994 | 913 |
+ onmouseover="document.getElementById('identity-box').classList.add('no-hover');" |
914 |
+ onmouseout="document.getElementById('identity-box').classList.remove('no-hover');" |
|
932 | 915 |
+ align="center"> |
916 |
+ <image id="default-notification-icon" class="notification-anchor-icon" role="button" |
|
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
917 |
+ tooltiptext="&urlbar.defaultNotificationAnchor.tooltip;"/> |
932 | 918 |
+ <image id="geo-notification-icon" class="notification-anchor-icon geo-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
919 |
+ tooltiptext="&urlbar.geolocationNotificationAnchor.tooltip;"/> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
920 |
+ <image id="autoplay-media-notification-icon" class="notification-anchor-icon autoplay-media-icon" role="button" |
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
921 |
+ tooltiptext="&urlbar.autoplayNotificationAnchor.tooltip;"/> |
932 | 922 |
+ <image id="addons-notification-icon" class="notification-anchor-icon install-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
923 |
+ tooltiptext="&urlbar.addonsNotificationAnchor.tooltip;"/> |
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
924 |
+ <image id="canvas-notification-icon" class="notification-anchor-icon" role="button" |
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
925 |
+ tooltiptext="&urlbar.canvasNotificationAnchor.tooltip;"/> |
932 | 926 |
+ <image id="indexedDB-notification-icon" class="notification-anchor-icon indexedDB-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
927 |
+ tooltiptext="&urlbar.indexedDBNotificationAnchor.tooltip;"/> |
932 | 928 |
+ <image id="password-notification-icon" class="notification-anchor-icon login-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
929 |
+ tooltiptext="&urlbar.passwordNotificationAnchor.tooltip;"/> |
985 | 930 |
+ <stack id="plugins-notification-icon" class="notification-anchor-icon" role="button" align="center" |
931 |
+ tooltiptext="&urlbar.pluginsNotificationAnchor.tooltip;"> |
|
932 |
+ <image class="plugin-icon" /> |
|
933 |
+ <image id="plugin-icon-badge" /> |
|
934 |
+ </stack> |
|
932 | 935 |
+ <image id="web-notifications-notification-icon" class="notification-anchor-icon desktop-notification-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
936 |
+ tooltiptext="&urlbar.webNotificationAnchor.tooltip;"/> |
932 | 937 |
+ <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon camera-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
938 |
+ tooltiptext="&urlbar.webRTCShareDevicesNotificationAnchor.tooltip;"/> |
932 | 939 |
+ <image id="webRTC-shareMicrophone-notification-icon" class="notification-anchor-icon microphone-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
940 |
+ tooltiptext="&urlbar.webRTCShareMicrophoneNotificationAnchor.tooltip;"/> |
932 | 941 |
+ <image id="webRTC-shareScreen-notification-icon" class="notification-anchor-icon screen-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
942 |
+ tooltiptext="&urlbar.webRTCShareScreenNotificationAnchor.tooltip;"/> |
932 | 943 |
+ <image id="servicesInstall-notification-icon" class="notification-anchor-icon service-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
944 |
+ tooltiptext="&urlbar.servicesNotificationAnchor.tooltip;"/> |
932 | 945 |
+ <image id="translate-notification-icon" class="notification-anchor-icon translation-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
946 |
+ tooltiptext="&urlbar.translateNotificationAnchor.tooltip;"/> |
932 | 947 |
+ <image id="translated-notification-icon" class="notification-anchor-icon translation-icon in-use" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
948 |
+ tooltiptext="&urlbar.translatedNotificationAnchor.tooltip;"/> |
932 | 949 |
+ <image id="eme-notification-icon" class="notification-anchor-icon drm-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
950 |
+ tooltiptext="&urlbar.emeNotificationAnchor.tooltip;"/> |
985 | 951 |
+ <image id="persistent-storage-notification-icon" class="notification-anchor-icon persistent-storage-icon" role="button" |
952 |
+ tooltiptext="&urlbar.persistentStorageNotificationAnchor.tooltip;"/> |
|
1045 | 953 |
+ <image id="midi-notification-icon" class="notification-anchor-icon midi-icon" role="button" |
954 |
+ tooltiptext="&urlbar.midiNotificationAnchor.tooltip;"/> |
|
955 |
+ <image id="webauthn-notification-icon" class="notification-anchor-icon" role="button" |
|
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
956 |
+ tooltiptext="&urlbar.webAuthnAnchor.tooltip;"/> |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
957 |
+ <image id="storage-access-notification-icon" class="notification-anchor-icon storage-access-icon" role="button" |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
958 |
+ tooltiptext="&urlbar.storageAccessAnchor.tooltip;"/> |
932 | 959 |
+ </box> |
904 | 960 |
+ <image id="connection-icon"/> |
985 | 961 |
+ <image id="extension-icon"/> |
962 |
+ <image id="remote-control-icon" |
|
963 |
+ tooltiptext="&urlbar.remoteControlNotificationAnchor.tooltip;"/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
964 |
+ <hbox id="identity-icon-labels"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
965 |
+ <label id="identity-icon-label" class="plain" flex="1"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
966 |
+ <label id="identity-icon-country-label" class="plain"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
967 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
968 |
+ </box> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
969 |
+ <box id="urlbar-display-box" align="center"> |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
970 |
+ <label id="switchtab" class="urlbar-display urlbar-display-switchtab" value="&urlbar.switchToTab.label;"/> |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
971 |
+ <label id="extension" class="urlbar-display urlbar-display-extension" value="&urlbar.extension.label;"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
972 |
+ </box> |
1020
d2c159cb9bf2
rebased patches; updated spec file
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1007
diff
changeset
|
973 |
+ <hbox id="page-action-buttons" context="pageActionContextMenu"> |
1093 | 974 |
+ <toolbartabstop/> |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
975 |
+ <hbox id="contextual-feature-recommendation" role="button" hidden="true"> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
976 |
+ <hbox id="cfr-label-container"> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
977 |
+ <label id="cfr-label"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
978 |
+ </hbox> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
979 |
+ <image id="cfr-button" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
980 |
+ class="urlbar-icon urlbar-page-action" |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
981 |
+ role="presentation"/> |
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
982 |
+ </hbox> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
983 |
+ <hbox id="userContext-icons" hidden="true"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
984 |
+ <label id="userContext-label"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
985 |
+ <image id="userContext-indicator"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
986 |
+ </hbox> |
850 | 987 |
+ <image id="reader-mode-button" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
988 |
+ class="urlbar-icon urlbar-page-action" |
1045 | 989 |
+ tooltip="dynamic-shortcut-tooltip" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
990 |
+ role="button" |
850 | 991 |
+ hidden="true" |
992 |
+ onclick="ReaderParent.buttonClick(event);"/> |
|
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
993 |
+ <toolbarbutton id="urlbar-zoom-button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
994 |
+ onclick="FullZoom.reset();" |
985 | 995 |
+ tooltip="dynamic-shortcut-tooltip" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
996 |
+ hidden="true"/> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
997 |
+ <box id="pageActionSeparator" class="urlbar-page-action"/> |
994 | 998 |
+ <image id="pageActionButton" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
999 |
+ class="urlbar-icon urlbar-page-action" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1000 |
+ role="button" |
994 | 1001 |
+ tooltiptext="&pageActionButton.tooltip;" |
1089 | 1002 |
+ onmousedown="BrowserPageActions.mainButtonClicked(event);" |
1003 |
+ onkeypress="BrowserPageActions.mainButtonClicked(event);"/> |
|
1004 |
+ <hbox id="pocket-button-box" |
|
1005 |
+ hidden="true" |
|
1006 |
+ class="urlbar-icon-wrapper urlbar-page-action" |
|
1007 |
+ onclick="BrowserPageActions.doCommandForAction(PageActions.actionForID('pocket'), event, this);"> |
|
1008 |
+ <image id="pocket-button" |
|
1009 |
+ class="urlbar-icon" |
|
1010 |
+ tooltiptext="&pocketButton.tooltiptext;" |
|
1011 |
+ role="button"/> |
|
1012 |
+ <hbox id="pocket-button-animatable-box"> |
|
1013 |
+ <image id="pocket-button-animatable-image" |
|
1014 |
+ tooltiptext="&pocketButton.tooltiptext;" |
|
1015 |
+ role="presentation"/> |
|
1016 |
+ </hbox> |
|
1017 |
+ </hbox> |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1018 |
+ <hbox id="star-button-box" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1019 |
+ hidden="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1020 |
+ class="urlbar-icon-wrapper urlbar-page-action" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1021 |
+ onclick="BrowserPageActions.doCommandForAction(PageActions.actionForID('bookmark'), event, this);"> |
994 | 1022 |
+ <image id="star-button" |
1023 |
+ class="urlbar-icon" |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1024 |
+ role="button"/> |
994 | 1025 |
+ <hbox id="star-button-animatable-box"> |
1026 |
+ <image id="star-button-animatable-image" |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1027 |
+ role="presentation"/> |
994 | 1028 |
+ </hbox> |
1029 |
+ </hbox> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1030 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1031 |
+ </textbox> |
1093 | 1032 |
+ <toolbartabstop/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1033 |
+ </toolbaritem> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1034 |
+ |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1035 |
+ <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1036 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1037 |
+ <!-- This is a placeholder for the Downloads Indicator. It is visible |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1038 |
+ during the customization of the toolbar, in the palette, and before |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1039 |
+ the Downloads Indicator overlay is loaded. --> |
923 | 1040 |
+ <toolbarbutton id="downloads-button" |
1041 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional badged-button" |
|
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1042 |
+ key="key_openDownloads" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1043 |
+ onmousedown="DownloadsIndicatorView.onCommand(event);" |
1093 | 1044 |
+ onkeypress="DownloadsIndicatorView.onCommand(event);" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1045 |
+ ondrop="DownloadsIndicatorView.onDrop(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1046 |
+ ondragover="DownloadsIndicatorView.onDragOver(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1047 |
+ ondragenter="DownloadsIndicatorView.onDragOver(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1048 |
+ label="&downloads.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1049 |
+ removable="true" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1050 |
+ overflows="false" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1051 |
+ cui-areatype="toolbar" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1052 |
+ hidden="true" |
1045 | 1053 |
+ tooltip="dynamic-shortcut-tooltip" |
1054 |
+ indicator="true"> |
|
1055 |
+ <!-- The panel's anchor area is smaller than the outer button, but must |
|
1056 |
+ always be visible and must not move or resize when the indicator |
|
1057 |
+ state changes, otherwise the panel could change its position or lose |
|
1058 |
+ its arrow unexpectedly. --> |
|
1059 |
+ <stack id="downloads-indicator-anchor" |
|
1060 |
+ consumeanchor="downloads-button"> |
|
1061 |
+ <box id="downloads-indicator-icon"/> |
|
1062 |
+ <stack id="downloads-indicator-progress-outer"> |
|
1063 |
+ <box id="downloads-indicator-progress-inner"/> |
|
1064 |
+ </stack> |
|
1065 |
+ </stack> |
|
1066 |
+ </toolbarbutton> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1067 |
+ |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1068 |
+ <toolbarbutton id="library-button" class="toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav" |
889 | 1069 |
+ removable="true" |
1036 | 1070 |
+ onmousedown="PanelUI.showSubView('appMenu-libraryView', this, event);" |
1089 | 1071 |
+ onkeypress="PanelUI.showSubView('appMenu-libraryView', this, event);" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1072 |
+ closemenu="none" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1073 |
+ cui-areatype="toolbar" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1074 |
+ tooltiptext="&libraryButton.tooltip;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1075 |
+ label="&places.library.title;"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1076 |
+ |
1093 | 1077 |
+ <toolbarbutton id="fxa-toolbar-menu-button" class="toolbarbutton-1 badged-button chromeclass-toolbar-additional subviewbutton-nav" |
1078 |
+ onmousedown="gSync.toggleAccountPanel('PanelUI-fxa', event)" |
|
1079 |
+ onkeypress="gSync.toggleAccountPanel('PanelUI-fxa', event)" |
|
1080 |
+ consumeanchor="fxa-toolbar-menu-button" |
|
1081 |
+ closemenu="none" |
|
1082 |
+ label="&fxa.menu.firefoxAccount;" |
|
1083 |
+ tooltiptext="&fxa.menu.firefoxAccount;" |
|
1084 |
+ cui-areatype="toolbar" |
|
1085 |
+ removable="true"> |
|
1086 |
+ <vbox> |
|
1087 |
+ <image id="fxa-avatar-image"/> |
|
1088 |
+ </vbox> |
|
1089 |
+ </toolbarbutton> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1090 |
+ </hbox> |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1091 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1092 |
+ <toolbarbutton id="nav-bar-overflow-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1093 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1094 |
+ skipintoolbarset="true" |
994 | 1095 |
+ tooltiptext="&navbarOverflow.label;"> |
1096 |
+ <box class="toolbarbutton-animatable-box"> |
|
1097 |
+ <image class="toolbarbutton-animatable-image"/> |
|
1098 |
+ </box> |
|
1099 |
+ </toolbarbutton> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1100 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1101 |
+ <toolbaritem id="PanelUI-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1102 |
+ removable="false"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1103 |
+ <toolbarbutton id="PanelUI-menu-button" |
885 | 1104 |
+ class="toolbarbutton-1 badged-button" |
766 | 1105 |
+ consumeanchor="PanelUI-button" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1106 |
+ label="&brandShortName;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1107 |
+ tooltiptext="&appmenu.tooltip;"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1108 |
+ </toolbaritem> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1109 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1110 |
+ <hbox id="window-controls" hidden="true" pack="end" skipintoolbarset="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1111 |
+ ordinal="1000"> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1112 |
+ <toolbarbutton id="minimize-button" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1113 |
+ tooltiptext="&fullScreenMinimize.tooltip;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1114 |
+ oncommand="window.minimize();"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1115 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1116 |
+ <toolbarbutton id="restore-button" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1117 |
+#ifdef XP_MACOSX |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1118 |
+# Prior to 10.7 there wasn't a native fullscreen button so we use #restore-button |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1119 |
+# to exit fullscreen and want it to behave like other toolbar buttons. |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1120 |
+ class="toolbarbutton-1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1121 |
+#endif |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1122 |
+ tooltiptext="&fullScreenRestore.tooltip;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1123 |
+ oncommand="BrowserFullScreen();"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1124 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1125 |
+ <toolbarbutton id="close-button" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1126 |
+ tooltiptext="&fullScreenClose.tooltip;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1127 |
+ oncommand="BrowserTryToCloseWindow();"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1128 |
+ </hbox> |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
1129 |
+ |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
1130 |
+ <box id="library-animatable-box" class="toolbarbutton-animatable-box"> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
1131 |
+ <image class="toolbarbutton-animatable-image"/> |
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
1132 |
+ </box> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1133 |
+ </toolbar> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1134 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1135 |
+ <toolbar id="PersonalToolbar" |
1036 | 1136 |
+ mode="icons" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1137 |
+ class="browser-toolbar chromeclass-directories" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1138 |
+ context="toolbar-context-menu" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1139 |
+ toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1140 |
+ collapsed="true" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1141 |
+ customizable="true"> |
1093 | 1142 |
+ <toolbartabstop skipintoolbarset="true"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1143 |
+ <toolbaritem id="personal-bookmarks" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1144 |
+ title="&bookmarksToolbarItem.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1145 |
+ cui-areatype="toolbar" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1146 |
+ removable="true"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1147 |
+ <toolbarbutton id="bookmarks-toolbar-placeholder" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1148 |
+ class="bookmark-item" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1149 |
+ label="&bookmarksToolbarItem.label;"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1150 |
+ <toolbarbutton id="bookmarks-toolbar-button" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1151 |
+ class="toolbarbutton-1" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1152 |
+ flex="1" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1153 |
+ label="&bookmarksToolbarItem.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1154 |
+ oncommand="PlacesToolbarHelper.onPlaceholderCommand();"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1155 |
+ <hbox flex="1" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1156 |
+ id="PlacesToolbar" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1157 |
+ context="placesContext" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1158 |
+ onmouseup="BookmarksEventHandler.onMouseUp(event);" |
226
6bf3bb4c115e
update for 2.0b11/4.0b11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
223
diff
changeset
|
1159 |
+ onclick="BookmarksEventHandler.onClick(event, this._placesView);" |
994 | 1160 |
+ oncommand="BookmarksEventHandler.onCommand(event);" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1161 |
+ tooltip="bhTooltip" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1162 |
+ popupsinherittooltip="true"> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1163 |
+ <hbox flex="1"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1164 |
+ <hbox id="PlacesToolbarDropIndicatorHolder" align="center" collapsed="true"> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1165 |
+ <image id="PlacesToolbarDropIndicator" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1166 |
+ mousethrough="always" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1167 |
+ collapsed="true"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1168 |
+ </hbox> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1169 |
+ <scrollbox orient="horizontal" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1170 |
+ id="PlacesToolbarItems" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1171 |
+ flex="1"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1172 |
+ <toolbarbutton type="menu" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1173 |
+ id="PlacesChevron" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1174 |
+ class="toolbarbutton-1" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1175 |
+ mousethrough="never" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1176 |
+ collapsed="true" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1177 |
+ tooltiptext="&bookmarksToolbarChevron.tooltip;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1178 |
+ onpopupshowing="document.getElementById('PlacesToolbar') |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1179 |
+ ._placesView._onChevronPopupShowing(event);"> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1180 |
+ <menupopup id="PlacesChevronPopup" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1181 |
+ placespopup="true" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1182 |
+ tooltip="bhTooltip" popupsinherittooltip="true" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1183 |
+ context="placesContext"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1184 |
+ </toolbarbutton> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1185 |
+ </hbox> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1186 |
+ </hbox> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1187 |
+ </toolbaritem> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1188 |
+ </toolbar> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1189 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1190 |
+ <toolbarpalette id="BrowserToolbarPalette"> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1191 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1192 |
+ <toolbarbutton id="print-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1193 |
+#ifdef XP_MACOSX |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1194 |
+ command="cmd_print" |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1195 |
+ tooltip="dynamic-shortcut-tooltip" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1196 |
+#else |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1197 |
+ command="cmd_printPreview" |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1198 |
+ tooltiptext="&printButton.tooltip;" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1199 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1200 |
+ label="&printButton.label;"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1201 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1202 |
+ |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1203 |
+ <toolbarbutton id="new-window-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1204 |
+ label="&newNavigatorCmd.label;" |
985 | 1205 |
+ command="cmd_newNavigator" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1206 |
+ tooltip="dynamic-shortcut-tooltip" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1207 |
+ ondrop="newWindowButtonObserver.onDrop(event)" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1208 |
+ ondragover="newWindowButtonObserver.onDragOver(event)" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1209 |
+ ondragenter="newWindowButtonObserver.onDragOver(event)" |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
1210 |
+ ondragexit="newWindowButtonObserver.onDragExit(event)"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1211 |
+ |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1212 |
+ <toolbarbutton id="fullscreen-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1213 |
+ observes="View:FullScreen" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1214 |
+ type="checkbox" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1215 |
+ label="&fullScreenCmd.label;" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1216 |
+ tooltip="dynamic-shortcut-tooltip"/> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1217 |
+ |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1218 |
+ <toolbarbutton id="bookmarks-menu-button" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1219 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1220 |
+ type="menu" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1221 |
+ label="&bookmarksMenuButton2.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1222 |
+ tooltip="dynamic-shortcut-tooltip" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1223 |
+ anchor="dropmarker" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1224 |
+ ondragenter="PlacesMenuDNDHandler.onDragEnter(event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1225 |
+ ondragover="PlacesMenuDNDHandler.onDragOver(event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1226 |
+ ondragleave="PlacesMenuDNDHandler.onDragLeave(event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1227 |
+ ondrop="PlacesMenuDNDHandler.onDrop(event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1228 |
+ oncommand="BookmarkingUI.onCommand(event);"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1229 |
+ <menupopup id="BMB_bookmarksPopup" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1230 |
+ class="cui-widget-panel cui-widget-panelview cui-widget-panelWithFooter PanelUI-subView" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1231 |
+ placespopup="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1232 |
+ context="placesContext" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1233 |
+ openInTabs="children" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1234 |
+ side="top" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1235 |
+ onmouseup="BookmarksEventHandler.onMouseUp(event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1236 |
+ oncommand="BookmarksEventHandler.onCommand(event);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1237 |
+ onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1238 |
+ onpopupshowing="BookmarkingUI.onPopupShowing(event); |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1239 |
+ BookmarkingUI.attachPlacesView(event, this);" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1240 |
+ tooltip="bhTooltip" popupsinherittooltip="true"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1241 |
+ <menuitem id="BMB_viewBookmarksSidebar" |
1046 | 1242 |
+ class="menuitem-iconic subviewbutton" |
1243 |
+ label-show="&viewBookmarksSidebar2.label;" |
|
1244 |
+ label-hide="&hideBookmarksSidebar.label;" |
|
1245 |
+ oncommand="SidebarUI.toggle('viewBookmarksSidebar');"/> |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1246 |
+ <!-- NB: temporary solution for bug 985024, this should go away soon. --> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1247 |
+ <menuitem id="BMB_bookmarksShowAllTop" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1248 |
+ class="menuitem-iconic subviewbutton" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1249 |
+ label="&showAllBookmarks2.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1250 |
+ command="Browser:ShowAllBookmarks" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1251 |
+ key="manBookmarkKb"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1252 |
+ <menuseparator/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1253 |
+ <menu id="BMB_bookmarksToolbar" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1254 |
+ class="menu-iconic bookmark-item subviewbutton" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1255 |
+ label="&personalbarCmd.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1256 |
+ container="true"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1257 |
+ <menupopup id="BMB_bookmarksToolbarPopup" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1258 |
+ placespopup="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1259 |
+ context="placesContext" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1260 |
+ onpopupshowing="if (!this.parentNode._placesView) |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
1261 |
+ new PlacesMenu(event, `place:parent=${PlacesUtils.bookmarks.toolbarGuid}`, |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1262 |
+ PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1263 |
+ <menuitem id="BMB_viewBookmarksToolbar" |
1046 | 1264 |
+ class="menuitem-iconic subviewbutton" |
1265 |
+ label-show="&viewBookmarksToolbar.label;" |
|
1266 |
+ label-hide="&hideBookmarksToolbar.label;" |
|
1267 |
+ oncommand="BookmarkingUI.toggleBookmarksToolbar();"/> |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1268 |
+ <menuseparator/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1269 |
+ <!-- Bookmarks toolbar items --> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1270 |
+ </menupopup> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1271 |
+ </menu> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1272 |
+ <menu id="BMB_unsortedBookmarks" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1273 |
+ class="menu-iconic bookmark-item subviewbutton" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1274 |
+ label="&bookmarksMenuButton.other.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1275 |
+ container="true"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1276 |
+ <menupopup id="BMB_unsortedBookmarksPopup" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1277 |
+ placespopup="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1278 |
+ context="placesContext" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1279 |
+ onpopupshowing="if (!this.parentNode._placesView) |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
1280 |
+ new PlacesMenu(event, `place:parent=${PlacesUtils.bookmarks.unfiledGuid}`, |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1281 |
+ PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1282 |
+ </menu> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1283 |
+ <menu id="BMB_mobileBookmarks" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1284 |
+ class="menu-iconic bookmark-item subviewbutton" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1285 |
+ label="&bookmarksMenuButton.mobile.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1286 |
+ hidden="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1287 |
+ container="true"> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1288 |
+ <menupopup id="BMB_mobileBookmarksPopup" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1289 |
+ placespopup="true" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1290 |
+ context="placesContext" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1291 |
+ onpopupshowing="if (!this.parentNode._placesView) |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
1292 |
+ new PlacesMenu(event, `place:parent=${PlacesUtils.bookmarks.mobileGuid}`, |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1293 |
+ PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1294 |
+ </menu> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1295 |
+ |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1296 |
+ <menuseparator/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1297 |
+ <!-- Bookmarks menu items will go here --> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1298 |
+ <menuitem id="BMB_bookmarksShowAll" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1299 |
+ class="subviewbutton panel-subview-footer" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1300 |
+ label="&showAllBookmarks2.label;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1301 |
+ command="Browser:ShowAllBookmarks" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1302 |
+ key="manBookmarkKb"/> |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1303 |
+ </menupopup> |
994 | 1304 |
+ </toolbarbutton> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1305 |
+ |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1306 |
+ <toolbaritem id="search-container" |
1036 | 1307 |
+ class="chromeclass-toolbar-additional" |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1308 |
+ title="&searchItem.title;" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1309 |
+ align="center" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1310 |
+ flex="100" |
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1311 |
+ persist="width"> |
1093 | 1312 |
+ <toolbartabstop/> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1313 |
+ <searchbar id="searchbar" flex="1"/> |
1093 | 1314 |
+ <toolbartabstop/> |
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1315 |
+ </toolbaritem> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1316 |
+ </toolbarpalette> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1317 |
+ </toolbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1318 |
+ |
817 | 1319 |
+ <hbox id="fullscr-toggler" hidden="true"/> |
612 | 1320 |
+ |
1097 | 1321 |
+ <deck id="content-deck" flex="1" renderroot="content"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1322 |
+ <hbox flex="1" id="browser"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1323 |
+ <vbox id="browser-border-start" hidden="true" layer="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1324 |
+ <vbox id="sidebar-box" hidden="true" class="chromeclass-extrachrome"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1325 |
+ <sidebarheader id="sidebar-header" align="center"> |
985 | 1326 |
+ <toolbarbutton id="sidebar-switcher-target" flex="1" class="tabbable"> |
1327 |
+ <image id="sidebar-icon" consumeanchor="sidebar-switcher-target"/> |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1328 |
+ <label id="sidebar-title" crop="end" flex="1" control="sidebar"/> |
985 | 1329 |
+ <image id="sidebar-switcher-arrow"/> |
1330 |
+ </toolbarbutton> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1331 |
+ <image id="sidebar-throbber"/> |
985 | 1332 |
+# To ensure the button label's intrinsic width doesn't expand the sidebar |
1333 |
+# if the label is long, the button needs flex=1. |
|
1334 |
+# To ensure the button doesn't expand unnecessarily for short labels, the |
|
1335 |
+# spacer should significantly out-flex the button. |
|
1336 |
+ <spacer flex="1000"/> |
|
1006
5ba9b67de554
full rebase incl. fixing KDE variants of UI definitions
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1005
diff
changeset
|
1337 |
+ <toolbarbutton id="sidebar-close" class="close-icon tabbable" tooltiptext="&sidebarCloseButton.tooltip;" oncommand="SidebarUI.hide();"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1338 |
+ </sidebarheader> |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1339 |
+ <browser id="sidebar" flex="1" autoscroll="false" disablehistory="true" disablefullscreen="true" |
850 | 1340 |
+ style="min-width: 14em; width: 18em; max-width: 36em;" tooltip="aHTMLTooltip"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1341 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1342 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1343 |
+ <splitter id="sidebar-splitter" class="chromeclass-extrachrome sidebar-splitter" hidden="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1344 |
+ <vbox id="appcontent" flex="1"> |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
1345 |
+ <!-- gHighPriorityNotificationBox will be added here lazily. --> |
1045 | 1346 |
+ <tabbox id="tabbrowser-tabbox" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1347 |
+ flex="1" tabcontainer="tabbrowser-tabs"> |
1068
70cd69cfa868
update KDE XUL variants
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1067
diff
changeset
|
1348 |
+ <tabpanels id="tabbrowser-tabpanels" |
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1349 |
+ flex="1" class="plain" selectedIndex="0"/> |
1045 | 1350 |
+ </tabbox> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1351 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1352 |
+ <vbox id="browser-border-end" hidden="true" layer="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1353 |
+ </hbox> |
1097 | 1354 |
+ <box id="customization-container" flex="1" hidden="true"><![CDATA[ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1355 |
+#include ../../components/customizableui/content/customizeMode.inc.xul |
1097 | 1356 |
+ ]]></box> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1357 |
+ </deck> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1358 |
+ |
1097 | 1359 |
+ <html:div id="fullscreen-warning" class="pointerlockfswarning" hidden="true" renderroot="content"> |
932 | 1360 |
+ <html:div class="pointerlockfswarning-domain-text"> |
889 | 1361 |
+ &fullscreenWarning.beforeDomain.label; |
932 | 1362 |
+ <html:span class="pointerlockfswarning-domain"/> |
889 | 1363 |
+ &fullscreenWarning.afterDomain.label; |
1364 |
+ </html:div> |
|
932 | 1365 |
+ <html:div class="pointerlockfswarning-generic-text"> |
889 | 1366 |
+ &fullscreenWarning.generic.label; |
1367 |
+ </html:div> |
|
1368 |
+ <html:button id="fullscreen-exit-button" |
|
1369 |
+ onclick="FullScreen.exitDomFullScreen();"> |
|
1370 |
+#ifdef XP_MACOSX |
|
1371 |
+ &exitDOMFullscreenMac.button; |
|
1372 |
+#else |
|
1373 |
+ &exitDOMFullscreen.button; |
|
1374 |
+#endif |
|
1375 |
+ </html:button> |
|
1376 |
+ </html:div> |
|
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1377 |
+ |
1097 | 1378 |
+ <html:div id="pointerlock-warning" class="pointerlockfswarning" hidden="true" renderroot="content"> |
932 | 1379 |
+ <html:div class="pointerlockfswarning-domain-text"> |
1380 |
+ &pointerlockWarning.beforeDomain.label; |
|
1381 |
+ <html:span class="pointerlockfswarning-domain"/> |
|
1382 |
+ &pointerlockWarning.afterDomain.label; |
|
1383 |
+ </html:div> |
|
1384 |
+ <html:div class="pointerlockfswarning-generic-text"> |
|
1385 |
+ &pointerlockWarning.generic.label; |
|
1386 |
+ </html:div> |
|
1387 |
+ </html:div> |
|
1388 |
+ |
|
1097 | 1389 |
+ <vbox id="browser-bottombox" layer="true" renderroot="content"> |
1085
87f893cf45b9
Firefox 65.0 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1082
diff
changeset
|
1390 |
+ <!-- gNotificationBox will be added here lazily. --> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1391 |
+ </vbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1392 |
+</window> |
1097 | 1393 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/base/jar.mn |
1394 |
--- a/browser/base/jar.mn Mon Jun 17 09:02:06 2019 +0200 |
|
1395 |
+++ b/browser/base/jar.mn Fri May 31 12:55:51 2019 +0200 |
|
1396 |
@@ -33,6 +33,8 @@ |
|
1397 |
#else |
|
1398 |
* content/browser/browser.xul (content/browser.xul) |
|
1074
4b99400f6d17
rebased patches and updated spec for 63.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1068
diff
changeset
|
1399 |
#endif |
961
4665fe34fbce
revert manually previously wrong rebases
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
960
diff
changeset
|
1400 |
+* content/browser/browser-kde.xul (content/browser-kde.xul) |
4665fe34fbce
revert manually previously wrong rebases
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
960
diff
changeset
|
1401 |
+% override chrome://browser/content/browser.xul chrome://browser/content/browser-kde.xul desktop=kde |
4665fe34fbce
revert manually previously wrong rebases
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
960
diff
changeset
|
1402 |
content/browser/browser-addons.js (content/browser-addons.js) |
1067 | 1403 |
content/browser/browser-allTabsMenu.js (content/browser-allTabsMenu.js) |
961
4665fe34fbce
revert manually previously wrong rebases
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
960
diff
changeset
|
1404 |
content/browser/browser-captivePortal.js (content/browser-captivePortal.js) |
1097 | 1405 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/components/preferences/in-content/main.js |
1406 |
--- a/browser/components/preferences/in-content/main.js Mon Jun 17 09:02:06 2019 +0200 |
|
1407 |
+++ b/browser/components/preferences/in-content/main.js Fri May 31 12:55:51 2019 +0200 |
|
1408 |
@@ -294,6 +294,13 @@ |
|
1005 | 1409 |
}, backoffTimes[this._backoffIndex]); |
952
8094e6bba260
rebased patches for 53.0b4
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
943
diff
changeset
|
1410 |
} |
985 | 1411 |
|
223 | 1412 |
+ var env = Components.classes["@mozilla.org/process/environment;1"] |
985 | 1413 |
+ .getService(Components.interfaces.nsIEnvironment); |
223 | 1414 |
+ var kde_session = 0; |
956 | 1415 |
+ if (env.get('KDE_FULL_SESSION') == "true") { |
985 | 1416 |
+ kde_session = 1; |
952
8094e6bba260
rebased patches for 53.0b4
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
943
diff
changeset
|
1417 |
+ } |
985 | 1418 |
+ |
1005 | 1419 |
this.initBrowserContainers(); |
985 | 1420 |
this.buildContentProcessCountMenuList(); |
916 | 1421 |
|
1097 | 1422 |
@@ -983,6 +990,17 @@ |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1423 |
return; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1424 |
try { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1425 |
shellSvc.setDefaultBrowser(true, false); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1426 |
+ if (kde_session == 1) { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1427 |
+ var shellObj = Components.classes["@mozilla.org/file/local;1"] |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1428 |
+ .createInstance(Components.interfaces.nsILocalFile); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1429 |
+ shellObj.initWithPath("/usr/bin/kwriteconfig"); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1430 |
+ var process = Components.classes["@mozilla.org/process/util;1"] |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1431 |
+ .createInstance(Components.interfaces.nsIProcess); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1432 |
+ process.init(shellObj); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1433 |
+ var args = ["--file", "kdeglobals", "--group", "General", "--key", |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1434 |
+ "BrowserApplication", "firefox"]; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1435 |
+ process.run(false, args, args.length); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1436 |
+ } |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1437 |
} catch (ex) { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1438 |
Cu.reportError(ex); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1439 |
return; |
1097 | 1440 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/components/shell/moz.build |
1441 |
--- a/browser/components/shell/moz.build Mon Jun 17 09:02:06 2019 +0200 |
|
1442 |
+++ b/browser/components/shell/moz.build Fri May 31 12:55:51 2019 +0200 |
|
1443 |
@@ -33,6 +33,8 @@ |
|
1089 | 1444 |
|
1057
b70ce330958c
successfull RPM build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1055
diff
changeset
|
1445 |
SOURCES += [ |
b70ce330958c
successfull RPM build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1055
diff
changeset
|
1446 |
'nsGNOMEShellService.cpp', |
923 | 1447 |
+ 'nsKDEShellService.cpp', |
1448 |
+ 'nsUnixShellService.cpp', |
|
659 | 1449 |
] |
1089 | 1450 |
elif CONFIG['OS_ARCH'] == 'WINNT': |
1451 |
SOURCES += [ |
|
1097 | 1452 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/components/shell/nsKDEShellService.cpp |
1453 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1454 |
+++ b/browser/components/shell/nsKDEShellService.cpp Fri May 31 12:55:51 2019 +0200 |
|
1089 | 1455 |
@@ -0,0 +1,150 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1456 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
548 | 1457 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1458 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1459 |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1460 |
+ |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1461 |
+#include "mozilla/ArrayUtils.h" |
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1462 |
+ |
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1463 |
+#include "nsCOMPtr.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1464 |
+#include "nsKDEShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1465 |
+#include "nsShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1466 |
+#include "nsKDEUtils.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1467 |
+#include "nsIPrefService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1468 |
+#include "nsIProcess.h" |
515 | 1469 |
+#include "nsIFile.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1470 |
+#include "nsServiceManagerUtils.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1471 |
+#include "nsComponentManagerUtils.h" |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1472 |
+#include "nsIMutableArray.h" |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1473 |
+#include "nsISupportsPrimitives.h" |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1474 |
+#include "nsArrayUtils.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1475 |
+ |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1476 |
+using namespace mozilla; |
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1477 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1478 |
+nsresult |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1479 |
+nsKDEShellService::Init() |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1480 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1481 |
+ if( !nsKDEUtils::kdeSupport()) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1482 |
+ return NS_ERROR_NOT_AVAILABLE; |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1483 |
+ return NS_OK; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1484 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1485 |
+ |
911 | 1486 |
+NS_IMPL_ISUPPORTS(nsKDEShellService, nsIGNOMEShellService, nsIShellService) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1487 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1488 |
+NS_IMETHODIMP |
1089 | 1489 |
+nsKDEShellService::IsDefaultBrowser(bool aForAllTypes, |
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1490 |
+ bool* aIsDefaultBrowser) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1491 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1492 |
+ *aIsDefaultBrowser = false; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1493 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1494 |
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1495 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1496 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1497 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1498 |
+ nsCOMPtr<nsISupportsCString> str = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1499 |
+ if (!str) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1500 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1501 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1502 |
+ str->SetData( NS_LITERAL_CSTRING( "ISDEFAULTBROWSER" )); |
1021
1307721d2345
fixed patches for FF58
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1020
diff
changeset
|
1503 |
+ command->AppendElement( str ); |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1504 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1505 |
+ if( nsKDEUtils::command( command )) |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1506 |
+ *aIsDefaultBrowser = true; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1507 |
+ return NS_OK; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1508 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1509 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1510 |
+NS_IMETHODIMP |
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1511 |
+nsKDEShellService::SetDefaultBrowser(bool aClaimAllTypes, |
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1512 |
+ bool aForAllUsers) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1513 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1514 |
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1515 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1516 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1517 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1518 |
+ nsCOMPtr<nsISupportsCString> cmdstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1519 |
+ nsCOMPtr<nsISupportsCString> paramstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1520 |
+ if (!cmdstr || !paramstr) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1521 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1522 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1523 |
+ cmdstr->SetData( NS_LITERAL_CSTRING( "SETDEFAULTBROWSER" )); |
1021
1307721d2345
fixed patches for FF58
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1020
diff
changeset
|
1524 |
+ command->AppendElement( cmdstr ); |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1525 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1526 |
+ paramstr->SetData( aClaimAllTypes ? NS_LITERAL_CSTRING( "ALLTYPES" ) : NS_LITERAL_CSTRING( "NORMAL" )); |
1021
1307721d2345
fixed patches for FF58
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1020
diff
changeset
|
1527 |
+ command->AppendElement( paramstr ); |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1528 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1529 |
+ return nsKDEUtils::command( command ) ? NS_OK : NS_ERROR_FAILURE; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1530 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1531 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1532 |
+NS_IMETHODIMP |
910
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1533 |
+nsKDEShellService::GetCanSetDesktopBackground(bool* aResult) |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1534 |
+{ |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1535 |
+ *aResult = true; |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1536 |
+ return NS_OK; |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1537 |
+} |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1538 |
+ |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1539 |
+NS_IMETHODIMP |
1057
b70ce330958c
successfull RPM build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1055
diff
changeset
|
1540 |
+nsKDEShellService::SetDesktopBackground(dom::Element* aElement, |
1007
65e317e42eff
fixed KDE custom code and replaced obsolete types
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1006
diff
changeset
|
1541 |
+ int32_t aPosition, |
65e317e42eff
fixed KDE custom code and replaced obsolete types
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1006
diff
changeset
|
1542 |
+ const nsACString& aImageName) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1543 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1544 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1545 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1546 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1547 |
+NS_IMETHODIMP |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1548 |
+nsKDEShellService::GetDesktopBackgroundColor(PRUint32 *aColor) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1549 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1550 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1551 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1552 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1553 |
+NS_IMETHODIMP |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1554 |
+nsKDEShellService::SetDesktopBackgroundColor(PRUint32 aColor) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1555 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1556 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1557 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1558 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1559 |
+NS_IMETHODIMP |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1560 |
+nsKDEShellService::OpenApplication(PRInt32 aApplication) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1561 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1562 |
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1563 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1564 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1565 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1566 |
+ nsCOMPtr<nsISupportsCString> str = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1567 |
+ if (!str) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1568 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1569 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1570 |
+ if( aApplication == APPLICATION_MAIL ) |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1571 |
+ str->SetData( NS_LITERAL_CSTRING( "OPENMAIL" )); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1572 |
+ else if( aApplication == APPLICATION_NEWS ) |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1573 |
+ str->SetData( NS_LITERAL_CSTRING( "OPENNEWS" )); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1574 |
+ else |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1575 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1576 |
+ |
1021
1307721d2345
fixed patches for FF58
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1020
diff
changeset
|
1577 |
+ command->AppendElement( str ); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1578 |
+ return nsKDEUtils::command( command ) ? NS_OK : NS_ERROR_FAILURE; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1579 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1580 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1581 |
+NS_IMETHODIMP |
515 | 1582 |
+nsKDEShellService::OpenApplicationWithURI(nsIFile* aApplication, const nsACString& aURI) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1583 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1584 |
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1585 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1586 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1587 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1588 |
+ nsCOMPtr<nsISupportsCString> cmdstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1589 |
+ nsCOMPtr<nsISupportsCString> appstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1590 |
+ nsCOMPtr<nsISupportsCString> uristr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1591 |
+ if (!cmdstr || !appstr || !uristr) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1592 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1593 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1594 |
+ cmdstr->SetData( NS_LITERAL_CSTRING( "RUN" )); |
1021
1307721d2345
fixed patches for FF58
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1020
diff
changeset
|
1595 |
+ command->AppendElement( cmdstr ); |
609 | 1596 |
+ nsAutoCString app; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1597 |
+ nsresult rv = aApplication->GetNativePath( app ); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1598 |
+ NS_ENSURE_SUCCESS( rv, rv ); |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1599 |
+ appstr->SetData( app ); |
1021
1307721d2345
fixed patches for FF58
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1020
diff
changeset
|
1600 |
+ command->AppendElement( appstr ); |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1601 |
+ uristr->SetData( aURI ); |
1021
1307721d2345
fixed patches for FF58
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1020
diff
changeset
|
1602 |
+ command->AppendElement( uristr ); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1603 |
+ return nsKDEUtils::command( command ) ? NS_OK : NS_ERROR_FAILURE; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1604 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1605 |
+ |
1097 | 1606 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/components/shell/nsKDEShellService.h |
1607 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1608 |
+++ b/browser/components/shell/nsKDEShellService.h Fri May 31 12:55:51 2019 +0200 |
|
1089 | 1609 |
@@ -0,0 +1,32 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1610 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
889 | 1611 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1612 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1613 |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1614 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1615 |
+#ifndef nskdeshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1616 |
+#define nskdeshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1617 |
+ |
911 | 1618 |
+#include "nsIGNOMEShellService.h" |
1089 | 1619 |
+#include "nsToolkitShellService.h" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1620 |
+#include "nsString.h" |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1621 |
+#include "mozilla/Attributes.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1622 |
+ |
1089 | 1623 |
+class nsKDEShellService final : public nsIGNOMEShellService, |
1624 |
+ public nsToolkitShellService |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1625 |
+{ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1626 |
+public: |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1627 |
+ nsKDEShellService() : mCheckedThisSession(false) { } |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1628 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1629 |
+ NS_DECL_ISUPPORTS |
1057
b70ce330958c
successfull RPM build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1055
diff
changeset
|
1630 |
+ NS_DECL_NSISHELLSERVICE |
911 | 1631 |
+ NS_DECL_NSIGNOMESHELLSERVICE |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1632 |
+ |
889 | 1633 |
+ nsresult Init(); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1634 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1635 |
+private: |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1636 |
+ ~nsKDEShellService() {} |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1637 |
+ |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1638 |
+ bool mCheckedThisSession; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1639 |
+}; |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1640 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1641 |
+#endif // nskdeshellservice_h____ |
1097 | 1642 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/components/shell/nsUnixShellService.cpp |
1643 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1644 |
+++ b/browser/components/shell/nsUnixShellService.cpp Fri May 31 12:55:51 2019 +0200 |
|
889 | 1645 |
@@ -0,0 +1,22 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1646 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
889 | 1647 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1648 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1649 |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
1650 |
+ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1651 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1652 |
+#include "nsUnixShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1653 |
+#include "nsGNOMEShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1654 |
+#include "nsKDEShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1655 |
+#include "nsKDEUtils.h" |
133
a77c32dc7ffd
Adopted KDE patch to compile with FF4
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
127
diff
changeset
|
1656 |
+#include "mozilla/ModuleUtils.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1657 |
+ |
136
0051f2b9308b
Fixed init of Shellservices
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
133
diff
changeset
|
1658 |
+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGNOMEShellService, Init) |
0051f2b9308b
Fixed init of Shellservices
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
133
diff
changeset
|
1659 |
+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsKDEShellService, Init) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1660 |
+ |
953 | 1661 |
+NS_IMETHODIMP |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1662 |
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1663 |
+{ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1664 |
+ if( nsKDEUtils::kdeSupport()) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1665 |
+ return nsKDEShellServiceConstructor( aOuter, aIID, aResult ); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1666 |
+ return nsGNOMEShellServiceConstructor( aOuter, aIID, aResult ); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1667 |
+} |
1097 | 1668 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/components/shell/nsUnixShellService.h |
1669 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
1670 |
+++ b/browser/components/shell/nsUnixShellService.h Fri May 31 12:55:51 2019 +0200 |
|
889 | 1671 |
@@ -0,0 +1,15 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1672 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
889 | 1673 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1674 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1675 |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
1676 |
+ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1677 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1678 |
+#ifndef nsunixshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1679 |
+#define nsunixshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1680 |
+ |
911 | 1681 |
+#include "nsIGNOMEShellService.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1682 |
+ |
953 | 1683 |
+NS_IMETHODIMP |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1684 |
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1685 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1686 |
+#endif // nsunixshellservice_h____ |
1097 | 1687 |
diff -r 428161c3b959 -r 54d41b0033b8 browser/installer/package-manifest.in |
1688 |
--- a/browser/installer/package-manifest.in Mon Jun 17 09:02:06 2019 +0200 |
|
1689 |
+++ b/browser/installer/package-manifest.in Fri May 31 12:55:51 2019 +0200 |
|
1690 |
@@ -299,6 +299,8 @@ |
|
612 | 1691 |
; gre location for now. |
828 | 1692 |
@RESPATH@/defaults/pref/channel-prefs.js |
985 | 1693 |
|
1055
526f445635f3
removed obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
1046
diff
changeset
|
1694 |
+@RESPATH@/defaults/pref/kde.js |
985 | 1695 |
+ |
612 | 1696 |
; Services (gre) prefs |
828 | 1697 |
@RESPATH@/defaults/pref/services-sync.js |
904 | 1698 |