From 3279267d7355538532e7d4b831aaaea5fcb482d6 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 4 Oct 2004 20:51:01 +0000 Subject: Set the window icon. 2004-10-04 Christian Persch * embed/downloader-view.c: (downloader_view_build_ui): Set the window icon. --- ChangeLog | 6 ++++++ embed/downloader-view.c | 7 +------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index d8821dfcd..b3376093a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-10-04 Christian Persch + + * embed/downloader-view.c: (downloader_view_build_ui): + + Set the window icon. + 2004-10-04 Christian Persch * embed/downloader-view.c: (downloader_view_add_download): diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 0b17058d3..4b1023d00 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -558,7 +558,6 @@ downloader_view_build_ui (DownloaderView *dv) GtkListStore *liststore; GtkTreeViewColumn *column; GtkCellRenderer *renderer; - GdkPixbuf *icon; EphyDialog *d = EPHY_DIALOG (dv); GtkTreeSelection *selection; @@ -636,11 +635,7 @@ downloader_view_build_ui (DownloaderView *dv) priv->model = GTK_TREE_MODEL (liststore); - icon = gtk_widget_render_icon (GTK_WIDGET (priv->window), - EPHY_STOCK_DOWNLOAD, - GTK_ICON_SIZE_MENU, - NULL); - gtk_window_set_icon (GTK_WINDOW(priv->window), icon); + gtk_window_set_icon_name (GTK_WINDOW (priv->window), EPHY_STOCK_DOWNLOAD); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->treeview)); g_signal_connect (selection, "changed", G_CALLBACK (selection_changed), dv); -- cgit v1.2.3