From caf8c10a29884a991924b2b63fad5d9d28f47f44 Mon Sep 17 00:00:00 2001 From: David Bordoley Date: Fri, 7 Mar 2003 21:39:30 +0000 Subject: Add a stock icon for entry box so that it has an icon in the tbe. 2003-03-07 David Bordoley * lib/ephy-stock-icons.h: * lib/ephy-stock-icons.c: * data/art/Makefile.am: * data/art/epiphany-entry.png: (new file) * src/toolbar.c: Add a stock icon for entry box so that it has an icon in the tbe. --- data/art/Makefile.am | 1 + data/art/epiphany-entry.png | Bin 0 -> 383 bytes lib/ephy-stock-icons.c | 3 ++- lib/ephy-stock-icons.h | 1 + src/toolbar.c | 2 ++ 5 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 data/art/epiphany-entry.png diff --git a/data/art/Makefile.am b/data/art/Makefile.am index 0cdf57535..4b94dc848 100644 --- a/data/art/Makefile.am +++ b/data/art/Makefile.am @@ -4,6 +4,7 @@ art_DATA = \ epiphany.png \ epiphany-fullscreen.png \ epiphany-bookmarks.png \ + epiphany-entry.png \ epiphany-history.png \ epiphany-new-tab.png \ epiphany-viewsource.png \ diff --git a/data/art/epiphany-entry.png b/data/art/epiphany-entry.png new file mode 100644 index 000000000..f8ad9b31e Binary files /dev/null and b/data/art/epiphany-entry.png differ diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c index debd960f5..28a5a6876 100644 --- a/lib/ephy-stock-icons.c +++ b/lib/ephy-stock-icons.c @@ -41,7 +41,8 @@ ephy_stock_icons_init (void) EPHY_STOCK_FULLSCREEN, EPHY_STOCK_NEW_TAB, EPHY_STOCK_VIEWSOURCE, - EPHY_STOCK_SEND_LINK + EPHY_STOCK_SEND_LINK, + EPHY_STOCK_ENTRY }; factory = gtk_icon_factory_new (); diff --git a/lib/ephy-stock-icons.h b/lib/ephy-stock-icons.h index 585dc1709..83ce4d37f 100644 --- a/lib/ephy-stock-icons.h +++ b/lib/ephy-stock-icons.h @@ -31,6 +31,7 @@ G_BEGIN_DECLS #define EPHY_STOCK_FULLSCREEN "epiphany-fullscreen" #define EPHY_STOCK_VIEWSOURCE "epiphany-viewsource" #define EPHY_STOCK_SEND_LINK "epiphany-send-link" +#define EPHY_STOCK_ENTRY "epiphany-entry" void ephy_stock_icons_init (void); diff --git a/src/toolbar.c b/src/toolbar.c index 86730d97f..f8ecf0316 100755 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -35,6 +35,7 @@ #include "ephy-debug.h" #include "ephy-new-bookmark.h" #include "ephy-toolbars-group.h" +#include "ephy-stock-icons.h" #include @@ -312,6 +313,7 @@ toolbar_setup_actions (Toolbar *t) action = g_object_new (EPHY_TYPE_LOCATION_ACTION, "name", "Location", "label", "Location", + "stock_id", EPHY_STOCK_ENTRY, NULL); g_signal_connect (action, "go_location", G_CALLBACK (go_location_cb), t->priv->window); -- cgit v1.2.3