From 793b030d3a7781f3ad7f45312e0257105f68fb54 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 3 Apr 2008 23:33:32 +0200 Subject: [PATCH] Fix Reload/ Stop menu items. The menu items were sensitive in reversed logic and the Stop item had the icon and accelerator of the Reload item. Now the sensitivity is fixed and the Stop item is Stop again. --- src/midori-browser.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/midori-browser.c b/src/midori-browser.c index 245e2d87..9395a531 100644 --- a/src/midori-browser.c +++ b/src/midori-browser.c @@ -174,8 +174,8 @@ _midori_browser_update_interface (MidoriBrowser* browser) webkit_web_view_can_go_back (WEBKIT_WEB_VIEW (web_view))); _action_set_sensitive (browser, "Forward", webkit_web_view_can_go_forward (WEBKIT_WEB_VIEW (web_view))); - _action_set_sensitive (browser, "Reload", loading); - _action_set_sensitive (browser, "Stop", !loading); + _action_set_sensitive (browser, "Reload", !loading); + _action_set_sensitive (browser, "Stop", loading); GtkAction* action = gtk_action_group_get_action (priv->action_group, "ReloadStop"); @@ -1930,8 +1930,8 @@ static const GtkActionEntry entries[] = { { "Reload", GTK_STOCK_REFRESH, NULL, "r", N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) }, - { "Stop", GTK_STOCK_REFRESH, - NULL, "r", + { "Stop", GTK_STOCK_STOP, + NULL, "Escape", N_("Stop loading the current page"), G_CALLBACK (_action_reload_stop_activate) }, { "ReloadStop", GTK_STOCK_STOP, NULL, "r", -- 2.39.5