Fix Back button and opening new tabs.
This commit is contained in:
parent
9abae486dd
commit
4a1e0ab67b
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue