diff options
author | portix <portix@gmx.net> | 2011-09-12 15:46:02 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-09-12 15:46:02 +0200 |
commit | 84e45df20c9f47789d10dfd2504c68e9921d5013 (patch) | |
tree | d6717d7a17531aace1a61c51c7365bb9c3e619b4 /src/plugins.c | |
parent | e7fbd586d53631d02e4d05f54041a8d9f51c8abf (diff) | |
download | dwb-84e45df20c9f47789d10dfd2504c68e9921d5013.zip |
Toggle plugin blocker
--HG--
branch : develop
Diffstat (limited to 'src/plugins.c')
-rw-r--r-- | src/plugins.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins.c b/src/plugins.c index eac70d58..7d524ebd 100644 --- a/src/plugins.c +++ b/src/plugins.c @@ -176,6 +176,7 @@ dwb_plugin_blocker_connect(GList *gl) { VIEW(gl)->status->signals[SIG_PLUGINS_LOAD] = g_signal_connect(WEBVIEW(gl), "notify::load-status", G_CALLBACK(dwb_plugins_load_status_cb), gl); VIEW(gl)->status->signals[SIG_PLUGINS_FRAME_LOAD] = g_signal_connect(WEBVIEW(gl), "frame-created", G_CALLBACK(dwb_plugins_frame_created_cb), gl); VIEW(gl)->status->signals[SIG_PLUGINS_CREATE_WIDGET] = g_signal_connect(WEBVIEW(gl), "create-plugin-widget", G_CALLBACK(dwb_plugins_create_plugin_widget_cb), gl); + VIEW(gl)->status->pb_status = PLUGIN_STATUS_CONNECTED; } void @@ -186,4 +187,5 @@ dwb_plugin_blocker_disconnect(GList *gl) { VIEW(gl)->status->signals[i] = 0; } } + VIEW(gl)->status->pb_status = PLUGIN_STATUS_DISCONNECTED; } |