From: Enrico Tröger Date: Tue, 24 Mar 2009 23:43:03 +0000 (+0100) Subject: Add pageholder to existing browsers and not only new ones X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df21e947f2fa395647eb506eaf47626a9148fcf;p=midori Add pageholder to existing browsers and not only new ones --- 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); }