aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-main.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 /src/ephy-main.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 'src/ephy-main.c')
-rw-r--r--src/ephy-main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 396942b8f..42280b9ef 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -520,6 +520,12 @@ main (int argc,
GNOME_PARAM_APP_DATADIR, DATADIR,
NULL);
+ /* GtkIconTheme will then look in Ephy custom hicolor dir
+ * for icons as well as the standard search paths
+ */
+ gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
+ DATADIR "/epiphany/icons");
+
/* libgnome keeps a reference to the global program, so drop
* our reference here, to simplify cleanup on the many exit paths.
*/