# vim:syntax=apparmor
# $Id: gnome 949 2007-08-28 00:49:51Z seth_arnold $
# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2006 Novell/SUSE
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
#include <abstractions/base>
#include <abstractions/fonts>
#include <abstractions/X>
#include <abstractions/freedesktop.org>
#include <abstractions/user-tmp>


  # systemwide gtk defaults
  /etc/gnome/gtkrc*               r,
  /etc/gtk/*                      r,
  /usr/lib/gtk/**                 mr,
  /usr/lib64/gtk/**               mr,
  /usr/share/themes/**            r,

  # gtk-2 needed some new rights
  /etc/fonts/*                    r,
  /etc/gtk-*/*                    r,
  /etc/pango/*                    r,
  /usr/lib64/pango/**             mr,
  /usr/lib64/gtk-*/**             mr,
  /usr/lib/pango/**               mr,
  /usr/lib/gtk-*/**               mr,

  # per-user gtk configuration
  @{HOME}/.gnome/Gnome            r,
  @{HOME}/.gtk                    r,
  @{HOME}/.gtkrc                  r,
  @{HOME}/.gtkrc-2.0              r,
  @{HOME}/.gtk-bookmarks          r,

  # from evolution-mail
  @{HOME}/.gconfd/lock/*                        r,
  @{HOME}/.gnome/application-info               r,

  # per-user font business
  @{HOME}/.fonts.cache-*          rwl,

  # icon caches
  /var/cache/**/icon-theme.cache  r,
  /usr/share/**/icon-theme.cache  r,

  # gnome VFS modules
  /etc/gnome-vfs-2.0/modules r,
  /etc/gnome-vfs-2.0/modules/* r,
  /usr/lib/gnome-vfs-2.0/modules/*.so mr,
