aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorLuca Ferretti <elle.uca@libero.it>2007-07-10 10:41:25 +0800
committerLuca Ferretti <lferrett@src.gnome.org>2007-07-10 10:41:25 +0800
commitb9c8581d793e52e73c99d41e83f5b33bd20b1af5 (patch)
treefd378044b93658f382f7ea10e8fac2d31e339308 /embed
parentf0b96d2a26d92216e84dcf21f2875b5d567f1843 (diff)
downloadgsoc2013-epiphany-b9c8581d793e52e73c99d41e83f5b33bd20b1af5.tar
gsoc2013-epiphany-b9c8581d793e52e73c99d41e83f5b33bd20b1af5.tar.gz
gsoc2013-epiphany-b9c8581d793e52e73c99d41e83f5b33bd20b1af5.tar.bz2
gsoc2013-epiphany-b9c8581d793e52e73c99d41e83f5b33bd20b1af5.tar.lz
gsoc2013-epiphany-b9c8581d793e52e73c99d41e83f5b33bd20b1af5.tar.xz
gsoc2013-epiphany-b9c8581d793e52e73c99d41e83f5b33bd20b1af5.tar.zst
gsoc2013-epiphany-b9c8581d793e52e73c99d41e83f5b33bd20b1af5.zip
Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download"
2007-07-10 Luca Ferretti <elle.uca@libero.it> * embed/downloader-view.c: (show_status_icon), (downloader_view_build_ui): * embed/mozilla/ContentHandler.cpp: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download" named icon. Partially fix 450904. Note: you need latest svn version of gnome-icon-theme to have the download icon @ 16x16 pixels svn path=/trunk/; revision=7126
Diffstat (limited to 'embed')
-rw-r--r--embed/downloader-view.c4
-rw-r--r--embed/mozilla/ContentHandler.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index 0486b6721..0b482f4cb 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -205,7 +205,7 @@ show_status_icon (DownloaderView *dv)
{
DownloaderViewPrivate *priv = dv->priv;
- priv->status_icon = gtk_status_icon_new_from_stock (EPHY_STOCK_DOWNLOAD);
+ priv->status_icon = gtk_status_icon_new_from_stock (STOCK_DOWNLOAD);
g_signal_connect_swapped (priv->status_icon, "activate",
G_CALLBACK (show_downloader_cb), dv);
@@ -705,7 +705,7 @@ downloader_view_build_ui (DownloaderView *dv)
priv->model = GTK_TREE_MODEL (liststore);
- gtk_window_set_icon_name (GTK_WINDOW (priv->window), EPHY_STOCK_DOWNLOAD);
+ gtk_window_set_icon_name (GTK_WINDOW (priv->window), STOCK_DOWNLOAD);
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->treeview));
g_signal_connect (selection, "changed", G_CALLBACK (selection_changed), dv);
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 3107e5154..248db6056 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -262,7 +262,7 @@ NS_METHOD GContentHandler::MIMEConfirmAction ()
action_label = (mAction == CONTENT_ACTION_OPEN) ||
(mAction == CONTENT_ACTION_OPEN_TMP) ?
- GTK_STOCK_OPEN : EPHY_STOCK_DOWNLOAD;
+ GTK_STOCK_OPEN : STOCK_DOWNLOAD;
mime_description = gnome_vfs_mime_get_description (mMimeType.get());
if (mime_description == NULL)