From 518eb4b4c4c088d709d80b7d2d98cbd68c960e2c Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 27 Jan 2012 00:42:12 +0100 Subject: Remove more unused stock icons --- data/icons/Makefile.am | 8 - data/icons/hicolor_status_16x16_popup-hidden.png | Bin 327 -> 0 bytes data/icons/hicolor_status_16x16_popup-hidden.xcf | Bin 2282 -> 0 bytes data/icons/hicolor_status_22x22_popup-hidden.png | Bin 325 -> 0 bytes data/icons/hicolor_status_22x22_popup-hidden.xcf | Bin 2879 -> 0 bytes data/icons/hicolor_status_24x24_popup-hidden.png | Bin 378 -> 0 bytes data/icons/hicolor_status_32x32_popup-hidden.png | Bin 1028 -> 0 bytes data/icons/hicolor_status_32x32_popup-hidden.svg | 372 --------------------- .../icons/hicolor_status_scalable_popup-hidden.svg | 367 -------------------- lib/ephy-stock-icons.c | 21 -- lib/ephy-stock-icons.h | 8 +- 11 files changed, 1 insertion(+), 775 deletions(-) delete mode 100644 data/icons/hicolor_status_16x16_popup-hidden.png delete mode 100644 data/icons/hicolor_status_16x16_popup-hidden.xcf delete mode 100644 data/icons/hicolor_status_22x22_popup-hidden.png delete mode 100644 data/icons/hicolor_status_22x22_popup-hidden.xcf delete mode 100644 data/icons/hicolor_status_24x24_popup-hidden.png delete mode 100644 data/icons/hicolor_status_32x32_popup-hidden.png delete mode 100644 data/icons/hicolor_status_32x32_popup-hidden.svg delete mode 100644 data/icons/hicolor_status_scalable_popup-hidden.svg diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 7a74bcc7a..932e3f390 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -14,11 +14,6 @@ private_icons = \ hicolor_places_16x16_bookmark-web.png \ hicolor_places_22x22_bookmark-web.png \ hicolor_places_24x24_bookmark-web.png \ - hicolor_status_16x16_popup-hidden.png \ - hicolor_status_22x22_popup-hidden.png \ - hicolor_status_24x24_popup-hidden.png \ - hicolor_status_32x32_popup-hidden.png \ - hicolor_status_scalable_popup-hidden.svg \ $(NULL) noinst_DATA = \ @@ -30,9 +25,6 @@ noinst_DATA = \ hicolor_actions_22x22_bookmark-view.xcf \ hicolor_places_16x16_bookmark-web.svg \ hicolor_places_22x22_bookmark-web.svg \ - hicolor_status_16x16_popup-hidden.xcf \ - hicolor_status_22x22_popup-hidden.xcf \ - hicolor_status_32x32_popup-hidden.svg \ $(NULL) EXTRA_DIST = \ diff --git a/data/icons/hicolor_status_16x16_popup-hidden.png b/data/icons/hicolor_status_16x16_popup-hidden.png deleted file mode 100644 index 731401374..000000000 Binary files a/data/icons/hicolor_status_16x16_popup-hidden.png and /dev/null differ diff --git a/data/icons/hicolor_status_16x16_popup-hidden.xcf b/data/icons/hicolor_status_16x16_popup-hidden.xcf deleted file mode 100644 index 6b30badda..000000000 Binary files a/data/icons/hicolor_status_16x16_popup-hidden.xcf and /dev/null differ diff --git a/data/icons/hicolor_status_22x22_popup-hidden.png b/data/icons/hicolor_status_22x22_popup-hidden.png deleted file mode 100644 index 0d70dd04d..000000000 Binary files a/data/icons/hicolor_status_22x22_popup-hidden.png and /dev/null differ diff --git a/data/icons/hicolor_status_22x22_popup-hidden.xcf b/data/icons/hicolor_status_22x22_popup-hidden.xcf deleted file mode 100644 index 64fbedea9..000000000 Binary files a/data/icons/hicolor_status_22x22_popup-hidden.xcf and /dev/null differ diff --git a/data/icons/hicolor_status_24x24_popup-hidden.png b/data/icons/hicolor_status_24x24_popup-hidden.png deleted file mode 100644 index 315b53988..000000000 Binary files a/data/icons/hicolor_status_24x24_popup-hidden.png and /dev/null differ diff --git a/data/icons/hicolor_status_32x32_popup-hidden.png b/data/icons/hicolor_status_32x32_popup-hidden.png deleted file mode 100644 index f59b05cb3..000000000 Binary files a/data/icons/hicolor_status_32x32_popup-hidden.png and /dev/null differ diff --git a/data/icons/hicolor_status_32x32_popup-hidden.svg b/data/icons/hicolor_status_32x32_popup-hidden.svg deleted file mode 100644 index 7dace6e50..000000000 --- a/data/icons/hicolor_status_32x32_popup-hidden.svg +++ /dev/null @@ -1,372 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - Luca Ferretti - - - popup hidden (epiphany) - - - window - popup - block - hidden - - - - - - Based on window-new icon by Lapo Calamandrei in gnome-icon-theme - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/data/icons/hicolor_status_scalable_popup-hidden.svg b/data/icons/hicolor_status_scalable_popup-hidden.svg deleted file mode 100644 index 74a258f05..000000000 --- a/data/icons/hicolor_status_scalable_popup-hidden.svg +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - Luca Ferretti - - - popup hidden (epiphany) - - - window - popup - block - hidden - - - - - - Based on window-new icon by Lapo Calamandrei in gnome-icon-theme - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c index 79fe912d8..701ac54da 100644 --- a/lib/ephy-stock-icons.c +++ b/lib/ephy-stock-icons.c @@ -32,16 +32,8 @@ ephy_stock_icons_init (void) GtkIconSource *icon_source; int i; - const char *icon_theme_items[] = - { - STOCK_NEW_TAB, - STOCK_SEND_MAIL, - STOCK_ADD_BOOKMARK, - }; - static const GtkStockItem items[] = { - { EPHY_STOCK_POPUPS, N_("Popup Windows"), 0, 0, NULL }, { EPHY_STOCK_HISTORY, N_("History"), 0, 0, NULL }, { EPHY_STOCK_BOOKMARK, N_("Bookmark"), 0, 0, NULL }, { EPHY_STOCK_BOOKMARKS, N_("Bookmarks"), 0, 0, NULL } @@ -64,19 +56,6 @@ ephy_stock_icons_init (void) gtk_stock_add_static (items, G_N_ELEMENTS (items)); - for (i = 0; i < (int) G_N_ELEMENTS (icon_theme_items); i++) - { - icon_source = gtk_icon_source_new (); - gtk_icon_source_set_icon_name (icon_source, icon_theme_items[i]); - - icon_set = gtk_icon_set_new (); - gtk_icon_set_add_source (icon_set, icon_source); - gtk_icon_source_free (icon_source); - - gtk_icon_factory_add (factory, icon_theme_items[i], icon_set); - gtk_icon_set_unref (icon_set); - } - gtk_icon_factory_add_default (factory); g_object_unref (factory); diff --git a/lib/ephy-stock-icons.h b/lib/ephy-stock-icons.h index 3223906d5..585dc47f6 100644 --- a/lib/ephy-stock-icons.h +++ b/lib/ephy-stock-icons.h @@ -29,16 +29,10 @@ G_BEGIN_DECLS #define EPHY_STOCK_EPHY "web-browser" /* Custom Epiphany named icons */ -#define EPHY_STOCK_POPUPS "popup-hidden" #define EPHY_STOCK_HISTORY "history-view" #define EPHY_STOCK_BOOKMARK "bookmark-web" #define EPHY_STOCK_BOOKMARKS "bookmark-view" - -/* Named icons defined in fd.o Icon Naming Spec */ -#define STOCK_NEW_TAB "tab-new" -#define STOCK_SEND_MAIL "mail-forward" -#define STOCK_ADD_BOOKMARK "bookmark-new" - + void ephy_stock_icons_init (void); G_END_DECLS -- cgit v1.2.3