[gnome-music/wip/merge: 286/343] fixed the scrollbar position in albumwidget.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 286/343] fixed the scrollbar position in albumwidget.
- Date: Thu, 25 Jul 2013 11:36:40 +0000 (UTC)
commit b7268932cbd01198d6897d1321f1332770b19f8c
Author: Sai <suman sai14 gmail com>
Date: Fri Jul 19 23:08:30 2013 +0530
fixed the scrollbar position in albumwidget.
gnomemusic/widgets.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 0757aed..d1ab6e1 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -91,13 +91,14 @@ class AlbumWidget(Gtk.EventBox):
self.view.connect('item-activated', self._on_item_activated)
view_box = self.ui.get_object("view")
+ self.ui.get_object("scrolledWindow").set_placement(Gtk.CornerType.
+ TOP_LEFT)
child_view = self.view.get_children()[0]
child_view.set_margin_top(64)
child_view.set_margin_bottom(64)
child_view.set_margin_right(32)
self.view.remove(child_view)
view_box.add(child_view)
-
self.add(self.ui.get_object("AlbumWidget"))
self._add_list_renderers()
# TODO: make this work
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]