Browse Source

Fix -webapp

master
Dorian 7 years ago
parent
commit
160692f455
  1. 2
      k-meleon/app/HiddenWnd.cpp

2
k-meleon/app/HiddenWnd.cpp

@ -210,8 +210,10 @@ BOOL CHiddenWnd::ShowBrowser(LPTSTR URI, BOOL webapp, BOOL atStart) {
PRUint32 chromeMask = nsIWebBrowserChrome::CHROME_WINDOW_RESIZE |
nsIWebBrowserChrome::CHROME_WINDOW_CLOSE |
nsIWebBrowserChrome::CHROME_TITLEBAR |
nsIWebBrowserChrome::CHROME_SCROLLBARS |
nsIWebBrowserChrome::CHROME_WINDOW_MIN;
browser = theApp.CreateNewBrowserFrame(chromeMask, FALSE, NULL);
wrapper = browser->GetActiveView()->GetBrowserWrapper();
} else if (openmode == 2 || !theApp.m_pMostRecentBrowserFrame ) {
browser = theApp.CreateNewBrowserFrame();
wrapper = browser->GetActiveView()->GetBrowserWrapper();

Loading…
Cancel
Save