cinnamon: added a patch for fix remaining issue in cinnamon-settings.

This commit is contained in:
Juan RP 2012-09-22 16:50:10 +02:00
parent cd7e67aa6b
commit 6fea46853e
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
A workaround for this error:
Traceback (most recent call last):
File "/usr/lib/cinnamon-settings/cinnamon-settings.py", line 1838, in side_view_nav
sidePage.build()
File "/usr/lib/cinnamon-settings/cinnamon-settings.py", line 744, in build
scrolledWindow.set_shadow_type(Gtk.ShadowType.IN)
AttributeError: type object 'GtkShadowType' has no attribute 'IN'
Disable the shadow type for now.
--- files/usr/lib/cinnamon-settings/cinnamon-settings.py.orig 2012-09-22 16:47:36.560928739 +0200
+++ files/usr/lib/cinnamon-settings/cinnamon-settings.py 2012-09-22 16:47:47.218674599 +0200
@@ -741,7 +741,7 @@ class ThemeViewSidePage (SidePage):
iconView.select_path(self.model.get_path(self.active_theme_iter))
iconView.connect("selection_changed", self.apply_theme )
scrolledWindow.add(iconView)
- scrolledWindow.set_shadow_type(Gtk.ShadowType.IN)
+ scrolledWindow.set_shadow_type(Gtk.ShadowType.NONE)
link = Gtk.LinkButton("http://cinnamon-spices.linuxmint.com/themes")
link.set_label(_("Get new themes"))
cinnamon_theme_vbox.pack_start(link, False, False, 2)

View file

@ -1,7 +1,7 @@
# Template file for 'cinnamon'
pkgname=cinnamon
version=1.6.0
revision=3
revision=4
wrksrc="linuxmint-Cinnamon-bd02368"
build_style=gnu-configure
configure_args="--disable-schemas-compile --enable-compile-warnings=yes