diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-05 04:51:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-05 04:51:01 +0800 |
commit | 3279267d7355538532e7d4b831aaaea5fcb482d6 (patch) | |
tree | fecb1016036330d021afe5ce537a357c4a5958ec | |
parent | 10c24e409012e113bf8dd28d30ef2f6a89b7438b (diff) | |
download | gsoc2013-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.
-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); |