From 7d01b1a9b8561718646a6c4354fc5d8e18c6740a Mon Sep 17 00:00:00 2001 From: "mgalli%geckonnection.com" Date: Tue, 25 Oct 2005 19:09:53 +0000 Subject: [PATCH] Click global icon, toggles to normal mode - non fullscreen, so far. --- minimo/chrome/content/minimo.js | 13 ++++++++++--- minimo/chrome/content/minimo.xul | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/minimo/chrome/content/minimo.js b/minimo/chrome/content/minimo.js index 356c5d50575a..9ea519d15774 100755 --- a/minimo/chrome/content/minimo.js +++ b/minimo/chrome/content/minimo.js @@ -675,17 +675,24 @@ function BrowserScreenRotate() function BrowserMenuPopup() { document.getElementById("menu_MainPopup").showPopup(document.getElementById("menu-button"),-1,-1,"popup","bottomleft", "topleft"); } + function BrowserMenuPopupFalse() { document.getElementById("menu_MainPopup").hidePopup(); } +function BrowserMenuPopupContextualMenu() { + document.getElementById("contentAreaContextMenu").hidePopup(); + DoFullScreen(); + BrowserMenuPopup(); +} + function MenuPopupShowing() { - gShowingMenuPopup=true; - document.getElementById("menu-button").focus(); + gShowingMenuPopup=true; + document.getElementById("menu-button").focus(); } function MenuPopupHidden() { - gShowingMenuPopup=false; + gShowingMenuPopup=false; } /* diff --git a/minimo/chrome/content/minimo.xul b/minimo/chrome/content/minimo.xul index e8ee145825fa..8f6b5731d392 100755 --- a/minimo/chrome/content/minimo.xul +++ b/minimo/chrome/content/minimo.xul @@ -88,6 +88,7 @@ +