diff options
author | Ole Loots <ole@monochrom.net> | 2013-09-21 05:29:04 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-09-21 05:29:04 +0200 |
commit | 3a5d8cf6c1bbecfaa23e28a8b4b25f380091db30 (patch) | |
tree | 7c7fbfb73e816863dd814c65f87874429ad52748 /atari/toolbar.c | |
parent | 559c9196858297862be6d5fc44ade73fcd9a0fe4 (diff) | |
download | netsurf-3a5d8cf6c1bbecfaa23e28a8b4b25f380091db30.tar.gz netsurf-3a5d8cf6c1bbecfaa23e28a8b4b25f380091db30.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); |