Request dark style for private browsing windows
Fixes: https://bugs.launchpad.net/midori/+bug/905056
This commit is contained in:
parent
ecac5fdce2
commit
849351554e
1 changed files with 5 additions and 0 deletions
|
@ -2177,6 +2177,11 @@ main (int argc,
|
|||
"strip-referer", TRUE, NULL);
|
||||
midori_browser_set_action_visible (browser, "Tools", FALSE);
|
||||
midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);
|
||||
#if GTK_CHECK_VERSION (2, 22, 0)
|
||||
g_object_set (gtk_widget_get_settings (GTK_WIDGET (browser)),
|
||||
"gtk-application-prefer-dark-theme", TRUE,
|
||||
NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (private || !config)
|
||||
|
|
Loading…
Reference in a new issue