diff options
author | Ole Loots <ole@monochrom.net> | 2013-09-21 05:29:04 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-10-06 01:24:17 +0200 |
commit | 49f4fa0d787c867ed24ac49897feb347939d4ef3 (patch) | |
tree | 3400ff2f7072abd6f05863aed7157f7084e51cb9 /atari/toolbar.c | |
parent | 074b07253551fb6aeb1d71ee4dfbf9b838cbf663 (diff) | |
download | netsurf-49f4fa0d787c867ed24ac49897feb347939d4ef3.tar.gz netsurf-49f4fa0d787c867ed24ac49897feb347939d4ef3.tar.bz2 |
Hotlist and History and Cookies Manager implemented.
(The Cookie Manager window is a new one)
Diffstat (limited to 'atari/toolbar.c')
-rw-r--r-- | atari/toolbar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/atari/toolbar.c b/atari/toolbar.c index e190c9676..6c08428a1 100644 --- a/atari/toolbar.c +++ b/atari/toolbar.c @@ -444,6 +444,7 @@ void toolbar_redraw(struct s_toolbar *tb, GRECT *clip) //dbg_grect("toolbar redraw clip", clip); + /* Redraw the AES objects: */ objc_draw_grect(tb->form,0,8,clip); objc_draw_grect(&throbber_form[tb->throbber.index], 0, 1, clip); @@ -461,6 +462,7 @@ void toolbar_redraw(struct s_toolbar *tb, GRECT *clip) }; //dbg_rect("tb textarea clip: ", &r); // TODO: let this be handled by an userdef object redraw function: + /* Redraw the url input: */ textarea_redraw(tb->url.textarea, 0, 0, 0xffffff, 1.0, &r, &toolbar_rdrw_ctx); } } @@ -594,7 +596,7 @@ void toolbar_set_url(struct s_toolbar *tb, const char * text) LOG(("")); textarea_set_text(tb->url.textarea, text); - if (tb->attached) { + if (tb->attached && tb->visible) { GRECT area; toolbar_get_grect(tb, TOOLBAR_AREA_URL, &area); window_schedule_redraw_grect(tb->owner, &area); |