diff options
author | Adrien Destugues <pulkomandy@pulkomandy.tk> | 2016-02-01 23:21:24 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-02-01 23:21:24 +0000 |
commit | 18c8cb0f8597e7c3a516032439069eddb13559b7 (patch) | |
tree | 4fc8c6ce1f61b7b023cb4e8281e9eb4da451dd8e /beos/cookies.cpp | |
parent | 25b88e42e6160c163f36f69226b4781c2fb56c92 (diff) | |
download | netsurf-18c8cb0f8597e7c3a516032439069eddb13559b7.tar.gz netsurf-18c8cb0f8597e7c3a516032439069eddb13559b7.tar.bz2 |
UI fixes for search bar and cookie manager
- Make the "Utilities" menu enabled again, since the cookie manager is
there,
- Bigger default size for the cookie manager window, and activate it
when shown,
- Fix the layout of the top bar so the search field is visible, and
make it send the search request to the right place.
Diffstat (limited to 'beos/cookies.cpp')
-rw-r--r-- | beos/cookies.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/beos/cookies.cpp b/beos/cookies.cpp index acd0ac14d..d1357fffa 100644 --- a/beos/cookies.cpp +++ b/beos/cookies.cpp @@ -145,7 +145,7 @@ CookieWindow::CookieWindow(BRect frame) : BWindow(frame,"Cookie manager", B_TITLED_WINDOW, B_NORMAL_WINDOW_FEEL, - B_AUTO_UPDATE_SIZE_LIMITS | B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE) + B_AUTO_UPDATE_SIZE_LIMITS | B_ASYNCHRONOUS_CONTROLS) { BGroupLayout* root = new BGroupLayout(B_HORIZONTAL, 0.0); SetLayout(root); @@ -410,7 +410,8 @@ CookieWindow::_DeleteCookies() */ void nsbeos_cookies_init(void) { - CookieWindow* cookWin=new CookieWindow(BRect(100,100,400,400)); + CookieWindow* cookWin=new CookieWindow(BRect(100,100,700,500)); cookWin->Show(); + cookWin->Activate(); urldb_iterate_cookies(&nsbeos_cookie_parser); } |