diff options
| author | Mirco Müller <mirco.mueller@ubuntu.com> | 2010-09-14 17:31:23 +0200 |
|---|---|---|
| committer | Mirco Müller <mirco.mueller@ubuntu.com> | 2010-09-14 17:31:23 +0200 |
| commit | ba3a067e136d30d19ae62c6c1d0c225def741d73 (patch) | |
| tree | 24b74ab2e0580013426e1c12fad7de2b4a934098 /unity-private/launcher | |
| parent | 1bc1804d9f1a3ff7b52356be8769cc49d788add6 (diff) | |
| parent | af414e4ed073f5426d2994e5abb3ec7138882979 (diff) | |
modified:
unity-private/launcher/scroller-controller.vala Merged branch unity.fix-632460 after review and approval from Gordon. This avoids the crash on Super-key-shortcuts with places. Fixes LP: #632460 (bzr r502)
Diffstat (limited to 'unity-private/launcher')
| -rw-r--r-- | unity-private/launcher/scroller-controller.vala | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/unity-private/launcher/scroller-controller.vala b/unity-private/launcher/scroller-controller.vala index abee8caa6..833338dfa 100644 --- a/unity-private/launcher/scroller-controller.vala +++ b/unity-private/launcher/scroller-controller.vala @@ -81,7 +81,15 @@ namespace Unity.Launcher Unity.global_shell.super_key_active = false; var childcontroller = get_controller_for_view (model[index]); - childcontroller.activate (); + if (childcontroller is ScrollerChildController) + { + childcontroller.activate (); + } + else + { + // FIXME + warning ("get_controller_for_view() returned NULL\n"); + } } uint super_key_source = 0; |
