[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [G-I] testresults using new gtk2-engines udeb

On Fri, Oct 13, 2006, Frans Pop wrote:
> There is one minor issue. VT1 gets flooded with two messages:
> * Repeated a lot:
>   (debconf: 9999): Gdk-DirectFB-WARNING **: gdk_directfb_gc_set_dashes not implemented
> * Repeated a lot while progress bar is running:
>   Gdk_DirectFB-Message: filled polygons with n > 3 are not yet supported, drawing outlines
> Seems like the engine uses some "advanced" features that are not supported
> by gdk-directfb, though it does seem to cleanly fall back to alternatives.
> I'd like to prevent the flooding of VT1 though; would it be possible to
> suppress these warnings?

 gdk_directfb_gc_set_dashes() and filled polygons with n > 3 aren't
 implemented in Gtk 2.10.6 either, so a backport wouldn't help.  I'm
 afraid that use of these functions would have to be changed in the
 Clearlooks engine and we would have to change the build to apply
 different patches to the directfb build; this would be relatively hard.
   I'm afraid that warnings are always printed by default, I couldn't
 find a way to turn them off without adding a special log handler.  :-/
 (The relevant code is in glib/gmessages.c in glib2.0, and the doc is
 at <http://developer.gnome.org/doc/API/2.0/glib/glib-running.html>.)

> I have one question: how will implementing this clearlooks engine affect
> implementing the bladr and "dark" theme? I'd like to avoid implementing
> several different themes/engines for Etch and instead stick to only:
> - one default theme
> - the dark theme (or rather one theme for visually impaired people)

 You definitely want a theme for visually impaired people, I've added
 libhcengine.so the gtk2-engines udeb, which enhances the look ot the
 High Constrast theme.  It seems to reference
 /usr/share/themes/HighContrastLargePrint/pixmaps, but
 /usr/share/themes/HighContrast/gtk-2.0/gtkrc is probaly the bulk of the
 theme, and it would be a good start to try using this gtkrc.

 (Please let me know ahead of time if you need a gnome-themes udeb as
 well, but it would be easier to grab a copy from the relevant files
 and ship them in rootskel for now.)

 I didn't look into the Bladr theme.

 I'm not sure how you'll switch theme when someone wants the
 accessibility mode of the installer, do you have a solution for this
 already?  Will you generate a gtkrc in /etc?

Loïc Minier <lool@dooz.org>

Reply to: