mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
connected prefs, tweaked UI font sizes
This commit is contained in:
parent
094f51e1e6
commit
cadf2cec72
@ -450,6 +450,7 @@ nsBrowserWindow::QueryInterface(const nsIID& aIID,
|
||||
|
||||
nsresult
|
||||
nsBrowserWindow::Init(nsIAppShell* aAppShell,
|
||||
nsIPref* aPrefs,
|
||||
const nsRect& aBounds,
|
||||
PRUint32 aChromeMask)
|
||||
{
|
||||
@ -477,6 +478,7 @@ nsBrowserWindow::Init(nsIAppShell* aAppShell,
|
||||
rv = mWebShell->Init(mWindow->GetNativeData(NS_NATIVE_WIDGET), r);
|
||||
mWebShell->SetContainer((nsIWebShellContainer*) this);
|
||||
mWebShell->SetObserver((nsIStreamObserver*)this);
|
||||
mWebShell->SetPrefs(aPrefs);
|
||||
mWebShell->Show();
|
||||
|
||||
if (NS_CHROME_MENU_BAR_ON & aChromeMask) {
|
||||
@ -510,9 +512,9 @@ nsBrowserWindow::Init(nsIAppShell* aAppShell,
|
||||
|
||||
// XXX This sort of thing should be in a resource
|
||||
#define TOOL_BAR_FONT "Helvetica"
|
||||
#define TOOL_BAR_FONT_SIZE 7
|
||||
#define TOOL_BAR_FONT_SIZE 12
|
||||
#define STATUS_BAR_FONT "Helvetica"
|
||||
#define STATUS_BAR_FONT_SIZE 5
|
||||
#define STATUS_BAR_FONT_SIZE 10
|
||||
|
||||
nsresult
|
||||
nsBrowserWindow::CreateToolBar(PRInt32 aWidth)
|
||||
|
Loading…
Reference in New Issue
Block a user