aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-27 07:29:09 +0800
committerXan Lopez <xan@igalia.com>2012-01-27 07:29:09 +0800
commit62b676c7d9eba221bb5ebbe0a9c85c981131cdf6 (patch)
treebd3cbdf07e47032b0fb84dc1f36f4cee7677a29d /lib
parenta9792256c80e46bf9f0c237b2f6fb29b3b38c699 (diff)
downloadgsoc2013-epiphany-62b676c7d9eba221bb5ebbe0a9c85c981131cdf6.tar
gsoc2013-epiphany-62b676c7d9eba221bb5ebbe0a9c85c981131cdf6.tar.gz
gsoc2013-epiphany-62b676c7d9eba221bb5ebbe0a9c85c981131cdf6.tar.bz2
gsoc2013-epiphany-62b676c7d9eba221bb5ebbe0a9c85c981131cdf6.tar.lz
gsoc2013-epiphany-62b676c7d9eba221bb5ebbe0a9c85c981131cdf6.tar.xz
gsoc2013-epiphany-62b676c7d9eba221bb5ebbe0a9c85c981131cdf6.tar.zst
gsoc2013-epiphany-62b676c7d9eba221bb5ebbe0a9c85c981131cdf6.zip
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-stock-icons.c5
-rw-r--r--lib/ephy-stock-icons.h3
-rw-r--r--lib/widgets/ephy-location-entry.h4
3 files changed, 5 insertions, 7 deletions
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);