aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-03-08 05:39:30 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-03-08 05:39:30 +0800
commitcaf8c10a29884a991924b2b63fad5d9d28f47f44 (patch)
tree3c2aeb42f1a98a99901393278099740796857f93
parent80e8650c21c1be9199cc659b85e13a23a3bf2168 (diff)
downloadgsoc2013-epiphany-caf8c10a29884a991924b2b63fad5d9d28f47f44.tar
gsoc2013-epiphany-caf8c10a29884a991924b2b63fad5d9d28f47f44.tar.gz
gsoc2013-epiphany-caf8c10a29884a991924b2b63fad5d9d28f47f44.tar.bz2
gsoc2013-epiphany-caf8c10a29884a991924b2b63fad5d9d28f47f44.tar.lz
gsoc2013-epiphany-caf8c10a29884a991924b2b63fad5d9d28f47f44.tar.xz
gsoc2013-epiphany-caf8c10a29884a991924b2b63fad5d9d28f47f44.tar.zst
gsoc2013-epiphany-caf8c10a29884a991924b2b63fad5d9d28f47f44.zip
Add a stock icon for entry box so that it has an icon in the tbe.
2003-03-07 David Bordoley <bordoley@msu.edu> * 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.
-rw-r--r--data/art/Makefile.am1
-rw-r--r--data/art/epiphany-entry.pngbin0 -> 383 bytes
-rw-r--r--lib/ephy-stock-icons.c3
-rw-r--r--lib/ephy-stock-icons.h1
-rwxr-xr-xsrc/toolbar.c2
5 files changed, 6 insertions, 1 deletions
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
--- /dev/null
+++ b/data/art/epiphany-entry.png
Binary files 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 <string.h>
@@ -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);