[apparmor] Factorize Qt and GTK themes abstractions?

Jamie Strandboge jamie at canonical.com
Thu Aug 23 13:50:04 UTC 2012


On Wed, 2012-08-22 at 21:48 +0200, intrigeri wrote:
> Hi,
> 
> it was reported as Debian bug #682431 [0] that the AppArmor profile
> we've been shipping for Vidalia is incomplete: given a system with Qt
> configured to use the GTK theme, which is the Debian Wheezy default,
> Vidalia (a Qt application) needs to read files such as
> /usr/share/themes/*/gtk-2.0/gtkrc and various ~/.gtk* and friends that
> are listed in the gnome abstraction.
> 
> On the short term, I could copy these lines from the gnome abstraction
> into the Vidalia profile, but for obvious reasons I'd hate doing this
> without having better mid-term plans.
> 
> So, I think the lines about themes and gtkrc should be extracted from
> the gnome abstraction into another abstraction ("gtk"?), that can be
> sourced by:
> 
>   * the existing "gnome" abstraction
>   * a new "qt" abstraction (to be used by the kde abstraction, as well
>     as by non-KDE Qt applications)
> 
> Thoughts?
> 
> If the above makes sense, and given there are tools to do the contrary
> (GTK applications using the configured Qt theme), I guess Qt theme
> configuration -related lines shall be somehow extracted from the kde
> abstraction as well.

Seems reasonable to me.
-- 
Jamie Strandboge             | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120823/0a128e79/attachment.pgp>


More information about the AppArmor mailing list