summaryrefslogtreecommitdiffstats
path: root/browser/components/shell/content/setDesktopBackground.xul
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-04 13:17:38 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-04 13:17:38 +0200
commita1be17c1cea81ebb1e8b131a662c698d78f3f7f2 (patch)
treea92f7de513be600cc07bac458183e9af40e00c06 /browser/components/shell/content/setDesktopBackground.xul
parentbf11fdd304898ac675e39b01b280d39550e419d0 (diff)
downloadUXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar
UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.gz
UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.lz
UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.xz
UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.zip
Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk
Diffstat (limited to 'browser/components/shell/content/setDesktopBackground.xul')
-rw-r--r--browser/components/shell/content/setDesktopBackground.xul84
1 files changed, 0 insertions, 84 deletions
diff --git a/browser/components/shell/content/setDesktopBackground.xul b/browser/components/shell/content/setDesktopBackground.xul
deleted file mode 100644
index d7d4079e3..000000000
--- a/browser/components/shell/content/setDesktopBackground.xul
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
-
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-<?xml-stylesheet href="chrome://browser/skin/setDesktopBackground.css" type="text/css"?>
-
-<!DOCTYPE dialog SYSTEM "chrome://browser/locale/setDesktopBackground.dtd">
-
-#ifdef XP_MACOSX
-<?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
-#endif
-
-<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:html="http://www.w3.org/1999/xhtml"
- windowtype="Shell:SetDesktopBackground"
-#ifndef XP_MACOSX
- buttons="accept,cancel"
-#else
- buttons="accept"
-#endif
- buttonlabelaccept="&setDesktopBackground.title;"
- onload="gSetBackground.load();"
- ondialogaccept="gSetBackground.setDesktopBackground();"
- title="&setDesktopBackground.title;"
- style="width: 30em;">
-
- <stringbundle id="backgroundBundle"
- src="chrome://browser/locale/shellservice.properties"/>
- <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
- <script type="application/javascript" src="chrome://browser/content/setDesktopBackground.js"/>
- <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
-
-#ifndef XP_MACOSX
- <hbox align="center">
- <label value="&position.label;"/>
- <menulist id="menuPosition"
- label="&position.label;"
- oncommand="gSetBackground.updatePosition();">
- <menupopup>
- <menuitem label="&center.label;" value="CENTER"/>
- <menuitem label="&tile.label;" value="TILE"/>
- <menuitem label="&stretch.label;" value="STRETCH"/>
- <menuitem label="&fill.label;" value="FILL" id="fillPosition"/>
- <menuitem label="&fit.label;" value="FIT" id="fitPosition"/>
- </menupopup>
- </menulist>
- <spacer flex="1"/>
- <label value="&color.label;"/>
- <colorpicker id="desktopColor"
- type="button"
- onchange="gSetBackground.updateColor(this.color);"/>
- </hbox>
-#endif
- <groupbox align="center">
- <caption label="&preview.label;"/>
- <stack>
- <!-- if width and height are not present, they default to 300x150 and stretch the stack -->
- <html:canvas id="screen" width="1" height="1"/>
- <image id="monitor"/>
- </stack>
- </groupbox>
-
-#ifdef XP_MACOSX
- <separator/>
-
- <hbox align="right">
- <button id="setDesktopBackground"
- label="&setDesktopBackground.title;"
- oncommand="gSetBackground.setDesktopBackground();"/>
- <button id="showDesktopPreferences"
- label="&openDesktopPrefs.label;"
- oncommand="gSetBackground.showDesktopPrefs();"
- hidden="true"/>
- </hbox>
-#endif
-
-#ifdef XP_MACOSX
-#include ../../../base/content/browserMountPoints.inc
-#endif
-
-</dialog>