28 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
28 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
29 + xmlns:svg="http://www.w3.org/2000/svg" |
29 + xmlns:svg="http://www.w3.org/2000/svg" |
30 + xmlns:html="http://www.w3.org/1999/xhtml" |
30 + xmlns:html="http://www.w3.org/1999/xhtml" |
31 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
31 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
32 + onload="gBrowserInit.onLoad()" onunload="gBrowserInit.onUnload()" onclose="return WindowIsClosing();" |
32 + onload="gBrowserInit.onLoad()" onunload="gBrowserInit.onUnload()" onclose="return WindowIsClosing();" |
33 + title="&mainWindow.title;@PRE_RELEASE_SUFFIX@" |
33 + title="&mainWindow.title;" |
34 + title_normal="&mainWindow.title;@PRE_RELEASE_SUFFIX@" |
34 + title_normal="&mainWindow.title;" |
35 +#ifdef XP_MACOSX |
35 +#ifdef XP_MACOSX |
36 + title_privatebrowsing="&mainWindow.title;@PRE_RELEASE_SUFFIX@&mainWindow.titlemodifiermenuseparator;&mainWindow.titlePrivateBrowsingSuffix;" |
36 + title_privatebrowsing="&mainWindow.title;&mainWindow.titlemodifiermenuseparator;&mainWindow.titlePrivateBrowsingSuffix;" |
37 + titledefault="&mainWindow.title;@PRE_RELEASE_SUFFIX@" |
37 + titledefault="&mainWindow.title;" |
38 + titlemodifier="" |
38 + titlemodifier="" |
39 + titlemodifier_normal="" |
39 + titlemodifier_normal="" |
40 + titlemodifier_privatebrowsing="&mainWindow.titlePrivateBrowsingSuffix;" |
40 + titlemodifier_privatebrowsing="&mainWindow.titlePrivateBrowsingSuffix;" |
41 +#else |
41 +#else |
42 + title_privatebrowsing="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@ &mainWindow.titlePrivateBrowsingSuffix;" |
42 + title_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;" |
43 + titlemodifier="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@" |
43 + titlemodifier="&mainWindow.titlemodifier;" |
44 + titlemodifier_normal="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@" |
44 + titlemodifier_normal="&mainWindow.titlemodifier;" |
45 + titlemodifier_privatebrowsing="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@ &mainWindow.titlePrivateBrowsingSuffix;" |
45 + titlemodifier_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;" |
46 +#endif |
46 +#endif |
47 + titlemenuseparator="&mainWindow.titlemodifiermenuseparator;" |
47 + titlemenuseparator="&mainWindow.titlemodifiermenuseparator;" |
48 + lightweightthemes="true" |
48 + lightweightthemes="true" |
49 + lightweightthemesfooter="browser-bottombox" |
49 + lightweightthemesfooter="browser-bottombox" |
50 + windowtype="navigator:browser" |
50 + windowtype="navigator:browser" |
141 + <panel id="editBookmarkPanel" |
141 + <panel id="editBookmarkPanel" |
142 + type="arrow" |
142 + type="arrow" |
143 + footertype="promobox" |
143 + footertype="promobox" |
144 + orient="vertical" |
144 + orient="vertical" |
145 + ignorekeys="true" |
145 + ignorekeys="true" |
146 + consumeoutsideclicks="true" |
|
147 + hidden="true" |
146 + hidden="true" |
148 + onpopupshown="StarUI.panelShown(event);" |
147 + onpopupshown="StarUI.panelShown(event);" |
149 + aria-labelledby="editBookmarkPanelTitle"> |
148 + aria-labelledby="editBookmarkPanelTitle"> |
150 + <row id="editBookmarkPanelHeader" align="center" hidden="true"> |
149 + <row id="editBookmarkPanelHeader" align="center" hidden="true"> |
151 + <vbox align="center"> |
150 + <vbox align="center"> |
236 + class="social-panel" |
233 + class="social-panel" |
237 + type="arrow" |
234 + type="arrow" |
238 + orient="horizontal" |
235 + orient="horizontal" |
239 + onpopupshowing="SocialShare.onShowing()" |
236 + onpopupshowing="SocialShare.onShowing()" |
240 + onpopuphidden="SocialShare.onHidden()" |
237 + onpopuphidden="SocialShare.onHidden()" |
241 + consumeoutsideclicks="true" |
|
242 + hidden="true"> |
238 + hidden="true"> |
243 + <vbox class="social-share-toolbar"> |
239 + <vbox class="social-share-toolbar"> |
244 + <vbox id="social-share-provider-buttons" flex="1"/> |
240 + <vbox id="social-share-provider-buttons" flex="1"/> |
245 + </vbox> |
241 + </vbox> |
246 + </panel> |
242 + </panel> |
1104 + </hbox> |
1098 + </hbox> |
1105 + |
1099 + |
1106 + <vbox id="browser-bottombox" layer="true"> |
1100 + <vbox id="browser-bottombox" layer="true"> |
1107 + <notificationbox id="global-notificationbox"/> |
1101 + <notificationbox id="global-notificationbox"/> |
1108 + <toolbar id="developer-toolbar" |
1102 + <toolbar id="developer-toolbar" |
1109 + class="devtools-toolbar" |
|
1110 + hidden="true"> |
1103 + hidden="true"> |
1111 +#ifdef XP_MACOSX |
1104 +#ifdef XP_MACOSX |
1112 + <toolbarbutton id="developer-toolbar-closebutton" |
1105 + <toolbarbutton id="developer-toolbar-closebutton" |
1113 + class="devtools-closebutton" |
1106 + class="devtools-closebutton" |
1114 + oncommand="DeveloperToolbar.hide();" |
1107 + oncommand="DeveloperToolbar.hide();" |
1322 #endif |
1315 #endif |
1323 }; |
1316 }; |
1324 diff --git a/browser/components/shell/src/Makefile.in b/browser/components/shell/src/Makefile.in |
1317 diff --git a/browser/components/shell/src/Makefile.in b/browser/components/shell/src/Makefile.in |
1325 --- a/browser/components/shell/src/Makefile.in |
1318 --- a/browser/components/shell/src/Makefile.in |
1326 +++ b/browser/components/shell/src/Makefile.in |
1319 +++ b/browser/components/shell/src/Makefile.in |
1327 @@ -8,10 +8,12 @@ USE_STATIC_LIBS = 1 |
1320 @@ -2,10 +2,12 @@ |
|
1321 # This Source Code Form is subject to the terms of the Mozilla Public |
|
1322 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
1323 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
1328 |
1324 |
1329 include $(topsrcdir)/config/rules.mk |
1325 include $(topsrcdir)/config/rules.mk |
1330 |
|
1331 DEFINES += -DMOZ_APP_NAME=\"$(MOZ_APP_NAME)\" \ |
|
1332 -DMOZ_APP_VERSION=\"$(MOZ_APP_VERSION)\" |
|
1333 |
1326 |
1334 CXXFLAGS += $(TK_CFLAGS) |
1327 CXXFLAGS += $(TK_CFLAGS) |
1335 |
1328 |
1336 +LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre |
1329 +LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre |
1337 + |
1330 + |
1338 clobber:: |
1331 clobber:: |
1339 rm -f $(DIST)/lib/$(LIBRARY_NAME).lib |
1332 rm -f $(DIST)/lib/$(LIBRARY_NAME).lib |
1340 diff --git a/browser/components/shell/src/moz.build b/browser/components/shell/src/moz.build |
1333 diff --git a/browser/components/shell/src/moz.build b/browser/components/shell/src/moz.build |
1341 --- a/browser/components/shell/src/moz.build |
1334 --- a/browser/components/shell/src/moz.build |
1342 +++ b/browser/components/shell/src/moz.build |
1335 +++ b/browser/components/shell/src/moz.build |
1343 @@ -12,16 +12,18 @@ if CONFIG['OS_ARCH'] == 'WINNT': |
1336 @@ -10,16 +10,18 @@ if CONFIG['OS_ARCH'] == 'WINNT': |
1344 ] |
1337 ] |
1345 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
1338 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
1346 SOURCES += [ |
1339 SOURCES += [ |
1347 'nsMacShellService.cpp', |
1340 'nsMacShellService.cpp', |
1348 ] |
1341 ] |
1349 elif CONFIG['MOZ_WIDGET_GTK']: |
1342 elif CONFIG['MOZ_WIDGET_GTK']: |
1350 SOURCES += [ |
1343 SOURCES += [ |
1351 'nsGNOMEShellService.cpp', |
1344 'nsGNOMEShellService.cpp', |
1352 + 'nsKDEShellService.cpp', |
1345 + 'nsKDEShellService.cpp', |
1353 + 'nsUnixShellService.cpp' |
1346 + 'nsUnixShellService.cpp', |
1354 ] |
1347 ] |
1355 |
1348 |
1356 if SOURCES: |
1349 if SOURCES: |
1357 LIBRARY_NAME = 'shellservice_s' |
1350 FINAL_LIBRARY = 'browsercomps' |
1358 |
1351 |
1359 EXTRA_COMPONENTS += [ |
1352 EXTRA_COMPONENTS += [ |
1360 'nsSetDefaultBrowser.js', |
1353 'nsSetDefaultBrowser.js', |
1361 'nsSetDefaultBrowser.manifest', |
1354 'nsSetDefaultBrowser.manifest', |
1362 diff --git a/browser/components/shell/src/nsKDEShellService.cpp b/browser/components/shell/src/nsKDEShellService.cpp |
1355 diff --git a/browser/components/shell/src/nsKDEShellService.cpp b/browser/components/shell/src/nsKDEShellService.cpp |
1770 + |
1763 + |
1771 +#endif // nsunixshellservice_h____ |
1764 +#endif // nsunixshellservice_h____ |
1772 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in |
1765 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in |
1773 --- a/browser/installer/package-manifest.in |
1766 --- a/browser/installer/package-manifest.in |
1774 +++ b/browser/installer/package-manifest.in |
1767 +++ b/browser/installer/package-manifest.in |
1775 @@ -613,19 +613,21 @@ |
1768 @@ -640,19 +640,21 @@ |
1776 @BINPATH@/defaults/autoconfig/prefcalls.js |
1769 @BINPATH@/defaults/autoconfig/prefcalls.js |
1777 @BINPATH@/browser/defaults/profile/prefs.js |
1770 @BINPATH@/browser/defaults/profile/prefs.js |
1778 |
1771 |
1779 #ifndef LIBXUL_SDK |
1772 #ifndef LIBXUL_SDK |
1780 ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325) |
1773 ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325) |