[epiphany] Also remove stock icons in the history and bookmarks editors



commit 4184f9cb8e46fd8e0eea8b46861ad91cda59078a
Author: Xan Lopez <xan igalia com>
Date:   Fri Jan 27 00:37:19 2012 +0100

    Also remove stock icons in the history and bookmarks editors

 src/bookmarks/ephy-bookmarks-editor.c |   24 ++++++++++++------------
 src/ephy-history-window.c             |   24 ++++++++++++------------
 2 files changed, 24 insertions(+), 24 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 0158fdf..74d6ff4 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 8d6a5e4..e263d4c 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) },
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]