From: Christian Dywan Date: Wed, 18 Nov 2009 18:36:37 +0000 (+0100) Subject: Allow reloading regardless of whether a load is already in progress X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83f07d7de9643345a6526c3a35c12284610060b1;p=midori Allow reloading regardless of whether a load is already in progress --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 8c7d41fa..8e2b5dfd 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -282,7 +282,7 @@ _midori_browser_update_interface (MidoriBrowser* browser) loading = midori_view_get_load_status (view) != MIDORI_LOAD_FINISHED; can_reload = midori_view_can_reload (view); - _action_set_sensitive (browser, "Reload", can_reload && !loading); + _action_set_sensitive (browser, "Reload", can_reload); _action_set_sensitive (browser, "Stop", can_reload && loading); _action_set_sensitive (browser, "Back", midori_view_can_go_back (view)); _action_set_sensitive (browser, "Forward", midori_view_can_go_forward (view)); @@ -5110,8 +5110,8 @@ static const gchar* ui_markup = "" "" "" - "" "" + "" "" "" "" diff --git a/midori/midori-view.c b/midori/midori-view.c index 265b4188..11cc85af 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3769,8 +3769,6 @@ can_do (find) * @from_cache: whether to allow caching * * Reloads the view. - * - * Note: The @from_cache value is currently ignored. **/ void midori_view_reload (MidoriView* view,