From 3df21e947f2fa395647eb506eaf47626a9148fcf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Wed, 25 Mar 2009 00:43:03 +0100 Subject: [PATCH] Add pageholder to existing browsers and not only new ones --- extensions/page-holder.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extensions/page-holder.c b/extensions/page-holder.c index 2902b78a..7d3032bd 100644 --- a/extensions/page-holder.c +++ b/extensions/page-holder.c @@ -122,6 +122,14 @@ static void page_holder_activate_cb (MidoriExtension* extension, MidoriApp* app) { + KatzeArray* browsers; + MidoriBrowser* browser; + guint i; + + browsers = katze_object_get_object (app, "browsers"); + i = 0; + while ((browser = katze_array_get_nth_item (browsers, i++))) + page_holder_app_add_browser_cb (app, browser, extension); g_signal_connect (app, "add-browser", G_CALLBACK (page_holder_app_add_browser_cb), extension); } -- 2.39.5