Merge branch 'master' of file:///home/bjschuma/public_html/git/ocarina
This commit is contained in:
commit
685bd54bcb
|
@ -140,14 +140,20 @@ class TwoWayPane(InfoBar):
|
|||
self.bar = self.contents
|
||||
self.tab = InfoTab(self.down_button)
|
||||
self.pack_start(self.tab)
|
||||
if libsaria.prefs["INFOPANEUP"] == True:
|
||||
self.up_button()
|
||||
else:
|
||||
self.down_button()
|
||||
|
||||
def up_button(self):
|
||||
self.bar.hide()
|
||||
self.tab.show()
|
||||
libsaria.prefs["INFOPANEUP"] = True
|
||||
|
||||
def down_button(self):
|
||||
self.bar.show()
|
||||
self.tab.hide()
|
||||
libsaria.prefs["INFOPANEUP"] = False
|
||||
|
||||
|
||||
def init():
|
||||
|
@ -165,6 +171,7 @@ def init():
|
|||
import label
|
||||
import image
|
||||
|
||||
libsaria.init_pref("INFOPANEUP", False)
|
||||
info = TwoWayPane()
|
||||
filter = FilterBar()
|
||||
add_info_page("Now Playing", NowPlaying())
|
||||
|
|
Loading…
Reference in New Issue