diff --git a/src/midori-browser.c b/src/midori-browser.c index b59e409d..fafc3acb 100644 --- a/src/midori-browser.c +++ b/src/midori-browser.c @@ -170,7 +170,7 @@ _midori_browser_update_interface (MidoriBrowser* browser) webkit_web_view_get_text_size (WEBKIT_WEB_VIEW (web_view)) != 1);*/ _action_set_sensitive (browser, "Back", webkit_web_view_can_go_back (WEBKIT_WEB_VIEW (web_view))); - _action_set_sensitive (browser, "Back", + _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); diff --git a/src/midori-webview.c b/src/midori-webview.c index 54c5256b..8459317d 100644 --- a/src/midori-webview.c +++ b/src/midori-webview.c @@ -172,8 +172,9 @@ midori_web_view_class_init (MidoriWebViewClass* class) G_STRUCT_OFFSET (MidoriWebViewClass, new_tab), 0, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); + g_cclosure_marshal_VOID__STRING, + G_TYPE_NONE, 1, + G_TYPE_STRING); signals[NEW_WINDOW] = g_signal_new( "new-window",