[banshee] [AddinView] Fix scrolling when using keyboard navigation
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [AddinView] Fix scrolling when using keyboard navigation
- Date: Wed, 4 Aug 2010 12:01:20 +0000 (UTC)
commit 45b89067c929f6600c499b24035155bef3a6f7b8
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Wed Aug 4 13:52:53 2010 +0200
[AddinView] Fix scrolling when using keyboard navigation
It turns out ScrolledWindow.AddWithViewport should not be used when the
child widget has native scrolling, like the TreeView. Let's use the
ScrolledWindows in Hyena, which as a bonus gives us a consistent look
with other scrollable widgets. Fixes bgo#624569.
.../Banshee.Addins.Gui/AddinView.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinView.cs b/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinView.cs
index 6a3f386..47d7ef0 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinView.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinView.cs
@@ -143,10 +143,10 @@ namespace Banshee.Addins.Gui
search_entry.Changed += (o, a) => update_model ();
filter_combo.Changed += (o, a) => update_model ();
- var tree_scroll = new Gtk.ScrolledWindow () {
+ var tree_scroll = new Hyena.Widgets.ScrolledWindow () {
HscrollbarPolicy = PolicyType.Never
};
- tree_scroll.AddWithViewport (tree_view);
+ tree_scroll.AddWithFrame (tree_view);
Spacing = 6;
PackStart (hbox, false, false, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]