aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-27 07:37:19 +0800
committerXan Lopez <xan@igalia.com>2012-01-27 07:37:19 +0800
commit4184f9cb8e46fd8e0eea8b46861ad91cda59078a (patch)
tree554dbd6444ec7af751f94fc76951caee75babb86
parent0591d068028d52c2636e277721a1d9030d83adbc (diff)
downloadgsoc2013-epiphany-4184f9cb8e46fd8e0eea8b46861ad91cda59078a.tar
gsoc2013-epiphany-4184f9cb8e46fd8e0eea8b46861ad91cda59078a.tar.gz
gsoc2013-epiphany-4184f9cb8e46fd8e0eea8b46861ad91cda59078a.tar.bz2
gsoc2013-epiphany-4184f9cb8e46fd8e0eea8b46861ad91cda59078a.tar.lz
gsoc2013-epiphany-4184f9cb8e46fd8e0eea8b46861ad91cda59078a.tar.xz
gsoc2013-epiphany-4184f9cb8e46fd8e0eea8b46861ad91cda59078a.tar.zst
gsoc2013-epiphany-4184f9cb8e46fd8e0eea8b46861ad91cda59078a.zip
Also remove stock icons in the history and bookmarks editors
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c24
-rw-r--r--src/ephy-history-window.c24
2 files changed, 24 insertions, 24 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 0158fdf78..74d6ff47d 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -157,18 +157,18 @@ static const GtkActionEntry ephy_bookmark_popup_entries [] = {
{ "PopupAction", NULL, "" },
/* File Menu*/
- { "NewTopic", GTK_STOCK_NEW, N_("_New Topic"), "<control>N",
+ { "NewTopic", NULL, N_("_New Topic"), "<control>N",
N_("Create a new topic"),
G_CALLBACK (cmd_add_topic) },
- { "OpenInWindow", GTK_STOCK_OPEN, N_("Open in New _Window"), "<control>O",
+ { "OpenInWindow", NULL, N_("Open in New _Window"), "<control>O",
N_("Open the selected bookmark in a new window"),
G_CALLBACK (cmd_open_bookmarks_in_browser) },
- { "OpenInTab", STOCK_NEW_TAB, N_("Open in New _Tab"), "<shift><control>O",
+ { "OpenInTab", NULL, N_("Open in New _Tab"), "<shift><control>O",
N_("Open the selected bookmark in a new tab"),
G_CALLBACK (cmd_open_bookmarks_in_tabs) },
{ "Rename", NULL, N_("_Rename…"), "F2",
N_("Rename the selected bookmark or topic"), G_CALLBACK (cmd_rename) },
- { "Properties", GTK_STOCK_PROPERTIES, N_("_Properties"), "<alt>Return",
+ { "Properties", NULL, N_("_Properties"), "<alt>Return",
N_("View or modify the properties of the selected bookmark"),
G_CALLBACK (cmd_bookmark_properties) },
{ "Import", NULL, N_("_Import Bookmarks…"), NULL,
@@ -177,32 +177,32 @@ static const GtkActionEntry ephy_bookmark_popup_entries [] = {
{ "Export", NULL, N_("_Export Bookmarks…"), NULL,
N_("Export bookmarks to a file"),
G_CALLBACK (cmd_bookmarks_export) },
- { "Close", GTK_STOCK_CLOSE, N_("_Close"), "<control>W",
+ { "Close", NULL, N_("_Close"), "<control>W",
N_("Close the bookmarks window"),
G_CALLBACK (cmd_close) },
/* Edit Menu */
- { "Cut", GTK_STOCK_CUT, N_("Cu_t"), "<control>X",
+ { "Cut", NULL, N_("Cu_t"), "<control>X",
N_("Cut the selection"),
G_CALLBACK (cmd_cut) },
- { "Copy", GTK_STOCK_COPY, N_("_Copy"), "<control>C",
+ { "Copy", NULL, N_("_Copy"), "<control>C",
N_("Copy the selection"),
G_CALLBACK (cmd_copy) },
- { "Paste", GTK_STOCK_PASTE, N_("_Paste"), "<control>V",
+ { "Paste", NULL, N_("_Paste"), "<control>V",
N_("Paste the clipboard"),
G_CALLBACK (cmd_paste) },
- { "Delete", GTK_STOCK_DELETE, N_("_Delete"), "<control>T",
+ { "Delete", NULL, N_("_Delete"), "<control>T",
N_("Delete the selected bookmark or topic"),
G_CALLBACK (cmd_delete) },
- { "SelectAll", GTK_STOCK_SELECT_ALL, N_("Select _All"), "<control>A",
+ { "SelectAll", NULL, N_("Select _All"), "<control>A",
N_("Select all bookmarks or text"),
G_CALLBACK (cmd_select_all) },
/* Help Menu */
- { "HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1",
+ { "HelpContents", NULL, N_("_Contents"), "F1",
N_("Display bookmarks help"),
G_CALLBACK (cmd_help_contents) },
- { "HelpAbout", GTK_STOCK_ABOUT, N_("_About"), NULL,
+ { "HelpAbout", NULL, N_("_About"), NULL,
N_("Display credits for the web browser creators"),
G_CALLBACK (window_cmd_help_about) },
};
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8d6a5e49d..e263d4cc0 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -131,44 +131,44 @@ static const GtkActionEntry ephy_history_ui_entries [] = {
{ "PopupAction", NULL, "" },
/* File Menu */
- { "OpenInWindow", GTK_STOCK_OPEN, N_("Open in New _Window"), "<control>O",
+ { "OpenInWindow", NULL, N_("Open in New _Window"), "<control>O",
N_("Open the selected history link in a new window"),
G_CALLBACK (cmd_open_bookmarks_in_browser) },
- { "OpenInTab", STOCK_NEW_TAB, N_("Open in New _Tab"), "<shift><control>O",
+ { "OpenInTab", NULL, N_("Open in New _Tab"), "<shift><control>O",
N_("Open the selected history link in a new tab"),
G_CALLBACK (cmd_open_bookmarks_in_tabs) },
- { "BookmarkLink", STOCK_ADD_BOOKMARK, N_("Add _Bookmark…"), "<control>D",
+ { "BookmarkLink", NULL, N_("Add _Bookmark…"), "<control>D",
N_("Bookmark the selected history link"),
G_CALLBACK (cmd_bookmark_link) },
- { "Close", GTK_STOCK_CLOSE, N_("_Close"), "<control>W",
+ { "Close", NULL, N_("_Close"), "<control>W",
N_("Close the history window"),
G_CALLBACK (cmd_close) },
/* Edit Menu */
- { "Cut", GTK_STOCK_CUT, N_("Cu_t"), "<control>X",
+ { "Cut", NULL, N_("Cu_t"), "<control>X",
N_("Cut the selection"),
G_CALLBACK (cmd_cut) },
- { "Copy", GTK_STOCK_COPY, N_("_Copy"), "<control>C",
+ { "Copy", NULL, N_("_Copy"), "<control>C",
N_("Copy the selection"),
G_CALLBACK (cmd_copy) },
- { "Paste", GTK_STOCK_PASTE, N_("_Paste"), "<control>V",
+ { "Paste", NULL, N_("_Paste"), "<control>V",
N_("Paste the clipboard"),
G_CALLBACK (cmd_paste) },
- { "Delete", GTK_STOCK_DELETE, N_("_Delete"), "<control>T",
+ { "Delete", NULL, N_("_Delete"), "<control>T",
N_("Delete the selected history link"),
G_CALLBACK (cmd_delete) },
- { "SelectAll", GTK_STOCK_SELECT_ALL, N_("Select _All"), "<control>A",
+ { "SelectAll", NULL, N_("Select _All"), "<control>A",
N_("Select all history links or text"),
G_CALLBACK (cmd_select_all) },
- { "Clear", GTK_STOCK_CLEAR, N_("Clear _History"), NULL,
+ { "Clear", NULL, N_("Clear _History"), NULL,
N_("Clear your browsing history"),
G_CALLBACK (cmd_clear) },
/* Help Menu */
- { "HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1",
+ { "HelpContents", NULL, N_("_Contents"), "F1",
N_("Display history help"),
G_CALLBACK (cmd_help_contents) },
- { "HelpAbout", GTK_STOCK_ABOUT, N_("_About"), NULL,
+ { "HelpAbout", NULL, N_("_About"), NULL,
N_("Display credits for the web browser creators"),
G_CALLBACK (window_cmd_help_about) },
};