diff options
author | Luca Ferretti <elle.uca@libero.it> | 2006-12-09 00:33:46 +0800 |
---|---|---|
committer | Luca Ferretti <lferrett@src.gnome.org> | 2006-12-09 00:33:46 +0800 |
commit | c01e5ee5e85c99a56496c75f2bbcc7b00a57c707 (patch) | |
tree | 01d19ae7e9753753498744879c0692999f635777 /lib | |
parent | aee1874ead98b8972fba7e5c708cc9d8896f0ac0 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | lib/ephy-stock-icons.c | 6 | ||||
-rw-r--r-- | lib/ephy-stock-icons.h | 10 |
2 files changed, 5 insertions, 11 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); diff --git a/lib/ephy-stock-icons.h b/lib/ephy-stock-icons.h index d58401e49..5658e68db 100644 --- a/lib/ephy-stock-icons.h +++ b/lib/ephy-stock-icons.h @@ -23,11 +23,11 @@ G_BEGIN_DECLS -#define EPHY_STOCK_POPUPS "epiphany-popup-hidden" -#define EPHY_STOCK_HISTORY "epiphany-history" -#define EPHY_STOCK_BOOKMARKS "epiphany-bookmarks" -#define EPHY_STOCK_ENTRY "epiphany-entry" -#define EPHY_STOCK_DOWNLOAD "epiphany-download" +#define EPHY_STOCK_POPUPS "popup-hidden" +#define EPHY_STOCK_HISTORY "web-history" +#define EPHY_STOCK_BOOKMARKS "web-bookmarks" +#define EPHY_STOCK_ENTRY "location-entry" +#define EPHY_STOCK_DOWNLOAD "download" #define STOCK_NEW_TAB "tab-new" #define STOCK_NEW_WINDOW "window-new" |