[Pkg-mozext-commits] [all-in-one-sidebar] 34/49: Ignore: cleanup and compile new addons.css

David Prévot taffit at moszumanska.debian.org
Fri Sep 19 16:46:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository all-in-one-sidebar.

commit fd1e38436598f12042d6b4eb1c83b87a7a560506
Author: Ingo Wennemaring <github at addonlab.com>
Date:   Tue Sep 9 16:38:44 2014 +0200

    Ignore: cleanup and compile new addons.css
---
 content/aios_fx.js  | 180 ----------------------------------------------------
 skin/css/addons.css |   2 +-
 2 files changed, 1 insertion(+), 181 deletions(-)

diff --git a/content/aios_fx.js b/content/aios_fx.js
index b3977b2..5411189 100644
--- a/content/aios_fx.js
+++ b/content/aios_fx.js
@@ -1,184 +1,4 @@
 /*
-if(aios_collapseSidebar) BrowserStartup = function() {
-  var uriToLoad = null;
-
-  // window.arguments[0]: URI to load (string), or an nsISupportsArray of
-  //                      nsISupportsStrings to load, or a xul:tab of
-  //                      a tabbrowser, which will be replaced by this
-  //                      window (for this case, all other arguments are
-  //                      ignored).
-  //                 [1]: character set (string)
-  //                 [2]: referrer (nsIURI)
-  //                 [3]: postData (nsIInputStream)
-  //                 [4]: allowThirdPartyFixup (bool)
-  if ("arguments" in window && window.arguments[0])
-    uriToLoad = window.arguments[0];
-
-  var isLoadingBlank = uriToLoad == "about:blank";
-  var mustLoadSidebar = false;
-
-  prepareForStartup();
-
-  if (uriToLoad && !isLoadingBlank) {
-    if (uriToLoad instanceof Ci.nsISupportsArray) {
-      let count = uriToLoad.Count();
-      let specs = [];
-      for (let i = 0; i < count; i++) {
-        let urisstring = uriToLoad.GetElementAt(i).QueryInterface(Ci.nsISupportsString);
-        specs.push(urisstring.data);
-      }
-
-      // This function throws for certain malformed URIs, so use exception handling
-      // so that we don't disrupt startup
-      try {
-        gBrowser.loadTabs(specs, false, true);
-      } catch (e) {}
-    }
-    else if (uriToLoad instanceof XULElement) {
-      // swap the given tab with the default about:blank tab and then close
-      // the original tab in the other window.
-
-      // Stop the about:blank load
-      gBrowser.stop();
-      // make sure it has a docshell
-      gBrowser.docShell;
-
-      gBrowser.swapBrowsersAndCloseOther(gBrowser.selectedTab, uriToLoad);
-    }
-    else if (window.arguments.length >= 3) {
-      loadURI(uriToLoad, window.arguments[2], window.arguments[3] || null,
-              window.arguments[4] || false);
-      content.focus();
-    }
-    // Note: loadOneOrMoreURIs *must not* be called if window.arguments.length >= 3.
-    // Such callers expect that window.arguments[0] is handled as a single URI.
-    else
-      loadOneOrMoreURIs(uriToLoad);
-  }
-
-  if (window.opener && !window.opener.closed) {
-    let openerSidebarBox = window.opener.document.getElementById("sidebar-box");
-    // If the opener had a sidebar, open the same sidebar in our window.
-    // The opener can be the hidden window too, if we're coming from the state
-    // where no windows are open, and the hidden window has no sidebar box.
-    // mod by exxile if (openerSidebarBox && !openerSidebarBox.hidden) {
-    // CollapseByStyle-Methode if (openerSidebarBox && !openerSidebarBox.hidden && openerSidebarBox.getAttribute('style') == "") {
-    if (openerSidebarBox && !openerSidebarBox.hidden && !openerSidebarBox.collapsed) {
-      let sidebarCmd = openerSidebarBox.getAttribute("sidebarcommand");
-      let sidebarCmdElem = document.getElementById(sidebarCmd);
-
-      // dynamically generated sidebars will fail this check.
-      if (sidebarCmdElem) {
-        let sidebarBox = document.getElementById("sidebar-box");
-        let sidebarTitle = document.getElementById("sidebar-title");
-
-        sidebarTitle.setAttribute(
-          "value", window.opener.document.getElementById("sidebar-title").getAttribute("value"));
-        sidebarBox.setAttribute("width", openerSidebarBox.boxObject.width);
-
-        sidebarBox.setAttribute("sidebarcommand", sidebarCmd);
-        // Note: we're setting 'src' on sidebarBox, which is a <vbox>, not on
-        // the <browser id="sidebar">. This lets us delay the actual load until
-        // delayedStartup().
-        sidebarBox.setAttribute(
-          "src", window.opener.document.getElementById("sidebar").getAttribute("src"));
-        mustLoadSidebar = true;
-
-        sidebarBox.hidden = false;
-        document.getElementById("sidebar-splitter").hidden = false;
-        sidebarCmdElem.setAttribute("checked", "true");
-      }
-    }
-  }
-  else {
-    let box = document.getElementById("sidebar-box");
-    if (box.hasAttribute("sidebarcommand")) {
-      let commandID = box.getAttribute("sidebarcommand");
-      if (commandID) {
-        let command = document.getElementById(commandID);
-        if (command) {
-          mustLoadSidebar = true;
-          box.hidden = false;
-          document.getElementById("sidebar-splitter").hidden = false;
-          command.setAttribute("checked", "true");
-        }
-        else {
-          // Remove the |sidebarcommand| attribute, because the element it
-          // refers to no longer exists, so we should assume this sidebar
-          // panel has been uninstalled. (249883)
-          box.removeAttribute("sidebarcommand");
-        }
-      }
-    }
-  }
-
-  // Certain kinds of automigration rely on this notification to complete their
-  // tasks BEFORE the browser window is shown.
-  Services.obs.notifyObservers(null, "browser-window-before-show", "");
-
-  // Set a sane starting width/height for all resolutions on new profiles.
-  if (!document.documentElement.hasAttribute("width")) {
-    let defaultWidth = 994;
-    let defaultHeight;
-    if (screen.availHeight <= 600) {
-      document.documentElement.setAttribute("sizemode", "maximized");
-      defaultWidth = 610;
-      defaultHeight = 450;
-    }
-    else {
-      // Create a narrower window for large or wide-aspect displays, to suggest
-      // side-by-side page view.
-      if (screen.availWidth >= 1600)
-        defaultWidth = (screen.availWidth / 2) - 20;
-      defaultHeight = screen.availHeight - 10;
-//@line 1344 "e:\builds\moz2_slave\rel-m-beta-w32-bld\build\browser\base\content\browser.js"
-    }
-    document.documentElement.setAttribute("width", defaultWidth);
-    document.documentElement.setAttribute("height", defaultHeight);
-  }
-
-  if (!gShowPageResizers)
-    document.getElementById("status-bar").setAttribute("hideresizer", "true");
-
-  if (!window.toolbar.visible) {
-    // adjust browser UI for popups
-    if (gURLBar) {
-      gURLBar.setAttribute("readonly", "true");
-      gURLBar.setAttribute("enablehistory", "false");
-    }
-    goSetCommandEnabled("cmd_newNavigatorTab", false);
-  }
-
-//@line 1362 "e:\builds\moz2_slave\rel-m-beta-w32-bld\build\browser\base\content\browser.js"
-    //mod by exxile: updateAppButtonDisplay();
-    if(AiOS_HELPER.os != "Darwin") updateAppButtonDisplay();
-//@line 1364 "e:\builds\moz2_slave\rel-m-beta-w32-bld\build\browser\base\content\browser.js"
-
-  CombinedStopReload.init();
-
-  allTabs.readPref();
-
-  // mod by exxile: init >= Fx 12, syncCommand <= Fx 11
-  (typeof TabsOnTop.init == "function") ? TabsOnTop.init() : TabsOnTop.syncCommand();
-
-  BookmarksMenuButton.init();
-
-  TabsInTitlebar.init();
-
-  gPrivateBrowsingUI.init();
-
-  retrieveToolbarIconsizesFromTheme();
-
-  gDelayedStartupTimeoutId = window.setTimeout(function() {
-      delayedStartup(isLoadingBlank, mustLoadSidebar);
-  }, 0);
-
-  gStartupRan = true;
-}
-*/
-
-
-/*
   from chrome://browser/content/browser.js
 */
 
diff --git a/skin/css/addons.css b/skin/css/addons.css
index f040294..b1d2f93 100644
--- a/skin/css/addons.css
+++ b/skin/css/addons.css
@@ -1 +1 @@
-page[aios-inSidebar]{padding:0;}page[aios-inSidebar]>hbox{-moz-box-orient:vertical;}page[aios-inSidebar] #categories{margin:0;padding:1px 1px 0 1px;}page[aios-inSidebar] .category,page[aios-inSidebar] .category:not([disabled]){height:auto;margin:0 1px 1px 0;padding:2px;}page[aios-inSidebar] .category-icon{margin:0;}page[aios-inSidebar] #category-search[disabled="true"],page[aios-inSidebar] #category-availableUpdates[disabled="true"],page[aios-inSidebar] #category-recentUpdates[disabled=" [...]
\ No newline at end of file
+page[aios-inSidebar]{padding:0;}page[aios-inSidebar]>hbox{-moz-box-orient:vertical;}page[aios-inSidebar] #categories{margin:0;padding:1px 1px 0 1px;}page[aios-inSidebar] .category,page[aios-inSidebar] .category:not([disabled]){height:auto;margin:0 1px 1px 0;padding:2px;}page[aios-inSidebar] .category-icon{margin:0;}page[aios-inSidebar] #category-search[disabled="true"],page[aios-inSidebar] #category-availableUpdates[disabled="true"],page[aios-inSidebar] #category-recentUpdates[disabled=" [...]
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/all-in-one-sidebar.git



More information about the Pkg-mozext-commits mailing list