]> spindle.queued.net Git - midori/commitdiff
Fix Back button and opening new tabs.
authorChristian Dywan <christian@twotoasts.de>
Tue, 11 Mar 2008 19:27:23 +0000 (20:27 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 11 Mar 2008 19:27:23 +0000 (20:27 +0100)
src/midori-browser.c
src/midori-webview.c

index b59e409dfb3adbd6d259a435b2e17cf535065c2e..fafc3acba628b053b0102853d804ee105cd6fe70 100644 (file)
@@ -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);
index 54c5256b7fcbf9cd5831200b85a85100e2d2cf86..8459317d3e43242f902c3eeebf802e1ff2cfd37c 100644 (file)
@@ -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",