From 62b676c7d9eba221bb5ebbe0a9c85c981131cdf6 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 27 Jan 2012 00:29:09 +0100 Subject: Remove all the lock stock icons At this point we were only using the #defines in EphyLocationEntry to decide which symbolic icon to use, so keep that and delete everything else. --- lib/ephy-stock-icons.c | 5 +---- lib/ephy-stock-icons.h | 3 --- lib/widgets/ephy-location-entry.h | 4 ++++ 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'lib') diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c index d3c39715c..79fe912d8 100644 --- a/lib/ephy-stock-icons.c +++ b/lib/ephy-stock-icons.c @@ -44,10 +44,7 @@ ephy_stock_icons_init (void) { 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 }, - { STOCK_LOCK_INSECURE }, - { STOCK_LOCK_SECURE }, - { STOCK_LOCK_BROKEN } + { EPHY_STOCK_BOOKMARKS, N_("Bookmarks"), 0, 0, NULL } }; factory = gtk_icon_factory_new (); diff --git a/lib/ephy-stock-icons.h b/lib/ephy-stock-icons.h index 17ce6cb09..3223906d5 100644 --- a/lib/ephy-stock-icons.h +++ b/lib/ephy-stock-icons.h @@ -33,9 +33,6 @@ G_BEGIN_DECLS #define EPHY_STOCK_HISTORY "history-view" #define EPHY_STOCK_BOOKMARK "bookmark-web" #define EPHY_STOCK_BOOKMARKS "bookmark-view" -#define STOCK_LOCK_INSECURE "lock-insecure" -#define STOCK_LOCK_SECURE "lock-secure" -#define STOCK_LOCK_BROKEN "lock-broken" /* Named icons defined in fd.o Icon Naming Spec */ #define STOCK_NEW_TAB "tab-new" diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h index 6d40f3d2c..1bc923ac9 100644 --- a/lib/widgets/ephy-location-entry.h +++ b/lib/widgets/ephy-location-entry.h @@ -61,6 +61,10 @@ struct _EphyLocationEntry EphyLocationEntryPrivate *priv; }; +#define STOCK_LOCK_INSECURE "lock-insecure" +#define STOCK_LOCK_SECURE "lock-secure" +#define STOCK_LOCK_BROKEN "lock-broken" + GType ephy_location_entry_get_type (void); GtkWidget *ephy_location_entry_new (void); -- cgit v1.2.3