diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-01 00:29:53 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-01 00:29:53 (GMT) |
commit | e02b2e586759e2582c5f361d3e81d703a44d6d23 (patch) | |
tree | 103463a2a49ace12de43feef988259d8dae5516f /View.py | |
parent | 5fc4926fbe2cf9e6d1e84d3241befc152d6afb81 (diff) |
put tapebox to sctolled panel
Diffstat (limited to 'View.py')
-rw-r--r-- | View.py | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -147,7 +147,7 @@ class View: filmstrip = gtk.Image() filmstrip.set_from_pixbuf(filmstrip_pixbuf); - frame_box.pack_start(filmstrip, True, False) + frame_box.pack_start(filmstrip, False, False) frame = gtk.EventBox() frame.set_events(gtk.gdk.BUTTON_PRESS_MASK) @@ -199,6 +199,10 @@ class View: hdesktop.pack_start(cetralbox,True,True,0) # tape box + tape_scroll = HScrolledBox(gtk.POLICY_ALWAYS) + tape_scroll.set_viewport(tape) + tape_scroll.modify_bg(gtk.STATE_NORMAL, + gtk.gdk.color_parse(BUTTON_BACKGROUND)) arrow = gtk.Image() arrow.set_from_file(Theme.path('icons/pink_arrow.png')) @@ -207,14 +211,15 @@ class View: animframe = gtk.EventBox() animframe.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(BACKGROUND)) animframe.set_border_width(5) - animframe.add(tape) + animframe.add(tape_scroll) animborder.add(animframe) - animbox = gtk.HBox() - animbox.pack_start(animborder, True, False) + #animbox = gtk.HBox() + #animbox.pack_start(animborder) + tape_box = gtk.VBox() tape_box.props.border_width = 10 tape_box.pack_start(arrow, False, False) - tape_box.pack_start(animbox, False, False, 0) + tape_box.pack_start(animborder) desktop = gtk.VBox() desktop.pack_start(hdesktop,True,True,0) |