}
}
-static gboolean
-midori_browser_notify_new_tab_timeout_cb (MidoriBrowser *browser)
-{
- gtk_window_set_opacity (GTK_WINDOW (browser), 1);
- return G_SOURCE_REMOVE;
-}
-
-static void
-midori_browser_notify_new_tab (MidoriBrowser *browser)
-{
- if (katze_object_get_boolean (browser->settings, "flash-window-on-new-bg-tabs"))
- {
- gtk_window_set_opacity (GTK_WINDOW (browser), 0.8);
- g_timeout_add (100, (GSourceFunc) midori_browser_notify_new_tab_timeout_cb, browser);
- }
-}
-
static void
midori_view_new_tab_cb (GtkWidget* view,
const gchar* uri,
if (!background)
midori_browser_set_current_page (browser, n);
- else
- midori_browser_notify_new_tab (browser);
}
static void
gint n = midori_browser_add_tab (browser, new_view);
if (where != MIDORI_NEW_VIEW_BACKGROUND)
midori_browser_set_current_page (browser, n);
- else
- midori_browser_notify_new_tab (browser);
}
if (!user_initiated)
else
button = katze_property_proxy (settings, "middle-click-opens-selection", NULL);
INDENTED_ADD (button);
- button = katze_property_proxy (settings, "flash-window-on-new-bg-tabs", NULL);
- SPANNED_ADD (button);
-
if (katze_object_has_property (settings, "enable-webgl"))
{
button = katze_property_proxy (settings, "enable-webgl", NULL);
- INDENTED_ADD (button);
+ SPANNED_ADD (button);
}
FRAME_NEW (NULL);
!midori_web_settings_low_memory_profile (),
flags));
#endif
+ /**
+ * MidoriWebSettings::flash-window-on-new-bg-tabs
+ *
+ * Doesn't do anything.
+ *
+ * Deprecated: 0.4.7
+ */
g_object_class_install_property (gobject_class,
PROP_FLASH_WINDOW_ON_BG_TABS,
g_param_spec_boolean (