author | Wolfgang Rosenauer <wr@rosenauer.org> |
Sun, 04 Jun 2017 09:48:10 +0200 | |
branch | firefox52 |
changeset 976 | 14640a79141f |
parent 943 | ace605efe50f |
child 952 | 8094e6bba260 |
permissions | -rw-r--r-- |
823 | 1 |
# HG changeset patch |
943 | 2 |
# Parent 1c4e33861cfcffe5a189802cf97957b0701260db |
823 | 3 |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
4 |
diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
5 |
new file mode 100644 |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
6 |
--- /dev/null |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
7 |
+++ b/browser/base/content/browser-kde.xul |
943 | 8 |
@@ -0,0 +1,1134 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
9 |
+#filter substitution |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
10 |
+<?xml version="1.0"?> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
11 |
+# -*- Mode: HTML -*- |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
12 |
+# |
479
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
13 |
+# 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
|
14 |
+# 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
|
15 |
+# 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
|
16 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
17 |
+<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
18 |
+<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
929 | 19 |
+<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?> |
909 | 20 |
+<?xml-stylesheet href="chrome://devtools/skin/devtools-browser.css" type="text/css"?> |
881 | 21 |
+<?xml-stylesheet href="chrome://browser/skin/controlcenter/panel.css" type="text/css"?> |
932 | 22 |
+<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUI.css" type="text/css"?> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
23 |
+<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
24 |
+<?xml-stylesheet href="chrome://browser/skin/browser-lightweightTheme.css" type="text/css"?> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
25 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
26 |
+<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
27 |
+<?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
28 |
+<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
29 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
30 |
+# 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
|
31 |
+# hiddenWindow.xul. |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
32 |
+#include browser-doctype.inc |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
33 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
34 |
+<window id="main-window" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
35 |
+ 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
|
36 |
+ xmlns:svg="http://www.w3.org/2000/svg" |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
37 |
+ xmlns:html="http://www.w3.org/1999/xhtml" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
38 |
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
515 | 39 |
+ onload="gBrowserInit.onLoad()" onunload="gBrowserInit.onUnload()" onclose="return WindowIsClosing();" |
703 | 40 |
+ title="&mainWindow.title;" |
41 |
+ title_normal="&mainWindow.title;" |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
42 |
+#ifdef XP_MACOSX |
703 | 43 |
+ title_privatebrowsing="&mainWindow.title;&mainWindow.titlemodifiermenuseparator;&mainWindow.titlePrivateBrowsingSuffix;" |
44 |
+ titledefault="&mainWindow.title;" |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
45 |
+ titlemodifier="" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
46 |
+ titlemodifier_normal="" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
47 |
+ titlemodifier_privatebrowsing="&mainWindow.titlePrivateBrowsingSuffix;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
48 |
+#else |
703 | 49 |
+ title_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;" |
50 |
+ titlemodifier="&mainWindow.titlemodifier;" |
|
51 |
+ titlemodifier_normal="&mainWindow.titlemodifier;" |
|
52 |
+ titlemodifier_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;" |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
53 |
+#endif |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
54 |
+#ifdef CAN_DRAW_IN_TITLEBAR |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
55 |
+#ifdef XP_WIN |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
56 |
+ chromemargin="0,2,2,2" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
57 |
+#else |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
58 |
+ chromemargin="0,-1,-1,-1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
59 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
60 |
+ tabsintitlebar="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
61 |
+#endif |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
62 |
+ titlemenuseparator="&mainWindow.titlemodifiermenuseparator;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
63 |
+ lightweightthemes="true" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
64 |
+ lightweightthemesfooter="browser-bottombox" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
65 |
+ windowtype="navigator:browser" |
419
f6b055dd94bc
commit Aurora 13 state
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
410
diff
changeset
|
66 |
+ macanimationtype="document" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
67 |
+ screenX="4" screenY="4" |
479
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
68 |
+ fullscreenbutton="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
69 |
+ sizemode="normal" |
885 | 70 |
+ retargetdocumentfocus="urlbar" |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
71 |
+ persist="screenX screenY width height sizemode"> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
72 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
73 |
+# All JS files which are not content (only) dependent that browser.xul |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
74 |
+# wishes to include *must* go into the global-scripts.inc file |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
75 |
+# so that they can be shared by macBrowserOverlay.xul. |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
76 |
+#include global-scripts.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
|
77 |
+<script type="application/javascript" src="chrome://browser/content/nsContextMenu.js"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
78 |
+ |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
79 |
+<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
80 |
+ |
916 | 81 |
+<script type="application/javascript" src="chrome://browser/content/downloads/downloads.js"/> |
82 |
+<script type="application/javascript" src="chrome://browser/content/downloads/indicator.js"/> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
83 |
+<script type="application/javascript" src="chrome://browser/content/places/editBookmarkOverlay.js"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
84 |
+ |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
85 |
+# All sets except for popupsets (commands, keys, stringbundles and broadcasters) *must* go into the |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
86 |
+# browser-sets.inc file for sharing with hiddenWindow.xul. |
291 | 87 |
+#define FULL_BROWSER_WINDOW |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
88 |
+#include browser-sets.inc |
291 | 89 |
+#undef FULL_BROWSER_WINDOW |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
90 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
91 |
+ <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
|
92 |
+ <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
|
93 |
+ 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
|
94 |
+ onpopuphidden="if (event.target == this) TabContextMenu.contextTab = null;"> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
95 |
+ <menuitem id="context_reloadTab" label="&reloadTab.label;" accesskey="&reloadTab.accesskey;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
96 |
+ oncommand="gBrowser.reloadTab(TabContextMenu.contextTab);"/> |
889 | 97 |
+ <menuitem id="context_toggleMuteTab" oncommand="TabContextMenu.contextTab.toggleMuteAudio();"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
98 |
+ <menuseparator/> |
571
cd2592a5c15d
updated browser-kde.xul (fixing KDE issue)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
568
diff
changeset
|
99 |
+ <menuitem id="context_pinTab" label="&pinTab.label;" |
cd2592a5c15d
updated browser-kde.xul (fixing KDE issue)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
568
diff
changeset
|
100 |
+ accesskey="&pinTab.accesskey;" |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
101 |
+ oncommand="gBrowser.pinTab(TabContextMenu.contextTab);"/> |
571
cd2592a5c15d
updated browser-kde.xul (fixing KDE issue)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
568
diff
changeset
|
102 |
+ <menuitem id="context_unpinTab" label="&unpinTab.label;" hidden="true" |
cd2592a5c15d
updated browser-kde.xul (fixing KDE issue)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
568
diff
changeset
|
103 |
+ accesskey="&unpinTab.accesskey;" |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
104 |
+ oncommand="gBrowser.unpinTab(TabContextMenu.contextTab);"/> |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
105 |
+ <menuitem id="context_openTabInWindow" label="&moveToNewWindow.label;" |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
106 |
+ accesskey="&moveToNewWindow.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
|
107 |
+ tbattr="tabbrowser-multiple" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
108 |
+ oncommand="gBrowser.replaceTabWithWindow(TabContextMenu.contextTab);"/> |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
109 |
+#ifdef E10S_TESTING_ONLY |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
110 |
+ <menuitem id="context_openNonRemoteWindow" label="Open in new non-e10s window" |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
111 |
+ tbattr="tabbrowser-remote" |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
112 |
+ hidden="true" |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
113 |
+ oncommand="gBrowser.openNonRemoteWindow(TabContextMenu.contextTab);"/> |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
114 |
+#endif |
932 | 115 |
+ <menuseparator id="context_sendTabToDevice_separator" hidden="true"/> |
116 |
+ <menu id="context_sendTabToDevice" label="&sendTabToDevice.label;" |
|
117 |
+ accesskey="&sendTabToDevice.accesskey;" hidden="true"> |
|
118 |
+ <menupopup id="context_sendTabToDevicePopupMenu" |
|
119 |
+ onpopupshowing="gFxAccounts.populateSendTabToDevicesMenu(event.target, TabContextMenu.contextTab.linkedBrowser.currentURI.spec, TabContextMenu.contextTab.linkedBrowser.contentTitle);"/> |
|
120 |
+ </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
|
121 |
+ <menuseparator/> |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
122 |
+ <menuitem id="context_reloadAllTabs" label="&reloadAllTabs.label;" accesskey="&reloadAllTabs.accesskey;" |
291 | 123 |
+ tbattr="tabbrowser-multiple-visible" |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
124 |
+ oncommand="gBrowser.reloadAllTabs();"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
125 |
+ <menuitem id="context_bookmarkAllTabs" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
126 |
+ label="&bookmarkAllTabs.label;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
127 |
+ accesskey="&bookmarkAllTabs.accesskey;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
128 |
+ command="Browser:BookmarkAllTabs"/> |
662 | 129 |
+ <menuitem id="context_closeTabsToTheEnd" label="&closeTabsToTheEnd.label;" accesskey="&closeTabsToTheEnd.accesskey;" |
904 | 130 |
+ oncommand="gBrowser.removeTabsToTheEndFrom(TabContextMenu.contextTab, {animate: 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
|
131 |
+ <menuitem id="context_closeOtherTabs" label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
132 |
+ oncommand="gBrowser.removeAllTabsBut(TabContextMenu.contextTab);"/> |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
133 |
+ <menuseparator/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
134 |
+ <menuitem id="context_undoCloseTab" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
135 |
+ label="&undoCloseTab.label;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
136 |
+ accesskey="&undoCloseTab.accesskey;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
137 |
+ observes="History:UndoCloseTab"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
138 |
+ <menuitem id="context_closeTab" label="&closeTab.label;" accesskey="&closeTab.accesskey;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
139 |
+ oncommand="gBrowser.removeTab(TabContextMenu.contextTab, { animate: true });"/> |
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> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
141 |
+ |
193 | 142 |
+ <!-- bug 415444/582485: event.stopPropagation is here for the cloned version |
143 |
+ of this menupopup --> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
144 |
+ <menupopup id="backForwardMenu" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
145 |
+ onpopupshowing="return FillHistoryMenu(event.target);" |
193 | 146 |
+ oncommand="gotoHistoryIndex(event); event.stopPropagation();" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
147 |
+ onclick="checkForMiddleClick(this, event);"/> |
650 | 148 |
+ <tooltip id="aHTMLTooltip" page="true"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
149 |
+ <tooltip id="remoteBrowserTooltip"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
150 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
151 |
+ <!-- for search and content formfill/pw manager --> |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
152 |
+ |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
153 |
+ <panel type="autocomplete-richlistbox" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
154 |
+ id="PopupAutoComplete" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
155 |
+ noautofocus="true" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
156 |
+ hidden="true" |
943 | 157 |
+ overflowpadding="4" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
158 |
+ norolluponanchor="true" /> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
159 |
+ |
817 | 160 |
+ <!-- for search with one-off buttons --> |
161 |
+ <panel type="autocomplete" id="PopupSearchAutoComplete" noautofocus="true" hidden="true"/> |
|
162 |
+ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
163 |
+ <!-- for url bar autocomplete --> |
923 | 164 |
+ <panel type="autocomplete-richlistbox" |
165 |
+ id="PopupAutoCompleteRichResult" |
|
166 |
+ noautofocus="true" |
|
167 |
+ hidden="true" |
|
168 |
+ flip="none" |
|
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
169 |
+ level="parent" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
170 |
+ overflowpadding="30" /> |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
171 |
+ |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
172 |
+ <panel id="DateTimePickerPanel" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
173 |
+ type="arrow" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
174 |
+ hidden="true" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
175 |
+ orient="vertical" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
176 |
+ noautofocus="true" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
177 |
+ consumeoutsideclicks="false" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
178 |
+ level="parent"> |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
179 |
+ <iframe id="dateTimePopupFrame"/> |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
180 |
+ </panel> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
181 |
+ |
850 | 182 |
+ <!-- for select dropdowns. The menupopup is what shows the list of options, |
183 |
+ and the popuponly menulist makes things like the menuactive attributes |
|
184 |
+ work correctly on the menupopup. ContentSelectDropdown expects the |
|
185 |
+ popuponly menulist to be its immediate parent. --> |
|
186 |
+ <menulist popuponly="true" id="ContentSelectDropdown" hidden="true"> |
|
881 | 187 |
+ <menupopup rolluponmousewheel="true" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
188 |
+ activateontab="true" position="after_start" |
881 | 189 |
+#ifdef XP_WIN |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
190 |
+ consumeoutsideclicks="false" ignorekeys="shortcuts" |
881 | 191 |
+#endif |
192 |
+ /> |
|
850 | 193 |
+ </menulist> |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
194 |
+ |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
195 |
+ <!-- for invalid form error message --> |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
196 |
+ <panel id="invalid-form-popup" type="arrow" orient="vertical" noautofocus="true" hidden="true" level="parent"> |
193 | 197 |
+ <description/> |
198 |
+ </panel> |
|
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
199 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
200 |
+ <panel id="editBookmarkPanel" |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
201 |
+ type="arrow" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
202 |
+ orient="vertical" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
203 |
+ ignorekeys="true" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
204 |
+ hidden="true" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
205 |
+ tabspecific="true" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
206 |
+ onpopupshown="StarUI.panelShown(event);" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
207 |
+ aria-labelledby="editBookmarkPanelTitle"> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
208 |
+ <row id="editBookmarkPanelHeader" align="center" hidden="true"> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
209 |
+ <vbox align="center"> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
210 |
+ <image id="editBookmarkPanelStarIcon"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
211 |
+ </vbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
212 |
+ <vbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
213 |
+ <label id="editBookmarkPanelTitle"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
214 |
+ <description id="editBookmarkPanelDescription"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
215 |
+ </vbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
216 |
+ </row> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
217 |
+ <vbox id="editBookmarkPanelContent" flex="1" hidden="true"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
218 |
+ <hbox id="editBookmarkPanelBottomButtons" pack="end"> |
885 | 219 |
+#ifdef XP_UNIX |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
220 |
+ <button id="editBookmarkPanelDoneButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
221 |
+ class="editBookmarkPanelBottomButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
222 |
+ label="&editBookmark.done.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
223 |
+ default="true" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
224 |
+ oncommand="StarUI.panel.hidePopup();"/> |
916 | 225 |
+ <button id="editBookmarkPanelRemoveButton" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
226 |
+ class="editBookmarkPanelBottomButton" |
916 | 227 |
+ oncommand="StarUI.removeBookmarkButtonCommand();" |
228 |
+ accesskey="&editBookmark.removeBookmark.accessKey;"/> |
|
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
229 |
+#else |
916 | 230 |
+ <button id="editBookmarkPanelRemoveButton" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
231 |
+ class="editBookmarkPanelBottomButton" |
916 | 232 |
+ oncommand="StarUI.removeBookmarkButtonCommand();" |
233 |
+ accesskey="&editBookmark.removeBookmark.accessKey;"/> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
234 |
+ <button id="editBookmarkPanelDoneButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
235 |
+ class="editBookmarkPanelBottomButton" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
236 |
+ label="&editBookmark.done.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
237 |
+ default="true" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
238 |
+ oncommand="StarUI.panel.hidePopup();"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
239 |
+#endif |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
240 |
+ </hbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
241 |
+ </panel> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
242 |
+ |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
243 |
+ <!-- UI tour experience --> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
244 |
+ <panel id="UITourTooltip" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
245 |
+ type="arrow" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
246 |
+ hidden="true" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
247 |
+ noautofocus="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
248 |
+ noautohide="true" |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
249 |
+ align="start" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
250 |
+ orient="vertical" |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
251 |
+ role="alert"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
252 |
+ <vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
253 |
+ <hbox id="UITourTooltipBody"> |
923 | 254 |
+ <image id="UITourTooltipIcon"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
255 |
+ <vbox flex="1"> |
923 | 256 |
+ <hbox id="UITourTooltipTitleContainer"> |
257 |
+ <label id="UITourTooltipTitle" flex="1"/> |
|
258 |
+ <toolbarbutton id="UITourTooltipClose" class="close-icon" |
|
259 |
+ tooltiptext="&uiTour.infoPanel.close;"/> |
|
260 |
+ </hbox> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
261 |
+ <description id="UITourTooltipDescription" flex="1"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
262 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
263 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
264 |
+ <hbox id="UITourTooltipButtons" flex="1" align="center"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
265 |
+ </vbox> |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
266 |
+ </panel> |
766 | 267 |
+ <!-- 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
|
268 |
+ <panel id="UITourHighlightContainer" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
269 |
+ type="default" |
541
830e50bbfc79
working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
522
diff
changeset
|
270 |
+ hidden="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
271 |
+ noautofocus="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
272 |
+ noautohide="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
273 |
+ flip="none" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
274 |
+ consumeoutsideclicks="false" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
275 |
+ mousethrough="always"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
276 |
+ <box id="UITourHighlight"></box> |
541
830e50bbfc79
working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
522
diff
changeset
|
277 |
+ </panel> |
817 | 278 |
+ |
653 | 279 |
+ <panel id="social-share-panel" |
280 |
+ class="social-panel" |
|
515 | 281 |
+ type="arrow" |
837 | 282 |
+ orient="vertical" |
653 | 283 |
+ onpopupshowing="SocialShare.onShowing()" |
284 |
+ onpopuphidden="SocialShare.onHidden()" |
|
285 |
+ hidden="true"> |
|
837 | 286 |
+ <hbox class="social-share-toolbar"> |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
287 |
+ <toolbarbutton id="manage-share-providers" class="share-provider-button" |
837 | 288 |
+ tooltiptext="&social.addons.label;" |
289 |
+ oncommand="BrowserOpenAddonsMgr('addons://list/service'); |
|
290 |
+ this.parentNode.parentNode.hidePopup();"/> |
|
291 |
+ <arrowscrollbox id="social-share-provider-buttons" orient="horizontal" flex="1" pack="end"> |
|
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
292 |
+ <toolbarbutton id="add-share-provider" class="share-provider-button" type="radio" |
817 | 293 |
+ group="share-providers" tooltiptext="&findShareServices.label;" |
294 |
+ oncommand="SocialShare.showDirectory()"/> |
|
295 |
+ </arrowscrollbox> |
|
837 | 296 |
+ </hbox> |
297 |
+ <hbox id="share-container" flex="1"/> |
|
515 | 298 |
+ </panel> |
299 |
+ |
|
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
300 |
+ <menupopup id="toolbar-context-menu" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
301 |
+ onpopupshowing="onViewToolbarsPopupShowing(event, document.getElementById('viewToolbarsMenuSeparator'));"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
302 |
+ <menuitem oncommand="gCustomizeMode.addToPanel(document.popupNode)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
303 |
+ accesskey="&customizeMenu.moveToPanel.accesskey;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
304 |
+ label="&customizeMenu.moveToPanel.label;" |
766 | 305 |
+ contexttype="toolbaritem" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
306 |
+ class="customize-context-moveToPanel"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
307 |
+ <menuitem oncommand="gCustomizeMode.removeFromArea(document.popupNode)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
308 |
+ accesskey="&customizeMenu.removeFromToolbar.accesskey;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
309 |
+ label="&customizeMenu.removeFromToolbar.label;" |
766 | 310 |
+ contexttype="toolbaritem" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
311 |
+ class="customize-context-removeFromToolbar"/> |
766 | 312 |
+ <menuitem id="toolbar-context-reloadAllTabs" |
313 |
+ class="toolbaritem-tabsmenu" |
|
314 |
+ contexttype="tabbar" |
|
315 |
+ oncommand="gBrowser.reloadAllTabs();" |
|
316 |
+ label="&toolbarContextMenu.reloadAllTabs.label;" |
|
317 |
+ accesskey="&toolbarContextMenu.reloadAllTabs.accesskey;"/> |
|
318 |
+ <menuitem id="toolbar-context-bookmarkAllTabs" |
|
319 |
+ class="toolbaritem-tabsmenu" |
|
320 |
+ contexttype="tabbar" |
|
321 |
+ command="Browser:BookmarkAllTabs" |
|
322 |
+ label="&toolbarContextMenu.bookmarkAllTabs.label;" |
|
323 |
+ accesskey="&toolbarContextMenu.bookmarkAllTabs.accesskey;"/> |
|
324 |
+ <menuitem id="toolbar-context-undoCloseTab" |
|
325 |
+ class="toolbaritem-tabsmenu" |
|
326 |
+ contexttype="tabbar" |
|
327 |
+ label="&toolbarContextMenu.undoCloseTab.label;" |
|
328 |
+ accesskey="&toolbarContextMenu.undoCloseTab.accesskey;" |
|
329 |
+ 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
|
330 |
+ <menuseparator/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
331 |
+ <menuseparator id="viewToolbarsMenuSeparator"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
332 |
+ <!-- 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
|
333 |
+ redirected to the command element, thus preventing |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
334 |
+ 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
|
335 |
+ 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
|
336 |
+ 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
|
337 |
+ correctly. --> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
338 |
+ <menuitem oncommand="BrowserCustomizeToolbar()" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
339 |
+ observes="cmd_CustomizeToolbars" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
340 |
+ class="viewCustomizeToolbar" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
341 |
+ label="&viewCustomizeToolbar.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
342 |
+ 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
|
343 |
+ </menupopup> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
344 |
+ |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
345 |
+ <menupopup id="blockedPopupOptions" |
211
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
346 |
+ onpopupshowing="gPopupBlockerObserver.fillPopupList(event);" |
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
347 |
+ onpopuphiding="gPopupBlockerObserver.onPopupHiding(event);"> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
348 |
+ <menuitem observes="blockedPopupAllowSite"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
349 |
+ <menuitem observes="blockedPopupEditSettings"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
350 |
+ <menuitem observes="blockedPopupDontShowMessage"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
351 |
+ <menuseparator observes="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
|
352 |
+ </menupopup> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
353 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
354 |
+ <menupopup id="autohide-context" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
355 |
+ onpopupshowing="FullScreen.getAutohide(this.firstChild);"> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
356 |
+ <menuitem type="checkbox" label="&fullScreenAutohide.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
357 |
+ accesskey="&fullScreenAutohide.accesskey;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
358 |
+ oncommand="FullScreen.setAutohide();"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
359 |
+ <menuseparator/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
360 |
+ <menuitem label="&fullScreenExit.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
361 |
+ accesskey="&fullScreenExit.accesskey;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
362 |
+ oncommand="BrowserFullScreen();"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
363 |
+ </menupopup> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
364 |
+ |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
365 |
+ <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
|
366 |
+ 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
|
367 |
+ return true; |
637
73640b76d6c3
first building version of FF21
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
612
diff
changeset
|
368 |
+ 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
|
369 |
+ 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
|
370 |
+ updateEditUIVisibility(); |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
371 |
+ return gContextMenu.shouldDisplay;" |
400 | 372 |
+ onpopuphiding="if (event.target != this) |
373 |
+ return; |
|
374 |
+ gContextMenu.hiding(); |
|
375 |
+ gContextMenu = null; |
|
376 |
+ updateEditUIVisibility();"> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
377 |
+#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
|
378 |
+ </menupopup> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
379 |
+ |
929 | 380 |
+ <menupopup id="placesContext"> |
381 |
+ <menuseparator id="placesContext_recentlyBookmarkedSeparator" |
|
382 |
+ ignoreitem="true" |
|
383 |
+ hidden="true"/> |
|
384 |
+ <menuitem id="placesContext_hideRecentlyBookmarked" |
|
385 |
+ label="&hideRecentlyBookmarked.label;" |
|
386 |
+ accesskey="&hideRecentlyBookmarked.accesskey;" |
|
387 |
+ oncommand="BookmarkingUI.hideRecentlyBookmarked();" |
|
388 |
+ closemenu="single" |
|
389 |
+ ignoreitem="true" |
|
390 |
+ hidden="true"/> |
|
391 |
+ <menuitem id="placesContext_showRecentlyBookmarked" |
|
392 |
+ label="&showRecentlyBookmarked.label;" |
|
393 |
+ accesskey="&showRecentlyBookmarked.accesskey;" |
|
394 |
+ oncommand="BookmarkingUI.showRecentlyBookmarked();" |
|
395 |
+ closemenu="single" |
|
396 |
+ ignoreitem="true" |
|
397 |
+ hidden="true"/> |
|
398 |
+ </menupopup> |
|
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
399 |
+ |
932 | 400 |
+ <panel id="ctrlTab-panel" hidden="true" norestorefocus="true" level="top"> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
401 |
+ <hbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
402 |
+ <button class="ctrlTab-preview" flex="1"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
403 |
+ <button class="ctrlTab-preview" flex="1"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
404 |
+ <button class="ctrlTab-preview" flex="1"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
405 |
+ <button class="ctrlTab-preview" flex="1"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
406 |
+ <button class="ctrlTab-preview" flex="1"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
407 |
+ <button class="ctrlTab-preview" flex="1"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
408 |
+ </hbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
409 |
+ <hbox pack="center"> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
410 |
+ <button id="ctrlTab-showAll" class="ctrlTab-preview" noicon="true"/> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
411 |
+ </hbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
412 |
+ </panel> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
413 |
+ |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
414 |
+ <!-- Bookmarks and history tooltip --> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
415 |
+ <tooltip id="bhTooltip"/> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
416 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
417 |
+ <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
|
418 |
+ |
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
419 |
+ <tooltip id="back-button-tooltip"> |
410 | 420 |
+ <label class="tooltip-label" value="&backButton.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
421 |
+#ifdef XP_MACOSX |
410 | 422 |
+ <label class="tooltip-label" value="&backForwardButtonMenuMac.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
423 |
+#else |
410 | 424 |
+ <label class="tooltip-label" value="&backForwardButtonMenu.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
425 |
+#endif |
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
426 |
+ </tooltip> |
479
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
427 |
+ |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
428 |
+ <tooltip id="forward-button-tooltip"> |
410 | 429 |
+ <label class="tooltip-label" value="&forwardButton.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
430 |
+#ifdef XP_MACOSX |
410 | 431 |
+ <label class="tooltip-label" value="&backForwardButtonMenuMac.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
432 |
+#else |
410 | 433 |
+ <label class="tooltip-label" value="&backForwardButtonMenu.tooltip;"/> |
343
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
434 |
+#endif |
f467ac3aff09
sync KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
340
diff
changeset
|
435 |
+ </tooltip> |
612 | 436 |
+ |
817 | 437 |
+ <tooltip id="share-button-tooltip" onpopupshowing="SocialShare.createTooltip(event);"> |
438 |
+ <label class="tooltip-label"/> |
|
439 |
+ <label class="tooltip-label"/> |
|
440 |
+ </tooltip> |
|
441 |
+ |
|
662 | 442 |
+#include popup-notifications.inc |
637
73640b76d6c3
first building version of FF21
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
612
diff
changeset
|
443 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
444 |
+#include ../../components/customizableui/content/panelUI.inc.xul |
881 | 445 |
+#include ../../components/controlcenter/content/panel.inc.xul |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
446 |
+ |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
447 |
+ <hbox id="downloads-animation-container" mousethrough="always"> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
448 |
+ <vbox id="downloads-notification-anchor"> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
449 |
+ <vbox id="downloads-indicator-notification"/> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
450 |
+ </vbox> |
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
451 |
+ </hbox> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
452 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
453 |
+ <hbox id="bookmarked-notification-container" mousethrough="always"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
454 |
+ <vbox id="bookmarked-notification-anchor"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
455 |
+ <vbox id="bookmarked-notification"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
456 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
457 |
+ <vbox id="bookmarked-notification-dropmarker-anchor"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
458 |
+ <image id="bookmarked-notification-dropmarker-icon"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
459 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
460 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
461 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
462 |
+ <tooltip id="dynamic-shortcut-tooltip" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
463 |
+ onpopupshowing="UpdateDynamicShortcutTooltipText(this);"/> |
916 | 464 |
+ |
465 |
+ <menupopup id="SyncedTabsSidebarContext"> |
|
923 | 466 |
+ <menuitem label="&syncedTabs.context.open.label;" |
467 |
+ accesskey="&syncedTabs.context.open.accesskey;" |
|
468 |
+ id="syncedTabsOpenSelected" where="current"/> |
|
469 |
+ <menuitem label="&syncedTabs.context.openInNewTab.label;" |
|
470 |
+ accesskey="&syncedTabs.context.openInNewTab.accesskey;" |
|
471 |
+ id="syncedTabsOpenSelectedInTab" where="tab"/> |
|
472 |
+ <menuitem label="&syncedTabs.context.openInNewWindow.label;" |
|
473 |
+ accesskey="&syncedTabs.context.openInNewWindow.accesskey;" |
|
474 |
+ id="syncedTabsOpenSelectedInWindow" where="window"/> |
|
475 |
+ <menuitem label="&syncedTabs.context.openInNewPrivateWindow.label;" |
|
476 |
+ accesskey="&syncedTabs.context.openInNewPrivateWindow.accesskey;" |
|
477 |
+ id="syncedTabsOpenSelectedInPrivateWindow" where="window" private="true"/> |
|
478 |
+ <menuseparator/> |
|
916 | 479 |
+ <menuitem label="&syncedTabs.context.bookmarkSingleTab.label;" |
480 |
+ accesskey="&syncedTabs.context.bookmarkSingleTab.accesskey;" |
|
481 |
+ id="syncedTabsBookmarkSelected"/> |
|
923 | 482 |
+ <menuitem label="&syncedTabs.context.copy.label;" |
483 |
+ accesskey="&syncedTabs.context.copy.accesskey;" |
|
484 |
+ id="syncedTabsCopySelected"/> |
|
916 | 485 |
+ <menuseparator/> |
486 |
+ <menuitem label="&syncSyncNowItem.label;" |
|
487 |
+ accesskey="&syncSyncNowItem.accesskey;" |
|
488 |
+ id="syncedTabsRefresh"/> |
|
489 |
+ </menupopup> |
|
490 |
+ <menupopup id="SyncedTabsSidebarTabsFilterContext" |
|
491 |
+ class="textbox-contextmenu"> |
|
492 |
+ <menuitem label="&undoCmd.label;" |
|
493 |
+ accesskey="&undoCmd.accesskey;" |
|
494 |
+ cmd="cmd_undo"/> |
|
495 |
+ <menuseparator/> |
|
496 |
+ <menuitem label="&cutCmd.label;" |
|
497 |
+ accesskey="&cutCmd.accesskey;" |
|
498 |
+ cmd="cmd_cut"/> |
|
499 |
+ <menuitem label="©Cmd.label;" |
|
500 |
+ accesskey="©Cmd.accesskey;" |
|
501 |
+ cmd="cmd_copy"/> |
|
502 |
+ <menuitem label="&pasteCmd.label;" |
|
503 |
+ accesskey="&pasteCmd.accesskey;" |
|
504 |
+ cmd="cmd_paste"/> |
|
505 |
+ <menuitem label="&deleteCmd.label;" |
|
506 |
+ accesskey="&deleteCmd.accesskey;" |
|
507 |
+ cmd="cmd_delete"/> |
|
508 |
+ <menuseparator/> |
|
509 |
+ <menuitem label="&selectAllCmd.label;" |
|
510 |
+ accesskey="&selectAllCmd.accesskey;" |
|
511 |
+ cmd="cmd_selectAll"/> |
|
512 |
+ <menuseparator/> |
|
513 |
+ <menuitem label="&syncSyncNowItem.label;" |
|
514 |
+ accesskey="&syncSyncNowItem.accesskey;" |
|
515 |
+ id="syncedTabsRefreshFilter"/> |
|
516 |
+ </menupopup> |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
517 |
+ </popupset> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
518 |
+ |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
519 |
+#ifdef CAN_DRAW_IN_TITLEBAR |
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
520 |
+<vbox id="titlebar"> |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
521 |
+ <hbox id="titlebar-content"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
522 |
+ <spacer id="titlebar-spacer" flex="1"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
523 |
+ <hbox id="titlebar-buttonbox-container"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
524 |
+#ifdef XP_WIN |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
525 |
+ <hbox id="private-browsing-indicator-titlebar"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
526 |
+ <hbox class="private-browsing-indicator"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
527 |
+ </hbox> |
637
73640b76d6c3
first building version of FF21
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
612
diff
changeset
|
528 |
+#endif |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
529 |
+ <hbox id="titlebar-buttonbox"> |
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
530 |
+ <toolbarbutton class="titlebar-button" id="titlebar-min" oncommand="window.minimize();"/> |
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
531 |
+ <toolbarbutton class="titlebar-button" id="titlebar-max" oncommand="onTitlebarMaxClick();"/> |
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
532 |
+ <toolbarbutton class="titlebar-button" id="titlebar-close" command="cmd_closeWindow"/> |
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
533 |
+ </hbox> |
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
534 |
+ </hbox> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
535 |
+#ifdef XP_MACOSX |
718 | 536 |
+ <!-- OS X does not natively support RTL for its titlebar items, so we prevent this secondary |
537 |
+ buttonbox from reversing order in RTL by forcing an LTR direction. --> |
|
538 |
+ <hbox id="titlebar-secondary-buttonbox" dir="ltr"> |
|
539 |
+ <hbox class="private-browsing-indicator"/> |
|
540 |
+ <hbox id="titlebar-fullscreen-button"/> |
|
541 |
+ </hbox> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
542 |
+#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
|
543 |
+ </hbox> |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
544 |
+</vbox> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
545 |
+#endif |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
546 |
+ |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
547 |
+<deck flex="1" id="tab-view-deck"> |
291 | 548 |
+<vbox flex="1" id="browser-panel"> |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
549 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
550 |
+ <toolbox id="navigator-toolbox" mode="icons"> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
551 |
+ <!-- Menu --> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
552 |
+ <toolbar type="menubar" id="toolbar-menubar" class="chromeclass-menubar" customizable="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
553 |
+ mode="icons" iconsize="small" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
554 |
+#ifdef MENUBAR_CAN_AUTOHIDE |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
555 |
+ toolbarname="&menubarCmd.label;" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
556 |
+ accesskey="&menubarCmd.accesskey;" |
932 | 557 |
+#if defined(MOZ_WIDGET_GTK) |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
558 |
+ autohide="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
559 |
+#endif |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
560 |
+#endif |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
561 |
+ context="toolbar-context-menu"> |
766 | 562 |
+ <toolbaritem id="menubar-items" align="center"> |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
563 |
+# The entire main menubar is placed into browser-menubar.inc, so that it can be shared by |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
564 |
+# hiddenWindow.xul. |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
565 |
+#include browser-menubar.inc |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
566 |
+ </toolbaritem> |
211
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
567 |
+ |
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
568 |
+#ifdef CAN_DRAW_IN_TITLEBAR |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
569 |
+#ifndef XP_MACOSX |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
570 |
+ <hbox class="titlebar-placeholder" type="caption-buttons" ordinal="1000" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
571 |
+ id="titlebar-placeholder-on-menubar-for-caption-buttons" persist="width" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
572 |
+ skipintoolbarset="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
573 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
574 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
575 |
+ </toolbar> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
576 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
577 |
+ <toolbar id="TabsToolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
578 |
+ fullscreentoolbar="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
579 |
+ customizable="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
580 |
+ mode="icons" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
581 |
+ iconsize="small" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
582 |
+ aria-label="&tabsToolbar.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
583 |
+ context="toolbar-context-menu" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
584 |
+ collapsed="true"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
585 |
+ |
932 | 586 |
+#if defined(MOZ_WIDGET_GTK) |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
587 |
+ <hbox id="private-browsing-indicator" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
588 |
+ skipintoolbarset="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
589 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
590 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
591 |
+ <tabs id="tabbrowser-tabs" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
592 |
+ class="tabbrowser-tabs" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
593 |
+ tabbrowser="content" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
594 |
+ flex="1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
595 |
+ setfocus="false" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
596 |
+ tooltip="tabbrowser-tab-tooltip" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
597 |
+ stopwatchid="FX_TAB_CLICK_MS"> |
863 | 598 |
+ <tab class="tabbrowser-tab" selected="true" visuallyselected="true" fadein="true"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
599 |
+ </tabs> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
600 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
601 |
+ <toolbarbutton id="new-tab-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
602 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
603 |
+ label="&tabCmd.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
604 |
+ command="cmd_newNavigatorTab" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
605 |
+ onclick="checkForMiddleClick(this, event);" |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
606 |
+ tooltip="dynamic-shortcut-tooltip" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
607 |
+ ondrop="newTabButtonObserver.onDrop(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
608 |
+ ondragover="newTabButtonObserver.onDragOver(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
609 |
+ ondragenter="newTabButtonObserver.onDragOver(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
610 |
+ ondragexit="newTabButtonObserver.onDragExit(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
611 |
+ cui-areatype="toolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
612 |
+ removable="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
613 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
614 |
+ <toolbarbutton id="alltabs-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
615 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional tabs-alltabs-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
616 |
+ type="menu" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
617 |
+ label="&listAllTabs.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
618 |
+ tooltiptext="&listAllTabs.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
619 |
+ removable="false"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
620 |
+ <menupopup id="alltabs-popup" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
621 |
+ position="after_end"> |
766 | 622 |
+ <menuitem id="alltabs_undoCloseTab" |
623 |
+ class="menuitem-iconic" |
|
624 |
+ key="key_undoCloseTab" |
|
625 |
+ label="&undoCloseTab.label;" |
|
626 |
+ observes="History:UndoCloseTab"/> |
|
929 | 627 |
+ <menuseparator id="alltabs-popup-separator-1"/> |
628 |
+ <menu id="alltabs_containersTab" |
|
629 |
+ label="&newUserContext.label;"> |
|
630 |
+ <menupopup id="alltabs_containersMenuTab" /> |
|
631 |
+ </menu> |
|
632 |
+ <menuseparator id="alltabs-popup-separator-2"/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
633 |
+ </menupopup> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
634 |
+ </toolbarbutton> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
635 |
+ |
932 | 636 |
+#if !defined(MOZ_WIDGET_GTK) |
718 | 637 |
+ <hbox class="private-browsing-indicator" skipintoolbarset="true"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
638 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
639 |
+#ifdef CAN_DRAW_IN_TITLEBAR |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
640 |
+ <hbox class="titlebar-placeholder" type="caption-buttons" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
641 |
+ id="titlebar-placeholder-on-TabsToolbar-for-captions-buttons" persist="width" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
642 |
+#ifndef XP_MACOSX |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
643 |
+ ordinal="1000" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
644 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
645 |
+ skipintoolbarset="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
646 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
647 |
+#ifdef XP_MACOSX |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
648 |
+ <hbox class="titlebar-placeholder" type="fullscreen-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
649 |
+ id="titlebar-placeholder-on-TabsToolbar-for-fullscreen-button" persist="width" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
650 |
+ skipintoolbarset="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
651 |
+#endif |
211
aef7c16cb0e5
refresh browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
205
diff
changeset
|
652 |
+#endif |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
653 |
+ </toolbar> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
654 |
+ |
837 | 655 |
+ <toolbar id="nav-bar" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
656 |
+ 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
|
657 |
+ fullscreentoolbar="true" mode="icons" customizable="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
658 |
+ iconsize="small" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
659 |
+ customizationtarget="nav-bar-customization-target" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
660 |
+ overflowable="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
661 |
+ overflowbutton="nav-bar-overflow-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
662 |
+ overflowtarget="widget-overflow-list" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
663 |
+ 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
|
664 |
+ context="toolbar-context-menu"> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
665 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
666 |
+ <hbox id="nav-bar-customization-target" flex="1"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
667 |
+ <toolbaritem id="urlbar-container" flex="400" persist="width" |
899 | 668 |
+ removable="false" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
669 |
+ class="chromeclass-location" overflows="false"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
670 |
+ <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
671 |
+ label="&backCmd.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
672 |
+ command="Browser:BackOrBackDuplicate" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
673 |
+ onclick="checkForMiddleClick(this, event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
674 |
+ tooltip="back-button-tooltip" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
675 |
+ context="backForwardMenu"/> |
738 | 676 |
+ <hbox id="urlbar-wrapper" flex="1"> |
677 |
+ <toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
678 |
+ label="&forwardCmd.label;" |
|
679 |
+ command="Browser:ForwardOrForwardDuplicate" |
|
680 |
+ onclick="checkForMiddleClick(this, event);" |
|
681 |
+ tooltip="forward-button-tooltip" |
|
682 |
+ context="backForwardMenu"/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
683 |
+ <textbox id="urlbar" flex="1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
684 |
+ placeholder="&urlbar.placeholder2;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
685 |
+ type="autocomplete" |
923 | 686 |
+ autocompletesearch="unifiedcomplete" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
687 |
+ autocompletesearchparam="enable-actions" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
688 |
+ autocompletepopup="PopupAutoCompleteRichResult" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
689 |
+ completeselectedindex="true" |
885 | 690 |
+ shrinkdelay="250" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
691 |
+ tabscrolling="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
692 |
+ showcommentcolumn="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
693 |
+ showimagecolumn="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
694 |
+ enablehistory="true" |
923 | 695 |
+ maxrows="10" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
696 |
+ newlines="stripsurroundingwhitespace" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
697 |
+ ontextentered="this.handleCommand(param);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
698 |
+ ontextreverted="return this.handleRevert();" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
699 |
+ pageproxystate="invalid"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
700 |
+ <!-- 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
|
701 |
+ 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
|
702 |
+ <box id="identity-box" role="button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
703 |
+ align="center" |
899 | 704 |
+ aria-label="&urlbar.viewSiteInfo.label;" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
705 |
+ onclick="gIdentityHandler.handleIdentityButtonEvent(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
706 |
+ onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
707 |
+ ondragstart="gIdentityHandler.onDragStart(event);"> |
904 | 708 |
+ <image id="identity-icon" |
709 |
+ consumeanchor="identity-box" |
|
710 |
+ onclick="PageProxyClickHandler(event);"/> |
|
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
711 |
+ <image id="sharing-icon" mousethrough="always"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
712 |
+ <box id="blocked-permissions-container" align="center"> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
713 |
+ <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
|
714 |
+ tooltiptext="&urlbar.geolocationBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
715 |
+ <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
|
716 |
+ tooltiptext="&urlbar.webNotificationsBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
717 |
+ <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
|
718 |
+ tooltiptext="&urlbar.cameraBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
719 |
+ <image data-permission-id="indexedDB" class="blocked-permission-icon indexedDB-icon" role="button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
720 |
+ tooltiptext="&urlbar.indexedDBBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
721 |
+ <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
|
722 |
+ tooltiptext="&urlbar.microphoneBlocked.tooltip;"/> |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
723 |
+ <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
|
724 |
+ tooltiptext="&urlbar.screenBlocked.tooltip;"/> |
932 | 725 |
+ </box> |
726 |
+ <box id="notification-popup-box" |
|
727 |
+ hidden="true" |
|
728 |
+ onmouseover="document.getElementById('identity-icon').classList.add('no-hover');" |
|
729 |
+ onmouseout="document.getElementById('identity-icon').classList.remove('no-hover');" |
|
730 |
+ align="center"> |
|
731 |
+ <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
|
732 |
+ tooltiptext="&urlbar.defaultNotificationAnchor.tooltip;"/> |
932 | 733 |
+ <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
|
734 |
+ tooltiptext="&urlbar.geolocationNotificationAnchor.tooltip;"/> |
932 | 735 |
+ <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
|
736 |
+ tooltiptext="&urlbar.addonsNotificationAnchor.tooltip;"/> |
932 | 737 |
+ <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
|
738 |
+ tooltiptext="&urlbar.indexedDBNotificationAnchor.tooltip;"/> |
932 | 739 |
+ <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
|
740 |
+ tooltiptext="&urlbar.passwordNotificationAnchor.tooltip;"/> |
932 | 741 |
+ <image id="plugins-notification-icon" class="notification-anchor-icon plugin-icon" role="button" |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
742 |
+ tooltiptext="&urlbar.pluginsNotificationAnchor.tooltip;"/> |
932 | 743 |
+ <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
|
744 |
+ tooltiptext="&urlbar.webNotificationAnchor.tooltip;"/> |
932 | 745 |
+ <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
|
746 |
+ tooltiptext="&urlbar.webRTCShareDevicesNotificationAnchor.tooltip;"/> |
932 | 747 |
+ <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
|
748 |
+ tooltiptext="&urlbar.webRTCShareMicrophoneNotificationAnchor.tooltip;"/> |
932 | 749 |
+ <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
|
750 |
+ tooltiptext="&urlbar.webRTCShareScreenNotificationAnchor.tooltip;"/> |
932 | 751 |
+ <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
|
752 |
+ tooltiptext="&urlbar.servicesNotificationAnchor.tooltip;"/> |
932 | 753 |
+ <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
|
754 |
+ tooltiptext="&urlbar.translateNotificationAnchor.tooltip;"/> |
932 | 755 |
+ <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
|
756 |
+ tooltiptext="&urlbar.translatedNotificationAnchor.tooltip;"/> |
932 | 757 |
+ <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
|
758 |
+ tooltiptext="&urlbar.emeNotificationAnchor.tooltip;"/> |
932 | 759 |
+ </box> |
904 | 760 |
+ <image id="tracking-protection-icon"/> |
761 |
+ <image id="connection-icon"/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
762 |
+ <hbox id="identity-icon-labels"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
763 |
+ <label id="identity-icon-label" class="plain" flex="1"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
764 |
+ <label id="identity-icon-country-label" class="plain"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
765 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
766 |
+ </box> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
767 |
+ <box id="urlbar-display-box" align="center"> |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
768 |
+ <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
|
769 |
+ <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
|
770 |
+ </box> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
771 |
+ <hbox id="urlbar-icons"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
772 |
+ <image id="page-report-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
773 |
+ class="urlbar-icon" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
774 |
+ hidden="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
775 |
+ tooltiptext="&pageReportIcon.tooltip;" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
776 |
+ onmousedown="gPopupBlockerObserver.onReportButtonMousedown(event);"/> |
850 | 777 |
+ <image id="reader-mode-button" |
778 |
+ class="urlbar-icon" |
|
779 |
+ hidden="true" |
|
780 |
+ onclick="ReaderParent.buttonClick(event);"/> |
|
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
781 |
+ <toolbarbutton id="urlbar-zoom-button" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
782 |
+ onclick="FullZoom.reset();" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
783 |
+ tooltiptext="&urlbar.zoomReset.tooltip;" |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
784 |
+ hidden="true"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
785 |
+ </hbox> |
929 | 786 |
+ <hbox id="userContext-icons" hidden="true"> |
899 | 787 |
+ <label id="userContext-label"/> |
788 |
+ <image id="userContext-indicator"/> |
|
789 |
+ </hbox> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
790 |
+ <toolbarbutton id="urlbar-go-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
791 |
+ class="chromeclass-toolbar-additional" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
792 |
+ onclick="gURLBar.handleCommand(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
793 |
+ tooltiptext="&goEndCap.tooltip;"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
794 |
+ <toolbarbutton id="urlbar-reload-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
795 |
+ class="chromeclass-toolbar-additional" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
796 |
+ command="Browser:ReloadOrDuplicate" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
797 |
+ onclick="checkForMiddleClick(this, event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
798 |
+ tooltiptext="&reloadButton.tooltip;"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
799 |
+ <toolbarbutton id="urlbar-stop-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
800 |
+ class="chromeclass-toolbar-additional" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
801 |
+ command="Browser:Stop" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
802 |
+ tooltiptext="&stopButton.tooltip;"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
803 |
+ </textbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
804 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
805 |
+ </toolbaritem> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
806 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
807 |
+ <toolbaritem id="search-container" title="&searchItem.title;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
808 |
+ align="center" class="chromeclass-toolbar-additional panel-wide-item" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
809 |
+ cui-areatype="toolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
810 |
+ flex="100" persist="width" removable="true"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
811 |
+ <searchbar id="searchbar" flex="1"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
812 |
+ </toolbaritem> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
813 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
814 |
+ <toolbarbutton id="bookmarks-menu-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
815 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
816 |
+ removable="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
817 |
+ type="menu-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
818 |
+ label="&bookmarksMenuButton.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
819 |
+ tooltip="dynamic-shortcut-tooltip" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
820 |
+ anchor="dropmarker" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
821 |
+ ondragenter="PlacesMenuDNDHandler.onDragEnter(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
822 |
+ ondragover="PlacesMenuDNDHandler.onDragOver(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
823 |
+ ondragleave="PlacesMenuDNDHandler.onDragLeave(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
824 |
+ ondrop="PlacesMenuDNDHandler.onDrop(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
825 |
+ cui-areatype="toolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
826 |
+ oncommand="BookmarkingUI.onCommand(event);"> |
881 | 827 |
+ <observes element="bookmarkThisPageBroadcaster" attribute="starred"/> |
828 |
+ <observes element="bookmarkThisPageBroadcaster" attribute="buttontooltiptext"/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
829 |
+ <menupopup id="BMB_bookmarksPopup" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
830 |
+ class="cui-widget-panel cui-widget-panelview cui-widget-panelWithFooter PanelUI-subView" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
831 |
+ placespopup="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
832 |
+ context="placesContext" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
833 |
+ openInTabs="children" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
834 |
+ oncommand="BookmarksEventHandler.onCommand(event, this.parentNode._placesView);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
835 |
+ onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
836 |
+ onpopupshowing="BookmarkingUI.onPopupShowing(event); |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
837 |
+ BookmarkingUI.attachPlacesView(event, this);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
838 |
+ tooltip="bhTooltip" popupsinherittooltip="true"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
839 |
+ <menuitem id="BMB_viewBookmarksSidebar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
840 |
+ class="subviewbutton" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
841 |
+ label="&viewBookmarksSidebar2.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
842 |
+ type="checkbox" |
850 | 843 |
+ oncommand="SidebarUI.toggle('viewBookmarksSidebar');"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
844 |
+ <observes element="viewBookmarksSidebar" attribute="checked"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
845 |
+ </menuitem> |
738 | 846 |
+ <!-- NB: temporary solution for bug 985024, this should go away soon. --> |
847 |
+ <menuitem id="BMB_bookmarksShowAllTop" |
|
848 |
+ class="menuitem-iconic subviewbutton" |
|
849 |
+ label="&showAllBookmarks2.label;" |
|
850 |
+ command="Browser:ShowAllBookmarks" |
|
851 |
+ key="manBookmarkKb"/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
852 |
+ <menuseparator/> |
929 | 853 |
+ <menuitem label="&recentBookmarks.label;" |
854 |
+ id="BMB_recentBookmarks" |
|
855 |
+ disabled="true" |
|
856 |
+ class="menuitem-iconic subviewbutton"/> |
|
857 |
+ <menuseparator/> |
|
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
858 |
+ <menu id="BMB_bookmarksToolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
859 |
+ class="menu-iconic bookmark-item subviewbutton" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
860 |
+ label="&personalbarCmd.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
861 |
+ container="true"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
862 |
+ <menupopup id="BMB_bookmarksToolbarPopup" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
863 |
+ placespopup="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
864 |
+ context="placesContext" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
865 |
+ onpopupshowing="if (!this.parentNode._placesView) |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
866 |
+ new PlacesMenu(event, 'place:folder=TOOLBAR', |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
867 |
+ PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
868 |
+ <menuitem id="BMB_viewBookmarksToolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
869 |
+ placesanonid="view-toolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
870 |
+ toolbarId="PersonalToolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
871 |
+ type="checkbox" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
872 |
+ oncommand="onViewToolbarCommand(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
873 |
+ label="&viewBookmarksToolbar.label;"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
874 |
+ <menuseparator/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
875 |
+ <!-- Bookmarks toolbar items --> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
876 |
+ </menupopup> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
877 |
+ </menu> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
878 |
+ <menu id="BMB_unsortedBookmarks" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
879 |
+ class="menu-iconic bookmark-item subviewbutton" |
923 | 880 |
+ label="&bookmarksMenuButton.other.label;" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
881 |
+ container="true"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
882 |
+ <menupopup id="BMB_unsortedBookmarksPopup" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
883 |
+ placespopup="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
884 |
+ context="placesContext" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
885 |
+ onpopupshowing="if (!this.parentNode._placesView) |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
886 |
+ new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS', |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
887 |
+ PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
888 |
+ </menu> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
889 |
+ <menuseparator/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
890 |
+ <!-- Bookmarks menu items will go here --> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
891 |
+ <menuitem id="BMB_bookmarksShowAll" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
892 |
+ class="subviewbutton panel-subview-footer" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
893 |
+ label="&showAllBookmarks2.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
894 |
+ command="Browser:ShowAllBookmarks" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
895 |
+ key="manBookmarkKb"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
896 |
+ </menupopup> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
897 |
+ </toolbarbutton> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
898 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
899 |
+ <!-- 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
|
900 |
+ 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
|
901 |
+ the Downloads Indicator overlay is loaded. --> |
923 | 902 |
+ <toolbarbutton id="downloads-button" |
903 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional badged-button" |
|
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
904 |
+ key="key_openDownloads" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
905 |
+ oncommand="DownloadsIndicatorView.onCommand(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
906 |
+ ondrop="DownloadsIndicatorView.onDrop(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
907 |
+ ondragover="DownloadsIndicatorView.onDragOver(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
908 |
+ ondragenter="DownloadsIndicatorView.onDragOver(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
909 |
+ label="&downloads.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
910 |
+ removable="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
911 |
+ cui-areatype="toolbar" |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
912 |
+ tooltip="dynamic-shortcut-tooltip"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
913 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
914 |
+ <toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
889 | 915 |
+ removable="true" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
916 |
+ label="&homeButton.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
917 |
+ ondragover="homeButtonObserver.onDragOver(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
918 |
+ ondragenter="homeButtonObserver.onDragOver(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
919 |
+ ondrop="homeButtonObserver.onDrop(event)" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
920 |
+ ondragexit="homeButtonObserver.onDragExit(event)" |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
921 |
+ key="goHome" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
922 |
+ onclick="BrowserGoHome(event);" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
923 |
+ cui-areatype="toolbar" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
924 |
+ aboutHomeOverrideTooltip="&abouthome.pageTitle;"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
925 |
+ </hbox> |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
926 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
927 |
+ <toolbarbutton id="nav-bar-overflow-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
928 |
+ class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
929 |
+ skipintoolbarset="true" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
930 |
+ tooltiptext="&navbarOverflow.label;"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
931 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
932 |
+ <toolbaritem id="PanelUI-button" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
933 |
+ class="chromeclass-toolbar-additional" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
934 |
+ removable="false"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
935 |
+ <toolbarbutton id="PanelUI-menu-button" |
885 | 936 |
+ class="toolbarbutton-1 badged-button" |
766 | 937 |
+ consumeanchor="PanelUI-button" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
938 |
+ label="&brandShortName;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
939 |
+ tooltiptext="&appmenu.tooltip;"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
940 |
+ </toolbaritem> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
941 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
942 |
+ <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
|
943 |
+ 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
|
944 |
+ <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
|
945 |
+ 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
|
946 |
+ 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
|
947 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
948 |
+ <toolbarbutton id="restore-button" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
949 |
+#ifdef XP_MACOSX |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
950 |
+# 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
|
951 |
+# 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
|
952 |
+ class="toolbarbutton-1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
953 |
+#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
|
954 |
+ 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
|
955 |
+ 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
|
956 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
957 |
+ <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
|
958 |
+ 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
|
959 |
+ 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
|
960 |
+ </hbox> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
961 |
+ </toolbar> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
962 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
963 |
+ <toolbarset id="customToolbars" 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
|
964 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
965 |
+ <toolbar id="PersonalToolbar" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
966 |
+ mode="icons" iconsize="small" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
967 |
+ class="chromeclass-directories" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
968 |
+ 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
|
969 |
+ 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
|
970 |
+ 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
|
971 |
+ customizable="true"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
972 |
+ <toolbaritem id="personal-bookmarks" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
973 |
+ title="&bookmarksToolbarItem.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
974 |
+ 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
|
975 |
+ removable="true"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
976 |
+ <toolbarbutton id="bookmarks-toolbar-placeholder" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
977 |
+ class="toolbarbutton-1" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
978 |
+ mousethrough="never" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
979 |
+ label="&bookmarksToolbarItem.label;" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
980 |
+ 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
|
981 |
+ <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
|
982 |
+ 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
|
983 |
+ context="placesContext" |
226
6bf3bb4c115e
update for 2.0b11/4.0b11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
223
diff
changeset
|
984 |
+ onclick="BookmarksEventHandler.onClick(event, this._placesView);" |
6bf3bb4c115e
update for 2.0b11/4.0b11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
223
diff
changeset
|
985 |
+ oncommand="BookmarksEventHandler.onCommand(event, this._placesView);" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
986 |
+ 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
|
987 |
+ 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
|
988 |
+ <hbox flex="1"> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
989 |
+ <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
|
990 |
+ <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
|
991 |
+ 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
|
992 |
+ 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
|
993 |
+ </hbox> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
994 |
+ <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
|
995 |
+ 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
|
996 |
+ 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
|
997 |
+ <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
|
998 |
+ id="PlacesChevron" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
999 |
+ class="chevron" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1000 |
+ 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
|
1001 |
+ 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
|
1002 |
+ 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
|
1003 |
+ 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
|
1004 |
+ ._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
|
1005 |
+ <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
|
1006 |
+ 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
|
1007 |
+ 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
|
1008 |
+ 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
|
1009 |
+ </toolbarbutton> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1010 |
+ </hbox> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1011 |
+ </hbox> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1012 |
+ </toolbaritem> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1013 |
+ </toolbar> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1014 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1015 |
+ <!-- This is a shim which will go away ASAP. See bug 749804 for details --> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1016 |
+ <toolbar id="addon-bar" toolbar-delegate="nav-bar" mode="icons" iconsize="small" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1017 |
+ customizable="true"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1018 |
+ <hbox id="addonbar-closebutton"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1019 |
+ <statusbar id="status-bar"/> |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1020 |
+ </toolbar> |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1021 |
+ |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1022 |
+ <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
|
1023 |
+ |
650 | 1024 |
+# Update primaryToolbarButtons in browser/themes/shared/browser.inc when adding |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1025 |
+# or removing default items with the toolbarbutton-1 class. |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1026 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1027 |
+ <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
|
1028 |
+#ifdef XP_MACOSX |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1029 |
+ command="cmd_print" |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1030 |
+ tooltip="dynamic-shortcut-tooltip" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1031 |
+#else |
748
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1032 |
+ command="cmd_printPreview" |
72ba5129e5fd
full rebase to Aurora 32
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
739
diff
changeset
|
1033 |
+ tooltiptext="&printButton.tooltip;" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1034 |
+#endif |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1035 |
+ label="&printButton.label;"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1036 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1037 |
+ |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1038 |
+ <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
|
1039 |
+ label="&newNavigatorCmd.label;" |
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1040 |
+ command="key_newNavigator" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1041 |
+ 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
|
1042 |
+ 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
|
1043 |
+ 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
|
1044 |
+ ondragenter="newWindowButtonObserver.onDragOver(event)" |
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
1045 |
+ ondragexit="newWindowButtonObserver.onDragExit(event)"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1046 |
+ |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1047 |
+ <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
|
1048 |
+ 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
|
1049 |
+ 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
|
1050 |
+ label="&fullScreenCmd.label;" |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1051 |
+ 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
|
1052 |
+ </toolbarpalette> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1053 |
+ </toolbox> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1054 |
+ |
817 | 1055 |
+ <hbox id="fullscr-toggler" hidden="true"/> |
612 | 1056 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1057 |
+ <deck id="content-deck" flex="1"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1058 |
+ <hbox flex="1" id="browser"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1059 |
+ <vbox id="browser-border-start" hidden="true" layer="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1060 |
+ <vbox id="sidebar-box" hidden="true" class="chromeclass-extrachrome"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1061 |
+ <sidebarheader id="sidebar-header" align="center"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1062 |
+ <label id="sidebar-title" persist="value" flex="1" crop="end" control="sidebar"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1063 |
+ <image id="sidebar-throbber"/> |
850 | 1064 |
+ <toolbarbutton 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
|
1065 |
+ </sidebarheader> |
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1066 |
+ <browser id="sidebar" flex="1" autoscroll="false" disablehistory="true" disablefullscreen="true" |
850 | 1067 |
+ 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
|
1068 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1069 |
+ |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1070 |
+ <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
|
1071 |
+ <vbox id="appcontent" flex="1"> |
899 | 1072 |
+ <notificationbox id="high-priority-global-notificationbox" notificationside="top"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1073 |
+ <tabbrowser id="content" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1074 |
+ flex="1" contenttooltip="aHTMLTooltip" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1075 |
+ tabcontainer="tabbrowser-tabs" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1076 |
+ contentcontextmenu="contentAreaContextMenu" |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1077 |
+ autocompletepopup="PopupAutoComplete" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1078 |
+ selectmenulist="ContentSelectDropdown" |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1079 |
+ datetimepicker="DateTimePickerPanel"/> |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1080 |
+ </vbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1081 |
+ <vbox id="browser-border-end" hidden="true" layer="true"/> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1082 |
+ </hbox> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1083 |
+#include ../../components/customizableui/content/customizeMode.inc.xul |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1084 |
+ </deck> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1085 |
+ |
932 | 1086 |
+ <html:div id="fullscreen-warning" class="pointerlockfswarning" hidden="true"> |
1087 |
+ <html:div class="pointerlockfswarning-domain-text"> |
|
889 | 1088 |
+ &fullscreenWarning.beforeDomain.label; |
932 | 1089 |
+ <html:span class="pointerlockfswarning-domain"/> |
889 | 1090 |
+ &fullscreenWarning.afterDomain.label; |
1091 |
+ </html:div> |
|
932 | 1092 |
+ <html:div class="pointerlockfswarning-generic-text"> |
889 | 1093 |
+ &fullscreenWarning.generic.label; |
1094 |
+ </html:div> |
|
1095 |
+ <html:button id="fullscreen-exit-button" |
|
1096 |
+ onclick="FullScreen.exitDomFullScreen();"> |
|
1097 |
+#ifdef XP_MACOSX |
|
1098 |
+ &exitDOMFullscreenMac.button; |
|
1099 |
+#else |
|
1100 |
+ &exitDOMFullscreen.button; |
|
1101 |
+#endif |
|
1102 |
+ </html:button> |
|
1103 |
+ </html:div> |
|
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1104 |
+ |
932 | 1105 |
+ <html:div id="pointerlock-warning" class="pointerlockfswarning" hidden="true"> |
1106 |
+ <html:div class="pointerlockfswarning-domain-text"> |
|
1107 |
+ &pointerlockWarning.beforeDomain.label; |
|
1108 |
+ <html:span class="pointerlockfswarning-domain"/> |
|
1109 |
+ &pointerlockWarning.afterDomain.label; |
|
1110 |
+ </html:div> |
|
1111 |
+ <html:div class="pointerlockfswarning-generic-text"> |
|
1112 |
+ &pointerlockWarning.generic.label; |
|
1113 |
+ </html:div> |
|
1114 |
+ </html:div> |
|
1115 |
+ |
|
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1116 |
+ <vbox id="browser-bottombox" layer="true"> |
899 | 1117 |
+ <notificationbox id="global-notificationbox" notificationside="bottom"/> |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1118 |
+ </vbox> |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1119 |
+ |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1120 |
+ <svg:svg height="0"> |
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1121 |
+#include tab-shape.inc.svg |
868 | 1122 |
+ <svg:clipPath id="urlbar-back-button-clip-path"> |
718 | 1123 |
+#ifndef XP_MACOSX |
868 | 1124 |
+ <svg:path d="M -9,-4 l 0,1 a 15 15 0 0,1 0,30 l 0,1 l 10000,0 l 0,-32 l -10000,0 z" /> |
738 | 1125 |
+#else |
1126 |
+ <svg:path d="M -11,-5 a 16 16 0 0 1 0,34 l 10000,0 l 0,-34 l -10000,0 z"/> |
|
1127 |
+#endif |
|
479
56e16f4cce54
fix KDE's browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
467
diff
changeset
|
1128 |
+ </svg:clipPath> |
868 | 1129 |
+#ifdef XP_WIN |
1130 |
+ <svg:clipPath id="urlbar-back-button-clip-path-win10"> |
|
1131 |
+ <svg:path d="M -6,-2 l 0,1 a 15 15 0 0,1 0,30 l 0,1 l 10000,0 l 0,-32 l -10000,0 z" /> |
|
1132 |
+ </svg:clipPath> |
|
1133 |
+#endif |
|
205
71411f8585cd
fixed browser-kde.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
193
diff
changeset
|
1134 |
+ </svg:svg> |
178
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1135 |
+ |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1136 |
+</vbox> |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1137 |
+# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck. |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1138 |
+# Introducing the iframe dynamically, as needed, was found to be better than |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1139 |
+# starting with an empty iframe here in browser.xul from a Ts standpoint. |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1140 |
+</deck> |
77b00e921973
Synchronized browser-kde.xul with browser.xul
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
164
diff
changeset
|
1141 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1142 |
+</window> |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1143 |
diff --git a/browser/base/jar.mn b/browser/base/jar.mn |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1144 |
--- a/browser/base/jar.mn |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1145 |
+++ b/browser/base/jar.mn |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1146 |
@@ -66,16 +66,18 @@ browser.jar: |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1147 |
content/browser/aboutSocialError.xhtml (content/aboutSocialError.xhtml) |
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1148 |
content/browser/aboutProviderDirectory.xhtml (content/aboutProviderDirectory.xhtml) |
850 | 1149 |
content/browser/aboutTabCrashed.css (content/aboutTabCrashed.css) |
716
cef565f1c325
update to Firefox 29.0b7
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
703
diff
changeset
|
1150 |
content/browser/aboutTabCrashed.js (content/aboutTabCrashed.js) |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1151 |
content/browser/aboutTabCrashed.xhtml (content/aboutTabCrashed.xhtml) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1152 |
* content/browser/browser.css (content/browser.css) |
904 | 1153 |
content/browser/browser.js (content/browser.js) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1154 |
* content/browser/browser.xul (content/browser.xul) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1155 |
+* content/browser/browser-kde.xul (content/browser-kde.xul) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1156 |
+% override chrome://browser/content/browser.xul chrome://browser/content/browser-kde.xul desktop=kde |
904 | 1157 |
content/browser/browser-addons.js (content/browser-addons.js) |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1158 |
content/browser/browser-captivePortal.js (content/browser-captivePortal.js) |
904 | 1159 |
content/browser/browser-ctrlTab.js (content/browser-ctrlTab.js) |
1160 |
content/browser/browser-customization.js (content/browser-customization.js) |
|
1161 |
content/browser/browser-data-submission-info-bar.js (content/browser-data-submission-info-bar.js) |
|
1162 |
content/browser/browser-devedition.js (content/browser-devedition.js) |
|
1163 |
content/browser/browser-feeds.js (content/browser-feeds.js) |
|
932 | 1164 |
content/browser/browser-fullScreenAndPointerLock.js (content/browser-fullScreenAndPointerLock.js) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1165 |
diff --git a/browser/components/build/nsModule.cpp b/browser/components/build/nsModule.cpp |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1166 |
--- a/browser/components/build/nsModule.cpp |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1167 |
+++ b/browser/components/build/nsModule.cpp |
467
a9baaad57fa4
refreshed patches and removed obsolete ones
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
462
diff
changeset
|
1168 |
@@ -8,17 +8,17 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1169 |
#include "nsBrowserCompsCID.h" |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1170 |
#include "DirectoryProvider.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1171 |
|
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1172 |
#if defined(XP_WIN) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1173 |
#include "nsWindowsShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1174 |
#elif defined(XP_MACOSX) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1175 |
#include "nsMacShellService.h" |
659 | 1176 |
#elif defined(MOZ_WIDGET_GTK) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1177 |
-#include "nsGNOMEShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1178 |
+#include "nsUnixShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1179 |
#endif |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1180 |
|
515 | 1181 |
#if defined(XP_WIN) |
438
7d934b2f5014
rebased and removed upstreamed and obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
423
diff
changeset
|
1182 |
#include "nsIEHistoryEnumerator.h" |
399
20f8b5f0aea6
port KDE patches to Gecko 11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
398
diff
changeset
|
1183 |
#endif |
409 | 1184 |
|
438
7d934b2f5014
rebased and removed upstreamed and obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
423
diff
changeset
|
1185 |
#include "rdf.h" |
904 | 1186 |
#include "nsFeedSniffer.h" |
1187 |
@@ -31,18 +31,16 @@ using namespace mozilla::browser; |
|
133
a77c32dc7ffd
Adopted KDE patch to compile with FF4
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
127
diff
changeset
|
1188 |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1189 |
///////////////////////////////////////////////////////////////////////////// |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1190 |
|
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1191 |
NS_GENERIC_FACTORY_CONSTRUCTOR(DirectoryProvider) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1192 |
#if defined(XP_WIN) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1193 |
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowsShellService) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1194 |
#elif defined(XP_MACOSX) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1195 |
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMacShellService) |
659 | 1196 |
-#elif defined(MOZ_WIDGET_GTK) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1197 |
-NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGNOMEShellService, Init) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1198 |
#endif |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1199 |
|
515 | 1200 |
#if defined(XP_WIN) |
438
7d934b2f5014
rebased and removed upstreamed and obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
423
diff
changeset
|
1201 |
NS_GENERIC_FACTORY_CONSTRUCTOR(nsIEHistoryEnumerator) |
399
20f8b5f0aea6
port KDE patches to Gecko 11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
398
diff
changeset
|
1202 |
#endif |
409 | 1203 |
|
438
7d934b2f5014
rebased and removed upstreamed and obsolete patches
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
423
diff
changeset
|
1204 |
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFeedSniffer) |
904 | 1205 |
|
1206 |
@@ -60,17 +58,17 @@ NS_DEFINE_NAMED_CID(NS_WINIEHISTORYENUME |
|
637
73640b76d6c3
first building version of FF21
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
612
diff
changeset
|
1207 |
NS_DEFINE_NAMED_CID(NS_SHELLSERVICE_CID); |
356 | 1208 |
#endif |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1209 |
|
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1210 |
static const mozilla::Module::CIDEntry kBrowserCIDs[] = { |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1211 |
{ &kNS_BROWSERDIRECTORYPROVIDER_CID, false, nullptr, DirectoryProviderConstructor }, |
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 |
#if defined(XP_WIN) |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1213 |
{ &kNS_SHELLSERVICE_CID, false, nullptr, nsWindowsShellServiceConstructor }, |
659 | 1214 |
#elif defined(MOZ_WIDGET_GTK) |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1215 |
- { &kNS_SHELLSERVICE_CID, false, nullptr, nsGNOMEShellServiceConstructor }, |
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1216 |
+ { &kNS_SHELLSERVICE_CID, false, nullptr, nsUnixShellServiceConstructor }, |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1217 |
#endif |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1218 |
{ &kNS_FEEDSNIFFER_CID, false, nullptr, nsFeedSnifferConstructor }, |
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1219 |
{ &kNS_BROWSER_ABOUT_REDIRECTOR_CID, false, nullptr, AboutRedirector::Create }, |
515 | 1220 |
#if defined(XP_WIN) |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1221 |
{ &kNS_WINIEHISTORYENUMERATOR_CID, false, nullptr, nsIEHistoryEnumeratorConstructor }, |
127
4c86470ed796
Reenabling KDE integration patches (part 1: rebase and reenable; might need post-fixes)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
64
diff
changeset
|
1222 |
#elif defined(XP_MACOSX) |
686
ab25aac2aa83
Firefox 26.0b5 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
680
diff
changeset
|
1223 |
{ &kNS_SHELLSERVICE_CID, false, nullptr, nsMacShellServiceConstructor }, |
904 | 1224 |
#endif |
885 | 1225 |
diff --git a/browser/components/preferences/in-content/main.js b/browser/components/preferences/in-content/main.js |
1226 |
--- a/browser/components/preferences/in-content/main.js |
|
1227 |
+++ b/browser/components/preferences/in-content/main.js |
|
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1228 |
@@ -33,16 +33,22 @@ var gMainPane = { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1229 |
if (AppConstants.platform == "win") { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1230 |
// In Windows 8 we launch the control panel since it's the only |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1231 |
// way to get all file type association prefs. So we don't know |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1232 |
// when the user will select the default. We refresh here periodically |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1233 |
// in case the default changes. On other Windows OS's defaults can also |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1234 |
// be set while the prefs are open. |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1235 |
window.setInterval(this.updateSetDefaultBrowser.bind(this), 1000); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1236 |
} |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1237 |
+ |
223 | 1238 |
+ var env = Components.classes["@mozilla.org/process/environment;1"] |
885 | 1239 |
+ .getService(Components.interfaces.nsIEnvironment); |
223 | 1240 |
+ var kde_session = 0; |
1241 |
+ if (env.get('KDE_FULL_SESSION') == "true") |
|
885 | 1242 |
+ kde_session = 1; |
779 | 1243 |
} |
916 | 1244 |
|
935
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1245 |
// set up the "use current page" label-changing listener |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1246 |
this._updateUseCurrentButton(); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1247 |
window.addEventListener("focus", this._updateUseCurrentButton.bind(this), false); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1248 |
|
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1249 |
this.updateBrowserStartupLastSession(); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1250 |
|
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1251 |
@@ -704,16 +710,27 @@ var gMainPane = { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1252 |
let alwaysCheckPref = document.getElementById("browser.shell.checkDefaultBrowser"); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1253 |
alwaysCheckPref.value = true; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1254 |
|
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1255 |
let shellSvc = getShellService(); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1256 |
if (!shellSvc) |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1257 |
return; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1258 |
try { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1259 |
shellSvc.setDefaultBrowser(true, false); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1260 |
+ if (kde_session == 1) { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1261 |
+ var shellObj = Components.classes["@mozilla.org/file/local;1"] |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1262 |
+ .createInstance(Components.interfaces.nsILocalFile); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1263 |
+ shellObj.initWithPath("/usr/bin/kwriteconfig"); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1264 |
+ var process = Components.classes["@mozilla.org/process/util;1"] |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1265 |
+ .createInstance(Components.interfaces.nsIProcess); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1266 |
+ process.init(shellObj); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1267 |
+ var args = ["--file", "kdeglobals", "--group", "General", "--key", |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1268 |
+ "BrowserApplication", "firefox"]; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1269 |
+ process.run(false, args, args.length); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1270 |
+ } |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1271 |
} catch (ex) { |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1272 |
Cu.reportError(ex); |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1273 |
return; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1274 |
} |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1275 |
|
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1276 |
let selectedIndex = shellSvc.isDefaultBrowser(false, true) ? 1 : 0; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1277 |
document.getElementById("setDefaultPane").selectedIndex = selectedIndex; |
9ae2b79d3bb1
prepare FF 51 -> 51.0b14
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
932
diff
changeset
|
1278 |
} |
779 | 1279 |
diff --git a/browser/components/shell/moz.build b/browser/components/shell/moz.build |
1280 |
--- a/browser/components/shell/moz.build |
|
1281 |
+++ b/browser/components/shell/moz.build |
|
909 | 1282 |
@@ -34,16 +34,18 @@ if CONFIG['OS_ARCH'] == 'WINNT': |
659 | 1283 |
] |
1284 |
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
|
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
1285 |
SOURCES += [ |
659 | 1286 |
'nsMacShellService.cpp', |
1287 |
] |
|
923 | 1288 |
elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']: |
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
1289 |
SOURCES += [ |
659 | 1290 |
'nsGNOMEShellService.cpp', |
923 | 1291 |
+ 'nsKDEShellService.cpp', |
1292 |
+ 'nsUnixShellService.cpp', |
|
659 | 1293 |
] |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1294 |
|
691
18c2dc922e51
update to Firefox 27.0b2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
686
diff
changeset
|
1295 |
if SOURCES: |
703 | 1296 |
FINAL_LIBRARY = 'browsercomps' |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1297 |
|
659 | 1298 |
EXTRA_COMPONENTS += [ |
1299 |
'nsSetDefaultBrowser.js', |
|
1300 |
'nsSetDefaultBrowser.manifest', |
|
779 | 1301 |
diff --git a/browser/components/shell/nsKDEShellService.cpp b/browser/components/shell/nsKDEShellService.cpp |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1302 |
new file mode 100644 |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1303 |
--- /dev/null |
779 | 1304 |
+++ b/browser/components/shell/nsKDEShellService.cpp |
910
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1305 |
@@ -0,0 +1,203 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1306 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
548 | 1307 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1308 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1309 |
+ * 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
|
1310 |
+ |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1311 |
+#include "mozilla/ArrayUtils.h" |
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1312 |
+ |
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1313 |
+#include "nsCOMPtr.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1314 |
+#include "nsKDEShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1315 |
+#include "nsShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1316 |
+#include "nsKDEUtils.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1317 |
+#include "nsIPrefService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1318 |
+#include "nsIProcess.h" |
515 | 1319 |
+#include "nsIFile.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1320 |
+#include "nsServiceManagerUtils.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1321 |
+#include "nsComponentManagerUtils.h" |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1322 |
+#include "nsIMutableArray.h" |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1323 |
+#include "nsISupportsPrimitives.h" |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1324 |
+#include "nsArrayUtils.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1325 |
+ |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1326 |
+using namespace mozilla; |
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1327 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1328 |
+nsresult |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1329 |
+nsKDEShellService::Init() |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1330 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1331 |
+ if( !nsKDEUtils::kdeSupport()) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1332 |
+ return NS_ERROR_NOT_AVAILABLE; |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1333 |
+ return NS_OK; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1334 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1335 |
+ |
911 | 1336 |
+NS_IMPL_ISUPPORTS(nsKDEShellService, nsIGNOMEShellService, nsIShellService) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1337 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1338 |
+NS_IMETHODIMP |
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1339 |
+nsKDEShellService::IsDefaultBrowser(bool aStartupCheck, |
548 | 1340 |
+ bool aForAllTypes, |
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1341 |
+ bool* aIsDefaultBrowser) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1342 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1343 |
+ *aIsDefaultBrowser = false; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1344 |
+ if (aStartupCheck) |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1345 |
+ mCheckedThisSession = true; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1346 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1347 |
+ 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
|
1348 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1349 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1350 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1351 |
+ 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
|
1352 |
+ if (!str) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1353 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1354 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1355 |
+ str->SetData( NS_LITERAL_CSTRING( "ISDEFAULTBROWSER" )); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1356 |
+ command->AppendElement( str, false ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1357 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1358 |
+ if( nsKDEUtils::command( command )) |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1359 |
+ *aIsDefaultBrowser = true; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1360 |
+ return NS_OK; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1361 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1362 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1363 |
+NS_IMETHODIMP |
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1364 |
+nsKDEShellService::SetDefaultBrowser(bool aClaimAllTypes, |
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1365 |
+ bool aForAllUsers) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1366 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1367 |
+ 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
|
1368 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1369 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1370 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1371 |
+ 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
|
1372 |
+ 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
|
1373 |
+ if (!cmdstr || !paramstr) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1374 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1375 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1376 |
+ cmdstr->SetData( NS_LITERAL_CSTRING( "SETDEFAULTBROWSER" )); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1377 |
+ command->AppendElement( cmdstr, false ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1378 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1379 |
+ paramstr->SetData( aClaimAllTypes ? NS_LITERAL_CSTRING( "ALLTYPES" ) : NS_LITERAL_CSTRING( "NORMAL" )); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1380 |
+ command->AppendElement( paramstr, false ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1381 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1382 |
+ 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
|
1383 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1384 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1385 |
+NS_IMETHODIMP |
910
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1386 |
+nsKDEShellService::GetCanSetDesktopBackground(bool* aResult) |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1387 |
+{ |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1388 |
+ *aResult = true; |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1389 |
+ return NS_OK; |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1390 |
+} |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1391 |
+ |
a3615665211f
readd accidentally removed getter method
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
909
diff
changeset
|
1392 |
+NS_IMETHODIMP |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1393 |
+nsKDEShellService::SetDesktopBackground(nsIDOMElement* aElement, |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1394 |
+ PRInt32 aPosition) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1395 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1396 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1397 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1398 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1399 |
+NS_IMETHODIMP |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1400 |
+nsKDEShellService::GetDesktopBackgroundColor(PRUint32 *aColor) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1401 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1402 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1403 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1404 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1405 |
+NS_IMETHODIMP |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1406 |
+nsKDEShellService::SetDesktopBackgroundColor(PRUint32 aColor) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1407 |
+{ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1408 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1409 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1410 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1411 |
+NS_IMETHODIMP |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1412 |
+nsKDEShellService::OpenApplication(PRInt32 aApplication) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1413 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1414 |
+ 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
|
1415 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1416 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1417 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1418 |
+ 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
|
1419 |
+ if (!str) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1420 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1421 |
+ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1422 |
+ if( aApplication == APPLICATION_MAIL ) |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1423 |
+ str->SetData( NS_LITERAL_CSTRING( "OPENMAIL" )); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1424 |
+ else if( aApplication == APPLICATION_NEWS ) |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1425 |
+ str->SetData( NS_LITERAL_CSTRING( "OPENNEWS" )); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1426 |
+ else |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1427 |
+ return NS_ERROR_NOT_IMPLEMENTED; |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1428 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1429 |
+ command->AppendElement( str, false ); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1430 |
+ 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
|
1431 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1432 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1433 |
+NS_IMETHODIMP |
515 | 1434 |
+nsKDEShellService::OpenApplicationWithURI(nsIFile* aApplication, const nsACString& aURI) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1435 |
+{ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1436 |
+ 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
|
1437 |
+ if (!command) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1438 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1439 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1440 |
+ 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
|
1441 |
+ 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
|
1442 |
+ 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
|
1443 |
+ if (!cmdstr || !appstr || !uristr) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1444 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1445 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1446 |
+ cmdstr->SetData( NS_LITERAL_CSTRING( "RUN" )); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1447 |
+ command->AppendElement( cmdstr, false ); |
609 | 1448 |
+ nsAutoCString app; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1449 |
+ nsresult rv = aApplication->GetNativePath( app ); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1450 |
+ NS_ENSURE_SUCCESS( rv, rv ); |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1451 |
+ appstr->SetData( app ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1452 |
+ command->AppendElement( appstr, false ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1453 |
+ uristr->SetData( aURI ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1454 |
+ command->AppendElement( uristr, false ); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1455 |
+ 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
|
1456 |
+} |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1457 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1458 |
+NS_IMETHODIMP |
515 | 1459 |
+nsKDEShellService::GetDefaultFeedReader(nsIFile** _retval) |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1460 |
+{ |
541
830e50bbfc79
working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
522
diff
changeset
|
1461 |
+ *_retval = nullptr; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1462 |
+ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1463 |
+ 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
|
1464 |
+ if( !command ) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1465 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1466 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1467 |
+ 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
|
1468 |
+ if( !str ) |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1469 |
+ return NS_ERROR_FAILURE; |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1470 |
+ |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1471 |
+ str->SetData( NS_LITERAL_CSTRING( "GETDEFAULTFEEDREADER" )); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1472 |
+ command->AppendElement( str, false ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1473 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1474 |
+ nsCOMPtr<nsIArray> output; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1475 |
+ if( !nsKDEUtils::command( command, getter_AddRefs( output ) ) ) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1476 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1477 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1478 |
+ PRUint32 length; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1479 |
+ output->GetLength( &length ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1480 |
+ if( length != 1 ) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1481 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1482 |
+ |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1483 |
+ nsCOMPtr<nsISupportsCString> resstr = do_QueryElementAt( output, 0 ); |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1484 |
+ if( !resstr ) |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1485 |
+ return NS_ERROR_FAILURE; |
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1486 |
+ |
609 | 1487 |
+ nsAutoCString path; |
398
937669e1c537
ported and reenabled KDE integration (bnc#746591)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
367
diff
changeset
|
1488 |
+ resstr->GetData( path ); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1489 |
+ if (path.IsEmpty()) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1490 |
+ return NS_ERROR_FAILURE; |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1491 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1492 |
+ nsresult rv; |
515 | 1493 |
+ nsCOMPtr<nsIFile> defaultReader = |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1494 |
+ do_CreateInstance("@mozilla.org/file/local;1", &rv); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1495 |
+ NS_ENSURE_SUCCESS(rv, rv); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1496 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1497 |
+ rv = defaultReader->InitWithNativePath(path); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1498 |
+ NS_ENSURE_SUCCESS(rv, rv); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1499 |
+ |
367
3fabd9f66322
begin Firefox 10 cycle
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
356
diff
changeset
|
1500 |
+ bool exists; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1501 |
+ rv = defaultReader->Exists(&exists); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1502 |
+ NS_ENSURE_SUCCESS(rv, rv); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1503 |
+ if (!exists) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1504 |
+ return NS_ERROR_FAILURE; |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1505 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1506 |
+ NS_ADDREF(*_retval = defaultReader); |
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 |
+} |
779 | 1509 |
diff --git a/browser/components/shell/nsKDEShellService.h b/browser/components/shell/nsKDEShellService.h |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1510 |
new file mode 100644 |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1511 |
--- /dev/null |
779 | 1512 |
+++ b/browser/components/shell/nsKDEShellService.h |
911 | 1513 |
@@ -0,0 +1,30 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1514 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
889 | 1515 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1516 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1517 |
+ * 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
|
1518 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1519 |
+#ifndef nskdeshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1520 |
+#define nskdeshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1521 |
+ |
911 | 1522 |
+#include "nsIGNOMEShellService.h" |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1523 |
+#include "nsString.h" |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1524 |
+#include "mozilla/Attributes.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1525 |
+ |
911 | 1526 |
+class nsKDEShellService final : public nsIGNOMEShellService |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1527 |
+{ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1528 |
+public: |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1529 |
+ nsKDEShellService() : mCheckedThisSession(false) { } |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1530 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1531 |
+ NS_DECL_ISUPPORTS |
911 | 1532 |
+ NS_DECL_NSIGNOMESHELLSERVICE |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1533 |
+ NS_DECL_NSISHELLSERVICE |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1534 |
+ |
889 | 1535 |
+ nsresult Init(); |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1536 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1537 |
+private: |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1538 |
+ ~nsKDEShellService() {} |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1539 |
+ |
739
e178ad08fed6
update patch to Gecko 31
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
738
diff
changeset
|
1540 |
+ bool mCheckedThisSession; |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1541 |
+}; |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1542 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1543 |
+#endif // nskdeshellservice_h____ |
779 | 1544 |
diff --git a/browser/components/shell/nsUnixShellService.cpp b/browser/components/shell/nsUnixShellService.cpp |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1545 |
new file mode 100644 |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1546 |
--- /dev/null |
779 | 1547 |
+++ b/browser/components/shell/nsUnixShellService.cpp |
889 | 1548 |
@@ -0,0 +1,22 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1549 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
889 | 1550 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1551 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1552 |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
1553 |
+ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1554 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1555 |
+#include "nsUnixShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1556 |
+#include "nsGNOMEShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1557 |
+#include "nsKDEShellService.h" |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1558 |
+#include "nsKDEUtils.h" |
133
a77c32dc7ffd
Adopted KDE patch to compile with FF4
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
127
diff
changeset
|
1559 |
+#include "mozilla/ModuleUtils.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1560 |
+ |
136
0051f2b9308b
Fixed init of Shellservices
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
133
diff
changeset
|
1561 |
+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGNOMEShellService, Init) |
0051f2b9308b
Fixed init of Shellservices
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
133
diff
changeset
|
1562 |
+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
|
1563 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1564 |
+NS_METHOD |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1565 |
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1566 |
+{ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1567 |
+ if( nsKDEUtils::kdeSupport()) |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1568 |
+ return nsKDEShellServiceConstructor( aOuter, aIID, aResult ); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1569 |
+ return nsGNOMEShellServiceConstructor( aOuter, aIID, aResult ); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1570 |
+} |
779 | 1571 |
diff --git a/browser/components/shell/nsUnixShellService.h b/browser/components/shell/nsUnixShellService.h |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1572 |
new file mode 100644 |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1573 |
--- /dev/null |
779 | 1574 |
+++ b/browser/components/shell/nsUnixShellService.h |
889 | 1575 |
@@ -0,0 +1,15 @@ |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1576 |
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
889 | 1577 |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
1578 |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1579 |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
1580 |
+ |
|
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1581 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1582 |
+#ifndef nsunixshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1583 |
+#define nsunixshellservice_h____ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1584 |
+ |
911 | 1585 |
+#include "nsIGNOMEShellService.h" |
9
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1586 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1587 |
+NS_METHOD |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1588 |
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult); |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1589 |
+ |
bc5dfe5b853a
Rebased KDE integration patches to 1.9.2
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1590 |
+#endif // nsunixshellservice_h____ |
13
c7935ea2351b
kde.js was not shipped (missing in filelist)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
9
diff
changeset
|
1591 |
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in |
c7935ea2351b
kde.js was not shipped (missing in filelist)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
9
diff
changeset
|
1592 |
--- a/browser/installer/package-manifest.in |
c7935ea2351b
kde.js was not shipped (missing in filelist)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
9
diff
changeset
|
1593 |
+++ b/browser/installer/package-manifest.in |
942
66115255ad6f
prepare FF51 (currently 51.0b5)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
935
diff
changeset
|
1594 |
@@ -652,16 +652,17 @@ |
909 | 1595 |
@RESPATH@/greprefs.js |
899 | 1596 |
@RESPATH@/defaults/autoconfig/prefcalls.js |
889 | 1597 |
@RESPATH@/browser/defaults/permissions |
612 | 1598 |
|
462
2d86bdb4277f
14.0b6 (Aurora->Beta)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
438
diff
changeset
|
1599 |
; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325) |
612 | 1600 |
; Technically this is an app pref file, but we are keeping it in the original |
1601 |
; gre location for now. |
|
828 | 1602 |
@RESPATH@/defaults/pref/channel-prefs.js |
462
2d86bdb4277f
14.0b6 (Aurora->Beta)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
438
diff
changeset
|
1603 |
+@BINPATH@/defaults/pref/kde.js |
13
c7935ea2351b
kde.js was not shipped (missing in filelist)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
9
diff
changeset
|
1604 |
|
612 | 1605 |
; Services (gre) prefs |
828 | 1606 |
@RESPATH@/defaults/pref/services-sync.js |
904 | 1607 |
|
1608 |
; [Layout Engine Resources] |
|
929 | 1609 |
; Style Sheets, Graphics and other Resources used by the layout engine. |
1610 |
@RESPATH@/res/EditorOverride.css |
|
1611 |
@RESPATH@/res/contenteditable.css |