The dark themes are there since GTK+ 3.0 in fact
The Since in the documentation is wrong.
This commit is contained in:
parent
cd8cb17b9e
commit
e2816612c5
1 changed files with 1 additions and 1 deletions
|
@ -2177,7 +2177,7 @@ main (int argc,
|
||||||
"strip-referer", TRUE, NULL);
|
"strip-referer", TRUE, NULL);
|
||||||
midori_browser_set_action_visible (browser, "Tools", FALSE);
|
midori_browser_set_action_visible (browser, "Tools", FALSE);
|
||||||
midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);
|
midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);
|
||||||
#if GTK_CHECK_VERSION (2, 22, 0)
|
#if GTK_CHECK_VERSION (3, 0, 0)
|
||||||
g_object_set (gtk_widget_get_settings (GTK_WIDGET (browser)),
|
g_object_set (gtk_widget_get_settings (GTK_WIDGET (browser)),
|
||||||
"gtk-application-prefer-dark-theme", TRUE,
|
"gtk-application-prefer-dark-theme", TRUE,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
Loading…
Reference in a new issue