diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-10-06 23:31:55 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-10-06 23:31:55 +0000 |
commit | 52ad2c1e2523b28aa5363656fbbef20e97665cce (patch) | |
tree | 17fa08828007484f14e432f70347064b76108b95 /gtk/scaffolding.c | |
parent | 3fde9589c1ba89d16ec4d294fb308631f0257e3a (diff) | |
download | netsurf-52ad2c1e2523b28aa5363656fbbef20e97665cce.tar.gz netsurf-52ad2c1e2523b28aa5363656fbbef20e97665cce.tar.bz2 |
initial favicon support
svn path=/trunk/netsurf/; revision=12975
Diffstat (limited to 'gtk/scaffolding.c')
-rw-r--r-- | gtk/scaffolding.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk/scaffolding.c b/gtk/scaffolding.c index 5c0366c08..b9a4b0909 100644 --- a/gtk/scaffolding.c +++ b/gtk/scaffolding.c @@ -2254,14 +2254,9 @@ void nsgtk_scaffolding_set_top_level (struct gui_window *gw) nsgtk_search_set_forward_state(true, bw); nsgtk_search_set_back_state(true, bw); - /* Ensure the window's title bar as well as favicon are updated */ + /* Ensure the window's title bar is updated */ if (bw->current_content != NULL) { - gui_window_set_title(gw, - content_get_title(bw->current_content)); - - if (content_get_type(bw->current_content) == CONTENT_HTML) - gui_window_set_icon(gw, - html_get_favicon(bw->current_content)); + gui_window_set_title(gw, content_get_title(bw->current_content)); } } |