aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-24 18:17:29 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-24 18:17:29 +0800
commit897181c896daf9e63a83a65d0bed12c2ce3952f8 (patch)
tree62a90fe67852bd9d02123d6a6c8db42a2c594654 /embed/downloader-view.c
parentaf8bbdbc5bc95e1e3cd3fc6fc49f9f1e3eea91ed (diff)
downloadgsoc2013-epiphany-897181c896daf9e63a83a65d0bed12c2ce3952f8.tar
gsoc2013-epiphany-897181c896daf9e63a83a65d0bed12c2ce3952f8.tar.gz
gsoc2013-epiphany-897181c896daf9e63a83a65d0bed12c2ce3952f8.tar.bz2
gsoc2013-epiphany-897181c896daf9e63a83a65d0bed12c2ce3952f8.tar.lz
gsoc2013-epiphany-897181c896daf9e63a83a65d0bed12c2ce3952f8.tar.xz
gsoc2013-epiphany-897181c896daf9e63a83a65d0bed12c2ce3952f8.tar.zst
gsoc2013-epiphany-897181c896daf9e63a83a65d0bed12c2ce3952f8.zip
Don't load the status icon from the file, use the registered stock icon
2004-07-24 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_status_icon): Don't load the status icon from the file, use the registered stock icon instead.
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index fd6611716..e04114b13 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -174,11 +174,8 @@ status_icon_activated (EggStatusIcon *icon, DownloaderView *dv)
static void
show_status_icon (DownloaderView *dv)
{
- GdkPixbuf *pixbuf;
-
- pixbuf = gdk_pixbuf_new_from_file (ephy_file ("epiphany-download.png"), NULL);
- dv->priv->status_icon = egg_status_icon_new_from_pixbuf (pixbuf);
- g_object_unref (pixbuf);
+ dv->priv->status_icon =
+ egg_status_icon_new_from_stock (EPHY_STOCK_DOWNLOAD);
g_signal_connect (dv->priv->status_icon, "activate",
G_CALLBACK (status_icon_activated), dv);