Make framebuffer front end use r6827 functions. Note: stop & reload availability is still not assessed for framebuffer toolbar.

svn path=/trunk/netsurf/; revision=6829
This commit is contained in:
Michael Drake 2009-03-23 23:31:48 +00:00
parent 82aedf9600
commit da3b0227a7

View File

@ -473,12 +473,14 @@ fb_browser_window_input(fbtk_widget_t *widget, int value, void *pw)
static void
fb_update_back_forward(struct gui_window *gw)
{
struct browser_window *bw = gw->bw;
struct browser_window *bw = gw->bw;
fbtk_set_bitmap(gw->back,
(history_back_available(bw->history))? &left_arrow : &left_arrow_g);
fbtk_set_bitmap(gw->forward,
(history_forward_available(bw->history))? &right_arrow : &right_arrow_g);
fbtk_set_bitmap(gw->back,
(browser_window_back_available(bw)) ?
&left_arrow : &left_arrow_g);
fbtk_set_bitmap(gw->forward,
(browser_window_forward_available(bw)) ?
&right_arrow : &right_arrow_g);
}
/* left icon click routine */