* David Reveman wrote: > On Thu, 2006-10-19 at 08:53 +0200, Thierry Reding wrote: > > Hi, > > > > It seems that sometimes it happens that there's a gconf entry for the > > metacity theme, but that metacity theme does not exist. The result is > > gtk-window-decorator failing to start. > > > > The attached patch fixes this by checking whether the theme was set > > successfully, and falls back to the default compiz theme (by setting > > use_meta_theme to FALSE) if not. Could this be included in compiz? > > Sure. I think you attached the wrong patch, though.
Indeed, sorry about that. That previous patch was for backporting compiz to libmetacity < 2.15.21. The attached patch should be correct. - Thierry
Index: gtk/window-decorator/gtk-window-decorator.c
===================================================================
--- a/gtk/window-decorator/gtk-window-decorator.c
+++ b/gtk/window-decorator/gtk-window-decorator.c
@@ -5846,6 +5846,8 @@
if (theme)
{
meta_theme_set_current (theme, TRUE);
+ if (!meta_theme_get_current())
+ use_meta_theme = FALSE;
g_free (theme);
}
signature.asc
Description: Digital signature
_______________________________________________ compiz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/compiz
