diff src/audacious/main.c @ 3965:aea8b763b134

Work around the issues with broken Gtk-Qt-Engine and Modern skins with inline GTK.
author William Pitcock <nenolod@atheme.org>
date Sat, 17 Nov 2007 06:21:00 -0600
parents a575c29cee05
children 40db2fe8d073
line wrap: on
line diff
--- a/src/audacious/main.c	Sat Nov 17 03:35:43 2007 -0600
+++ b/src/audacious/main.c	Sat Nov 17 06:21:00 2007 -0600
@@ -226,6 +226,8 @@
     TRUE,           /* close jtf dialog on jump */
     TRUE,           /* use back and forth scroll */
     FALSE,          /* use software volume control */
+    .warn_about_broken_gtk_engines = TRUE,           /* warn about broken gtk themes */
+    FALSE,          /* disable inline themes */
 };
 
 typedef struct bmp_cfg_boolent_t {
@@ -334,6 +336,7 @@
     {"close_jtf_dialog", &cfg.close_jtf_dialog, TRUE},
     {"twoway_scroll", &cfg.twoway_scroll, TRUE},
     {"software_volume_control", &cfg.software_volume_control, TRUE},
+    {"warn_about_broken_gtk_engines", &cfg.warn_about_broken_gtk_engines, TRUE},
 };
 
 static gint ncfgbent = G_N_ELEMENTS(bmp_boolents);
@@ -1463,6 +1466,8 @@
 
     if (options.headless != 1)
     {
+      ui_main_check_theme_engine();
+
       /* UIManager
          NOTE: this needs to be called before plugin init, cause
          plugin init functions may want to add custom menu entries */