REMOVE_TAB,
MOVE_TAB,
ACTIVATE_ACTION,
- CONTEXT_READY,
ADD_DOWNLOAD,
SEND_NOTIFICATION,
POPULATE_TOOL_MENU,
_midori_browser_update_progress (browser, MIDORI_VIEW (view));
}
-static void
-midori_view_context_ready_cb (GtkWidget* view,
- JSContextRef js_context,
- MidoriBrowser* browser)
-{
- g_signal_emit (browser, signals[CONTEXT_READY], 0, js_context);
-}
-
static void
midori_view_notify_uri_cb (GtkWidget* widget,
GParamSpec* pspec,
midori_view_notify_load_status_cb, browser,
"signal::notify::progress",
midori_view_notify_progress_cb, browser,
- "signal::context-ready",
- midori_view_context_ready_cb, browser,
"signal::notify::uri",
midori_view_notify_uri_cb, browser,
"signal::notify::title",
G_TYPE_NONE, 1,
G_TYPE_STRING);
- signals[CONTEXT_READY] = g_signal_new (
- "context-ready",
- G_TYPE_FROM_CLASS (class),
- (GSignalFlags)(G_SIGNAL_RUN_LAST),
- 0,
- 0,
- NULL,
- g_cclosure_marshal_VOID__POINTER,
- G_TYPE_NONE, 1,
- G_TYPE_POINTER);
-
/**
* MidoriBrowser::add-download:
* @browser: the object on which the signal is emitted
enum {
ACTIVATE_ACTION,
CONSOLE_MESSAGE,
- CONTEXT_READY,
ATTACH_INSPECTOR,
DETACH_INSPECTOR,
NEW_TAB,
G_TYPE_INT,
G_TYPE_STRING);
- signals[CONTEXT_READY] = g_signal_new (
- "context-ready",
- G_TYPE_FROM_CLASS (class),
- (GSignalFlags)(G_SIGNAL_RUN_LAST),
- 0,
- 0,
- NULL,
- g_cclosure_marshal_VOID__POINTER,
- G_TYPE_NONE, 1,
- G_TYPE_POINTER);
-
signals[ATTACH_INSPECTOR] = g_signal_new (
"attach-inspector",
G_TYPE_FROM_CLASS (class),
NULL);
g_free (result);
}
-
- g_signal_emit (view, signals[CONTEXT_READY], 0, js_context);
}
static void