aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-02 20:33:04 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-02 20:33:04 +0800
commite44702a9048d6cf4e8de81387a38d3838cd8f4b3 (patch)
tree2013b7f49717cffa73d2477834df818ae62bd79b /src/ephy-window.c
parent2bf03e3c19c612e45fd14ba190fb3aa4431a40c8 (diff)
downloadgsoc2013-epiphany-e44702a9048d6cf4e8de81387a38d3838cd8f4b3.tar
gsoc2013-epiphany-e44702a9048d6cf4e8de81387a38d3838cd8f4b3.tar.gz
gsoc2013-epiphany-e44702a9048d6cf4e8de81387a38d3838cd8f4b3.tar.bz2
gsoc2013-epiphany-e44702a9048d6cf4e8de81387a38d3838cd8f4b3.tar.lz
gsoc2013-epiphany-e44702a9048d6cf4e8de81387a38d3838cd8f4b3.tar.xz
gsoc2013-epiphany-e44702a9048d6cf4e8de81387a38d3838cd8f4b3.tar.zst
gsoc2013-epiphany-e44702a9048d6cf4e8de81387a38d3838cd8f4b3.zip
Use gtk_window_set_default_icon_name().
2004-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-window.c: (ephy_window_init): Use gtk_window_set_default_icon_name().
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 428830d49..3b2d8a12a 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2097,40 +2097,6 @@ ephy_window_class_init (EphyWindowClass *klass)
}
static void
-ensure_default_icon (void)
-{
- static gboolean ephy_has_default_icon = FALSE;
- GtkIconTheme *icon_theme;
- GtkIconInfo *icon_info;
- const char *icon_file;
-
- if (ephy_has_default_icon) return;
-
- /* FIXME listen on icon changes */
- /* FIXME MultiHead: icon theme is per-display, not global */
- icon_theme = gtk_icon_theme_get_default ();
- icon_info = gtk_icon_theme_lookup_icon (icon_theme, "web-browser", -1, 0);
-
- if (icon_info)
- {
-
- icon_file = gtk_icon_info_get_filename (icon_info);
- if (icon_file)
- {
- gtk_window_set_default_icon_from_file (icon_file, NULL);
- }
-
- gtk_icon_info_free (icon_info);
- }
- else
- {
- g_warning ("Web browser gnome icon not found");
- }
-
- ephy_has_default_icon = TRUE;
-}
-
-static void
update_navigation (EphyWindow *window)
{
if (window->priv->active_tab)
@@ -2223,8 +2189,6 @@ ephy_window_init (EphyWindow *window)
window->priv->should_save_chrome = FALSE;
window->priv->mode = EPHY_WINDOW_MODE_NORMAL;
- ensure_default_icon ();
-
g_object_ref (ephy_shell);
/* Setup the UI manager and connect verbs */