Build fix: Accidentally removed the wrong action.
This commit is contained in:
parent
e1f62329f1
commit
9abae486dd
2 changed files with 12 additions and 9 deletions
|
@ -371,7 +371,7 @@ static gboolean
|
|||
midori_web_view_console_message_cb (GtkWidget* web_view,
|
||||
const gchar* message,
|
||||
gint line,
|
||||
const gchar* sourceId,
|
||||
const gchar* source_id,
|
||||
MidoriBrowser* browser)
|
||||
{
|
||||
// FIXME: We want this to appear in a panel
|
||||
|
@ -397,7 +397,7 @@ midori_web_view_populate_popup_cb (GtkWidget* web_view,
|
|||
if (!uri && !webkit_web_view_has_selection (WEBKIT_WEB_VIEW (web_view)))
|
||||
{
|
||||
// TODO: menu items
|
||||
// undo close tab
|
||||
// UndoTabClose
|
||||
// sep
|
||||
// BookmarkNew
|
||||
// SaveAs
|
||||
|
@ -1777,7 +1777,7 @@ _action_bookmark_edit_activate (GtkAction* action,
|
|||
}
|
||||
|
||||
static void
|
||||
_action_trash_undo_activate (GtkAction* action,
|
||||
_action_undo_tab_close_activate (GtkAction* action,
|
||||
MidoriBrowser* browser)
|
||||
{
|
||||
MidoriBrowserPrivate* priv = browser->priv;
|
||||
|
@ -1955,6 +1955,9 @@ static const GtkActionEntry entries[] = {
|
|||
{ "TrashEmpty", GTK_STOCK_CLEAR,
|
||||
"Empty Trash", "",
|
||||
"hm?", G_CALLBACK (_action_trash_empty_activate) },
|
||||
{ "UndoTabClose", GTK_STOCK_UNDELETE,
|
||||
"Undo Close Tab", "",
|
||||
"hm?", G_CALLBACK (_action_undo_tab_close_activate) },
|
||||
|
||||
{ "Bookmarks", NULL, "_Bookmarks" },
|
||||
{ "BookmarkNew", STOCK_BOOKMARK_NEW,
|
||||
|
|
|
@ -447,12 +447,12 @@ gtk_widget_scroll_event (MidoriWebView* web_view,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
midori_web_view_menu_new_tab_activate (GtkWidget* action,
|
||||
MidoriBrowser* browser)
|
||||
/*static void
|
||||
midori_web_view_menu_new_tab_activate (GtkWidget* widget,
|
||||
MidoriWebView* web_view)
|
||||
{
|
||||
// FIXME: Open a new tab and load the uri
|
||||
}
|
||||
}*/
|
||||
|
||||
static void
|
||||
webkit_web_view_populate_popup_cb (GtkWidget* web_view,
|
||||
|
@ -582,7 +582,7 @@ midori_web_view_init (MidoriWebView* web_view)
|
|||
"signal::scroll-event",
|
||||
gtk_widget_scroll_event, NULL,
|
||||
"signal::populate-popup",
|
||||
webkit_web_view_populate_popup_cb, browser,
|
||||
webkit_web_view_populate_popup_cb, NULL,
|
||||
NULL);
|
||||
g_object_connect (web_frame,
|
||||
"signal::load-done",
|
||||
|
|
Loading…
Reference in a new issue