summaryrefslogtreecommitdiff
diff options
authorSebastien Bacher <seb128@ubuntu.com>2010-09-03 15:05:25 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-09-03 15:05:25 +0200
commitd16db1c9c2818c2fa37d0b8ae4ce94ed60d261fb (patch)
tree3928ed6bcf9dea3c8160e1ffc30e6050f315136d
parent9cc0e76c6581253e1b2573567e0bc1c9b092e7bd (diff)
Backport a fix for new tiles being unresponsive (lp: #623953)
(bzr r55.3.164)
-rw-r--r--debian/changelog6
-rw-r--r--unity-private/launcher/scroller-controller.vala1
-rw-r--r--unity-private/launcher/scroller-view.vala11
3 files changed, 8 insertions, 10 deletions
diff --git a/debian/changelog b/debian/changelog
index 3dba943c0..83b82ecab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+unity (0.2.32-0ubuntu4) UNRELEASED; urgency=low
+
+ * Backport a fix for new tiles being unresponsive (lp: #623953)
+
+ -- Sebastien Bacher <seb128@ubuntu.com> Thu, 02 Sep 2010 11:20:34 +0200
+
unity (0.2.32-0ubuntu3) maverick; urgency=low
* Backport Gord's changes to fix scrolling and click issues in the
diff --git a/unity-private/launcher/scroller-controller.vala b/unity-private/launcher/scroller-controller.vala
index c338d7ba3..428ea845c 100644
--- a/unity-private/launcher/scroller-controller.vala
+++ b/unity-private/launcher/scroller-controller.vala
@@ -126,6 +126,7 @@ namespace Unity.Launcher
else
{
ScrollerChild child = new ScrollerChild ();
+ child.group_type = ScrollerChild.GroupType.APPLICATION;
controller = new ApplicationController (null, child);
(controller as ApplicationController).attach_application (app);
if (app.user_visible ())
diff --git a/unity-private/launcher/scroller-view.vala b/unity-private/launcher/scroller-view.vala
index df5d95331..b155dc7dd 100644
--- a/unity-private/launcher/scroller-view.vala
+++ b/unity-private/launcher/scroller-view.vala
@@ -1571,16 +1571,7 @@ namespace Unity.Launcher
public override void pick (Clutter.Color color)
{
base.pick (color);
- for (int index = draw_btf.size-1; index >= 0; index--)
- {
- ScrollerChild child = draw_btf[index];
- if (child is ScrollerChild && child.opacity > 0 && !child.do_not_render)
- {
- (child as ScrollerChild).paint ();
- }
- }
-
- foreach (ScrollerChild child in draw_ftb)
+ foreach (ScrollerChild child in model)
{
if (child is ScrollerChild && child.opacity > 0 && !child.do_not_render)
{