>Date: Wed, 9 Dec 2009 11:14:16 +0800
>From: Eric <[email protected]>
>To: [email protected]
>Cc: moblin <[email protected]>
>Subject: [Moblin Dev] Main Menubar
>Message-ID:
>       <[email protected]>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi,
>  I activated the "Main Menubar" in moblin-web-browser, then the menubar
>war
>shown, but when I restart the browser, the menubar disappeard. How did it
>happend?
>
>--
>Best regards
>Eric

This is actually intended behavior to save the screen size. 

However if you do want the menubar settings to be saved, please find the 
browser.jar zip file from the /usr/lib/moblin-internet-browser-x.x.x and change 
the utilityOverlay.js file as below:

chrome/browser.jar::content/browser/utilityOverlay.js:

function goToggleToolbar( id, elementID )
{
  var toolbar = document.getElementById(id);
  var element = document.getElementById(elementID);
  if (toolbar)
  {
    var isHidden = toolbar.hidden;
    toolbar.hidden = !isHidden;
    /*if (id != "toolbar-menubar")*/ document.persist(id, 'hidden');
    if (element) {
      element.setAttribute("checked", isHidden ? "true" : "false");
      /*if (id != "toolbar-menubar")*/ document.persist(elementID, 'checked');
    }
  }
}

Regards, Yong
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to