aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-05 04:51:01 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-05 04:51:01 +0800
commit3279267d7355538532e7d4b831aaaea5fcb482d6 (patch)
treefecb1016036330d021afe5ce537a357c4a5958ec /embed/downloader-view.c
parent10c24e409012e113bf8dd28d30ef2f6a89b7438b (diff)
downloadgsoc2013-epiphany-3279267d7355538532e7d4b831aaaea5fcb482d6.tar
gsoc2013-epiphany-3279267d7355538532e7d4b831aaaea5fcb482d6.tar.gz
gsoc2013-epiphany-3279267d7355538532e7d4b831aaaea5fcb482d6.tar.bz2
gsoc2013-epiphany-3279267d7355538532e7d4b831aaaea5fcb482d6.tar.lz
gsoc2013-epiphany-3279267d7355538532e7d4b831aaaea5fcb482d6.tar.xz
gsoc2013-epiphany-3279267d7355538532e7d4b831aaaea5fcb482d6.tar.zst
gsoc2013-epiphany-3279267d7355538532e7d4b831aaaea5fcb482d6.zip
Set the window icon.
2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Set the window icon.
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c7
1 files changed, 1 insertions, 6 deletions
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);