cinnamon: fix unknown attribute for keyboard menu in cinnamon-settings.

This commit is contained in:
Juan RP 2012-10-19 11:58:14 +02:00
parent 38036a1587
commit 2ff8985661
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cinnamon' # Template file for 'cinnamon'
pkgname=cinnamon pkgname=cinnamon
version=1.6.2 version=1.6.2
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-schemas-compile --enable-compile-warnings=yes configure_args="--disable-schemas-compile --enable-compile-warnings=yes
--disable-static --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" --disable-static --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
@ -53,4 +53,8 @@ pre_configure() {
# cinnamon-settings. # cinnamon-settings.
sed -i -e "s|Gtk.ShadowType.IN|Gtk.ShadowType.NONE|g" \ sed -i -e "s|Gtk.ShadowType.IN|Gtk.ShadowType.NONE|g" \
files/usr/lib/cinnamon-settings/cinnamon-settings.py files/usr/lib/cinnamon-settings/cinnamon-settings.py
# Workaround for 'Unknown attribute MODIFIER_TAP in
# Gtk.CellRendererAccelMode in cinnamon-settings.
sed -i -e "s|Gtk.CellRendererAccelMode.MODIFIER_TAP|Gtk.CellRendererAccelMode.GTK|g" \
files/usr/lib/cinnamon-settings/cinnamon-settings.py
} }