diff --git a/ocarina/info.py b/ocarina/info.py index 5288b508..e5fee444 100644 --- a/ocarina/info.py +++ b/ocarina/info.py @@ -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())