diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-13 07:48:15 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-13 07:48:15 +0800 |
commit | 7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136 (patch) | |
tree | 4b59018a707f09e1cd15d1bda11e0c2404ec0776 | |
parent | 00fec89f0ce1f11af7783da3bcc1d40413bbe377 (diff) | |
download | gsoc2013-epiphany-7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136.tar gsoc2013-epiphany-7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136.tar.gz gsoc2013-epiphany-7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136.tar.bz2 gsoc2013-epiphany-7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136.tar.lz gsoc2013-epiphany-7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136.tar.xz gsoc2013-epiphany-7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136.tar.zst gsoc2013-epiphany-7b711e596038c4c5e2fe9b9dbb2a6e6326fa4136.zip |
correctly update window icon when the page doesnt specify any favicon url.
2003-01-13 Marco Pesenti Gritti <marco@it.gnome.org>
* src/ephy-window.c: (update_favicon_control):
correctly update window icon when the page doesnt
specify any favicon url.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-window.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2003-01-13 Marco Pesenti Gritti <marco@it.gnome.org> + + * src/ephy-window.c: (update_favicon_control): + + correctly update window icon when the page doesnt + specify any favicon url. + 2003-01-12 Kjartan Maraas <kmaraas@gnome.org> * configure.in (ALL_LINGUAS): Added "no". diff --git a/src/ephy-window.c b/src/ephy-window.c index 4fd766faa..e28c949cf 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1081,6 +1081,7 @@ update_favicon_control (EphyWindow *window) { const char *location; EphyFaviconCache *cache; + GdkPixbuf *pixbuf = NULL; cache = ephy_embed_shell_get_favicon_cache (EPHY_EMBED_SHELL (ephy_shell)); @@ -1088,11 +1089,10 @@ update_favicon_control (EphyWindow *window) location = ephy_tab_get_favicon_url (window->priv->active_tab); if (location) { - GdkPixbuf *pixbuf; pixbuf = ephy_favicon_cache_get (cache, location); - gtk_window_set_icon (GTK_WINDOW (window), pixbuf); } + gtk_window_set_icon (GTK_WINDOW (window), pixbuf); toolbar_update_favicon (window->priv->toolbar); } |