diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-15 23:02:04 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-08-15 23:02:04 +0100 |
commit | 01f3879b647e69684ef8cbcc53f44b2c9b7b5df8 (patch) | |
tree | 52d332866e4d87fd6dda1d7ebf133d1007683271 /frontends/gtk/scaffolding.c | |
parent | 44f3846727d35ab17be3f779caa4a33548cdc152 (diff) | |
download | netsurf-01f3879b647e69684ef8cbcc53f44b2c9b7b5df8.tar.gz netsurf-01f3879b647e69684ef8cbcc53f44b2c9b7b5df8.tar.bz2 |
Move favicon from url entry widget to notebook tab label
Diffstat (limited to 'frontends/gtk/scaffolding.c')
-rw-r--r-- | frontends/gtk/scaffolding.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/frontends/gtk/scaffolding.c b/frontends/gtk/scaffolding.c index 619498900..e39efc43f 100644 --- a/frontends/gtk/scaffolding.c +++ b/frontends/gtk/scaffolding.c @@ -2378,28 +2378,6 @@ void gui_window_stop_throbber(struct gui_window* _g) } -/** - * set favicon - */ -void -nsgtk_scaffolding_set_icon(struct gui_window *gw) -{ - struct nsgtk_scaffolding *sc = nsgtk_get_scaffold(gw); - GdkPixbuf *icon_pixbuf = nsgtk_get_icon(gw); - - /* check icon needs to be shown */ - if ((icon_pixbuf == NULL) || - (sc->top_level != gw)) { - return; - } - - nsgtk_entry_set_icon_from_pixbuf(sc->url_bar, - GTK_ENTRY_ICON_PRIMARY, - icon_pixbuf); - - gtk_widget_show_all(GTK_WIDGET(sc->buttons[URL_BAR_ITEM]->button)); -} - static void nsgtk_scaffolding_set_websearch(struct nsgtk_scaffolding *g, const char *content) { @@ -2662,8 +2640,6 @@ void nsgtk_scaffolding_set_top_level(struct gui_window *gw) /* clear effects of potential searches */ browser_window_search_clear(bw); - nsgtk_scaffolding_set_icon(gw); - /* Ensure the window's title bar is updated */ nsgtk_window_set_title(gw, browser_window_get_title(bw)); |