aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-05-20 03:46:35 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-05-20 03:46:35 +0800
commite47814bfadf34a954531ebbb61a45c4730ccc4d5 (patch)
tree79b9436dff1659c60486df5249a6636c9d111599 /embed/downloader-view.c
parent5a4aa1c8bb9ff82dffd8ce0c435720c460fc782c (diff)
downloadgsoc2013-epiphany-e47814bfadf34a954531ebbb61a45c4730ccc4d5.tar
gsoc2013-epiphany-e47814bfadf34a954531ebbb61a45c4730ccc4d5.tar.gz
gsoc2013-epiphany-e47814bfadf34a954531ebbb61a45c4730ccc4d5.tar.bz2
gsoc2013-epiphany-e47814bfadf34a954531ebbb61a45c4730ccc4d5.tar.lz
gsoc2013-epiphany-e47814bfadf34a954531ebbb61a45c4730ccc4d5.tar.xz
gsoc2013-epiphany-e47814bfadf34a954531ebbb61a45c4730ccc4d5.tar.zst
gsoc2013-epiphany-e47814bfadf34a954531ebbb61a45c4730ccc4d5.zip
Use stock icons instead of the files directly to set window border icons.
2003-05-19 David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_build_ui): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-history-window.c: (ephy_history_window_construct): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Use stock icons instead of the files directly to set window border icons.
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index 7d8d411b0..bcc948276 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -27,6 +27,7 @@
#include "ephy-embed-utils.h"
#include "ephy-file-helpers.h"
#include "ephy-embed-shell.h"
+#include "ephy-stock-icons.h"
#include <gtk/gtktreeview.h>
#include <gtk/gtkliststore.h>
@@ -707,7 +708,7 @@ downloader_view_build_ui (DownloaderView *dv)
GtkCellRenderer *renderer;
GtkTreeSelection *selection;
GtkWidget *details_table;
- const char *icon_path;
+ GdkPixbuf *icon;
EphyDialog *d = EPHY_DIALOG (dv);
ephy_dialog_construct (d,
@@ -801,8 +802,11 @@ downloader_view_build_ui (DownloaderView *dv)
priv->model = GTK_TREE_MODEL (liststore);
- icon_path = ephy_file ("epiphany-download.png");
- gtk_window_set_icon_from_file (GTK_WINDOW(priv->window), icon_path, NULL);
+ icon = gtk_widget_render_icon (GTK_WINDOW (priv->window),
+ EPHY_STOCK_DOWNLOAD,
+ GTK_ICON_SIZE_MENU,
+ NULL);
+ gtk_window_set_icon (GTK_WINDOW(priv->window), icon);
}
void