mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix #500 add scrolled window to sidebar
This commit is contained in:
parent
704ed1d0a8
commit
ffb2de165d
1 changed files with 5 additions and 2 deletions
|
@ -79,8 +79,11 @@ class SideBar(component.Component):
|
|||
"""Adds a tab object to the notebook."""
|
||||
log.debug("add tab:%s" % tab_name )
|
||||
self.tabs[tab_name] = widget
|
||||
pos = self.notebook.insert_page(widget, gtk.Label(label), -1)
|
||||
widget.show_all()
|
||||
scrolled = gtk.ScrolledWindow()
|
||||
scrolled.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
|
||||
scrolled.add(widget)
|
||||
pos = self.notebook.insert_page(scrolled, gtk.Label(label), -1)
|
||||
scrolled.show_all()
|
||||
|
||||
self.after_update()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue