From 06d1cd34d39fe9943ee3d3922412b3dd3794da86 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 22 Nov 2003 14:40:38 +0000 Subject: Use icon theme icon for add bookmark 2003-11-22 Marco Pesenti Gritti * 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 --- src/bookmarks/ephy-new-bookmark.c | 2 +- src/ephy-history-window.c | 2 +- src/ephy-window.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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..."), "D", + { "BookmarkLink", STOCK_ADD_BOOKMARK, N_("Boo_kmark Link..."), "D", N_("Bookmark the selected history link"), G_CALLBACK (cmd_bookmark_link) }, { "Close", GTK_STOCK_CLOSE, N_("_Close"), "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..."), "D", + { "FileBookmarkPage", STOCK_ADD_BOOKMARK, N_("_Add Bookmark..."), "D", N_("Add a bookmark for the current page"), G_CALLBACK (window_cmd_file_bookmark_page) }, { "GoBookmarks", EPHY_STOCK_BOOKMARKS, N_("_Edit Bookmarks"), "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..."), "D", + { "ContextBookmarkPage", STOCK_ADD_BOOKMARK, N_("Add Boo_kmark..."), "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) }, -- cgit v1.2.3