diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/downloader-view.c | 7 |
2 files changed, 7 insertions, 6 deletions
@@ -1,5 +1,11 @@ 2004-10-04 Christian Persch <chpe@cvs.gnome.org> + * embed/downloader-view.c: (downloader_view_build_ui): + + Set the window icon. + +2004-10-04 Christian Persch <chpe@cvs.gnome.org> + * embed/downloader-view.c: (downloader_view_add_download): Arg 4 of gtk_icon_theme_lookup_icon is flags, not height. 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); |