aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-22 22:40:38 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-22 22:40:38 +0800
commit06d1cd34d39fe9943ee3d3922412b3dd3794da86 (patch)
treef443a426fa64ed69bd542a6c0a12470f1d149e57
parentc835d9f34b984d00708ca7a61bddeb4ce98ca9e7 (diff)
downloadgsoc2013-epiphany-06d1cd34d39fe9943ee3d3922412b3dd3794da86.tar
gsoc2013-epiphany-06d1cd34d39fe9943ee3d3922412b3dd3794da86.tar.gz
gsoc2013-epiphany-06d1cd34d39fe9943ee3d3922412b3dd3794da86.tar.bz2
gsoc2013-epiphany-06d1cd34d39fe9943ee3d3922412b3dd3794da86.tar.lz
gsoc2013-epiphany-06d1cd34d39fe9943ee3d3922412b3dd3794da86.tar.xz
gsoc2013-epiphany-06d1cd34d39fe9943ee3d3922412b3dd3794da86.tar.zst
gsoc2013-epiphany-06d1cd34d39fe9943ee3d3922412b3dd3794da86.zip
Use icon theme icon for add bookmark
2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * data/art/Makefile.am: * data/art/epiphany-bookmark-page.png: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/ephy-history-window.c: * src/ephy-window.c: Use icon theme icon for add bookmark
-rw-r--r--ChangeLog12
-rw-r--r--data/art/Makefile.am1
-rw-r--r--lib/ephy-stock-icons.c4
-rw-r--r--lib/ephy-stock-icons.h2
-rw-r--r--src/bookmarks/ephy-new-bookmark.c2
-rw-r--r--src/ephy-history-window.c2
-rw-r--r--src/ephy-window.c6
7 files changed, 20 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index ec201e54e..41540c319 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2003-11-22 Marco Pesenti Gritti <marco@gnome.org>
+ * data/art/Makefile.am:
+ * data/art/epiphany-bookmark-page.png:
+ * lib/ephy-stock-icons.c: (ephy_stock_icons_init):
+ * lib/ephy-stock-icons.h:
+ * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct):
+ * src/ephy-history-window.c:
+ * src/ephy-window.c:
+
+ Use icon theme icon for add bookmark
+
+2003-11-22 Marco Pesenti Gritti <marco@gnome.org>
+
* doc/reference-howto.txt:
Add a tip on how to clean docs.
diff --git a/data/art/Makefile.am b/data/art/Makefile.am
index 1511493a2..a884cb18f 100644
--- a/data/art/Makefile.am
+++ b/data/art/Makefile.am
@@ -1,7 +1,6 @@
art_DATA = \
epiphany-secure.png \
epiphany-unsecure.png \
- epiphany-bookmark-page.png \
epiphany-entry.png \
epiphany-download.png \
epiphany-history.png \
diff --git a/lib/ephy-stock-icons.c b/lib/ephy-stock-icons.c
index 22b2b6038..b88a49788 100644
--- a/lib/ephy-stock-icons.c
+++ b/lib/ephy-stock-icons.c
@@ -39,7 +39,8 @@ ephy_stock_icons_init (void)
STOCK_NEW_TAB,
STOCK_FULLSCREEN,
STOCK_VIEW_SOURCE,
- STOCK_SEND_MAIL
+ STOCK_SEND_MAIL,
+ STOCK_ADD_BOOKMARK
};
static const char *items[] =
@@ -48,7 +49,6 @@ ephy_stock_icons_init (void)
EPHY_STOCK_UNSECURE,
EPHY_STOCK_HISTORY,
EPHY_STOCK_BOOKMARKS,
- EPHY_STOCK_BOOKMARK_PAGE,
EPHY_STOCK_ENTRY,
EPHY_STOCK_DOWNLOAD
};
diff --git a/lib/ephy-stock-icons.h b/lib/ephy-stock-icons.h
index b41353b08..baac2b0c5 100644
--- a/lib/ephy-stock-icons.h
+++ b/lib/ephy-stock-icons.h
@@ -27,7 +27,6 @@ G_BEGIN_DECLS
#define EPHY_STOCK_UNSECURE "epiphany-unsecure"
#define EPHY_STOCK_HISTORY "epiphany-history"
#define EPHY_STOCK_BOOKMARKS "epiphany-bookmarks"
-#define EPHY_STOCK_BOOKMARK_PAGE "epiphany-bookmark-page"
#define EPHY_STOCK_ENTRY "epiphany-entry"
#define EPHY_STOCK_DOWNLOAD "epiphany-download"
@@ -35,6 +34,7 @@ G_BEGIN_DECLS
#define STOCK_FULLSCREEN "stock_fullscreen"
#define STOCK_VIEW_SOURCE "stock_view-html-source"
#define STOCK_SEND_MAIL "stock_mail_send"
+#define STOCK_ADD_BOOKMARK "stock_add-bookmark"
void ephy_stock_icons_init (void);
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index 642c073b3..3d9df6e7e 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -260,7 +260,7 @@ ephy_new_bookmark_construct (EphyNewBookmark *editor)
gtk_window_set_title (GTK_WINDOW (editor),
_("Add Bookmark"));
icon = gtk_widget_render_icon (GTK_WIDGET (editor),
- EPHY_STOCK_BOOKMARK_PAGE,
+ STOCK_ADD_BOOKMARK,
GTK_ICON_SIZE_MENU,
NULL);
gtk_window_set_icon (GTK_WINDOW (editor), icon);
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index a013905d2..4c0af9398 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -164,7 +164,7 @@ static GtkActionEntry ephy_history_ui_entries [] = {
{ "Delete", GTK_STOCK_DELETE, N_("_Delete"), NULL,
N_("Delete the selected history link"),
G_CALLBACK (cmd_delete) },
- { "BookmarkLink", EPHY_STOCK_BOOKMARK_PAGE, N_("Boo_kmark Link..."), "<control>D",
+ { "BookmarkLink", STOCK_ADD_BOOKMARK, N_("Boo_kmark Link..."), "<control>D",
N_("Bookmark the selected history link"),
G_CALLBACK (cmd_bookmark_link) },
{ "Close", GTK_STOCK_CLOSE, N_("_Close"), "<control>W",
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 3afd3b597..a8470b567 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -168,7 +168,7 @@ static GtkActionEntry ephy_menu_entries [] = {
G_CALLBACK (window_cmd_view_page_source) },
/* Bookmarks menu */
- { "FileBookmarkPage", EPHY_STOCK_BOOKMARK_PAGE, N_("_Add Bookmark..."), "<control>D",
+ { "FileBookmarkPage", STOCK_ADD_BOOKMARK, N_("_Add Bookmark..."), "<control>D",
N_("Add a bookmark for the current page"),
G_CALLBACK (window_cmd_file_bookmark_page) },
{ "GoBookmarks", EPHY_STOCK_BOOKMARKS, N_("_Edit Bookmarks"), "<control>B",
@@ -244,7 +244,7 @@ static GtkActionEntry ephy_popups_entries [] = {
/* Document */
{ "SaveBackgroundAs", NULL, N_("_Save Background As..."), NULL,
NULL, G_CALLBACK (popup_cmd_save_background_as) },
- { "ContextBookmarkPage", EPHY_STOCK_BOOKMARK_PAGE, N_("Add Boo_kmark..."), "<control>D",
+ { "ContextBookmarkPage", STOCK_ADD_BOOKMARK, N_("Add Boo_kmark..."), "<control>D",
N_("Add a bookmark for the current page"),
G_CALLBACK (window_cmd_file_bookmark_page) },
@@ -265,7 +265,7 @@ static GtkActionEntry ephy_popups_entries [] = {
NULL, NULL, G_CALLBACK (popup_cmd_link_in_new_tab) },
{ "DownloadLink", GTK_STOCK_SAVE, N_("_Download Link"), NULL,
NULL, G_CALLBACK (popup_cmd_download_link) },
- { "BookmarkLink", EPHY_STOCK_BOOKMARK_PAGE, N_("_Bookmark Link..."),
+ { "BookmarkLink", STOCK_ADD_BOOKMARK, N_("_Bookmark Link..."),
NULL, NULL, G_CALLBACK (popup_cmd_bookmark_link) },
{ "CopyLinkAddress", NULL, N_("_Copy Link Address"), NULL,
NULL, G_CALLBACK (popup_cmd_copy_link_address) },