aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-stock-icons.c
diff options
context:
space:
mode:
authorLuca Ferretti <elle.uca@libero.it>2006-12-09 00:33:46 +0800
committerLuca Ferretti <lferrett@src.gnome.org>2006-12-09 00:33:46 +0800
commitc01e5ee5e85c99a56496c75f2bbcc7b00a57c707 (patch)
tree01d19ae7e9753753498744879c0692999f635777 /lib/ephy-stock-icons.c
parentaee1874ead98b8972fba7e5c708cc9d8896f0ac0 (diff)
downloadgsoc2013-epiphany-c01e5ee5e85c99a56496c75f2bbcc7b00a57c707.tar
gsoc2013-epiphany-c01e5ee5e85c99a56496c75f2bbcc7b00a57c707.tar.gz
gsoc2013-epiphany-c01e5ee5e85c99a56496c75f2bbcc7b00a57c707.tar.bz2
gsoc2013-epiphany-c01e5ee5e85c99a56496c75f2bbcc7b00a57c707.tar.lz
gsoc2013-epiphany-c01e5ee5e85c99a56496c75f2bbcc7b00a57c707.tar.xz
gsoc2013-epiphany-c01e5ee5e85c99a56496c75f2bbcc7b00a57c707.tar.zst
gsoc2013-epiphany-c01e5ee5e85c99a56496c75f2bbcc7b00a57c707.zip
Remove old stock icons
2006-12-08 Luca Ferretti <elle.uca@libero.it> * data/art/Makefile.am: * data/art/epiphany-bookmarks.png: * data/art/epiphany-download.png: * data/art/epiphany-entry.png: * data/art/epiphany-history.png: * data/art/epiphany-popup-hidden.png: * data/art/epiphany-popup-hidden.svg: Remove old stock icons * data/icons/16x16/actions/download.png: * data/icons/16x16/actions/epiphany-download.png: * data/icons/22x22/actions/download.png: * data/icons/22x22/actions/epiphany-download.png: * data/icons/24x24/actions/Makefile.am: * data/icons/24x24/actions/download.png: * data/icons/24x24/actions/epiphany-download.png: * data/icons/24x24/actions/location-entry.png: * data/icons/24x24/actions/web-bookmarks.png: * data/icons/24x24/actions/web-history.png: * data/icons/32x32/actions/download.png: * data/icons/32x32/actions/epiphany-download.png: * data/icons/scalable/actions/download.svg: * data/icons/scalable/actions/epiphany-download.svg: Move old stock icons here and rename "epiphany-download" to "download" * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Use gtk_icon_source_set_icon_name for EPHY_STOCK* * lib/ephy-stock-icons.h: Update named icons to installed icons. * src/ephy-main.c: (main): Call gtk_icon_theme_append_search_path to add custom Ephy directory for themed icons. This should complete the icon theme support to Epiphany. Of course there is still some work to do, as well as provide fresh icons at all sizes and define the names.
Diffstat (limited to 'lib/ephy-stock-icons.c')
-rw-r--r--lib/ephy-stock-icons.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c
index 2314054cc..c303b7c74 100644
--- a/lib/ephy-stock-icons.c
+++ b/lib/ephy-stock-icons.c
@@ -65,14 +65,8 @@ ephy_stock_icons_init (void)
for (i = 0; i < (int) G_N_ELEMENTS (items); i++)
{
- char *fn;
-
icon_source = gtk_icon_source_new ();
-
- fn = g_strconcat (items[i].stock_id, ".png", NULL);
gtk_icon_source_set_icon_name (icon_source, items[i].stock_id);
- gtk_icon_source_set_filename (icon_source, ephy_file (fn));
- g_free (fn);
icon_set = gtk_icon_set_new ();
gtk_icon_set_add_source (icon_set, icon_source);