From: Christian Dywan Date: Fri, 24 Jul 2009 14:43:55 +0000 (+0200) Subject: Remove icons from a few menu items and add an icon to Close Tab X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65ff5b3277b4d8bd66c270881aa2cf842a54af96;p=midori Remove icons from a few menu items and add an icon to Close Tab --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 03a213fb..7dbc8914 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -2553,9 +2553,9 @@ _action_compact_menu_populate_popup (GtkAction* action, { "Panel" }, { "Statusbar" }, { NULL }, + { "ClearPrivateData" }, { "Fullscreen" }, { "Preferences" }, - { "ClearPrivateData" }, }; guint i; @@ -4033,8 +4033,8 @@ _action_trash_empty_activate (GtkAction* action, static const GtkActionEntry entries[] = { { "File", NULL, N_("_File") }, - { "WindowNew", STOCK_WINDOW_NEW, - NULL, "n", + { "WindowNew", NULL, + N_("New _Window"), "n", N_("Open a new window"), G_CALLBACK (_action_window_new_activate) }, { "TabNew", STOCK_TAB_NEW, NULL, "t", @@ -4048,7 +4048,7 @@ static const GtkActionEntry entries[] = { { "AddSpeedDial", NULL, N_("Add to Speed _dial"), "h", N_("Add shortcut to speed dial"), G_CALLBACK (_action_add_speed_dial_activate) }, - { "TabClose", NULL, + { "TabClose", GTK_STOCK_CLOSE, N_("_Close Tab"), "w", N_("Close the current tab"), G_CALLBACK (_action_tab_close_activate) }, { "WindowClose", NULL, @@ -4083,7 +4083,7 @@ static const GtkActionEntry entries[] = { { "Find", GTK_STOCK_FIND, NULL, "f", N_("Find a word or phrase in the page"), G_CALLBACK (_action_find_activate) }, - { "FindNext", GTK_STOCK_GO_FORWARD, + { "FindNext", NULL, N_("Find _Next"), "g", N_("Find the next occurrence of a word or phrase"), G_CALLBACK (_action_find_next_activate) }, { "FindPrevious", GTK_STOCK_GO_BACK, @@ -4146,7 +4146,7 @@ static const GtkActionEntry entries[] = { { "BookmarkAdd", STOCK_BOOKMARK_ADD, NULL, "d", N_("Add a new bookmark"), G_CALLBACK (_action_bookmark_add_activate) }, - { "BookmarkFolderAdd", GTK_STOCK_DIRECTORY, + { "BookmarkFolderAdd", NULL, N_("Add a new _folder"), "", N_("Add a new bookmark folder"), G_CALLBACK (_action_bookmark_folder_add_activate) }, { "Tools", NULL, N_("_Tools") }, @@ -4154,7 +4154,7 @@ static const GtkActionEntry entries[] = { N_("_Manage Search Engines"), "s", N_("Add, edit and remove search engines..."), G_CALLBACK (_action_manage_search_engines_activate) }, - { "ClearPrivateData", GTK_STOCK_CLEAR, + { "ClearPrivateData", NULL, N_("_Clear Private Data"), "Delete", N_("Clear private data..."), G_CALLBACK (_action_clear_private_data_activate) }, @@ -4689,7 +4689,7 @@ midori_browser_init (MidoriBrowser* browser) action = g_object_new (MIDORI_TYPE_LOCATION_ACTION, "name", "Location", "label", _("_Location..."), - "stock-id", GTK_STOCK_JUMP_TO, + "stock-id", NULL, "tooltip", _("Open a particular location"), NULL); g_object_connect (action,