aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog7
-rw-r--r--embed/downloader-view.c7
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 65c61fe7a..41a10ad52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2004-07-24 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/mozilla-embed.cpp:
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);