Commits

Damián Nohales committed cc63115

Changes to playview automatically when user search

Comments (0)

Files changed (1)

         if button.get_active():
             self.panes.set_current_page(0)
             self.downloads_pane_label.set_active(False)
-        else:
-            pass
+            self.playview_pane_label.set_active(True)
 
     def on_show_downloadsview(self, button, data = None):
         if button.get_active():
             self.panes.set_current_page(1)
             self.playview_pane_label.set_active(False)
-        else:
-            pass
+            self.downloads_pane_label.set_active(True)
 
     def on_toggle_fullscreen(self, menuitem, data = None):
         """docstring for on_toggle_fullscreen"""
             self.entry_filter.set_text("")
             search_thread = SearchThread(self, widget.get_text(), "Songs")
             search_thread.start()
+            self.on_show_playview(self.downloads_pane_label)
 
     def get_overwritten_filename(self, filename, use_response = None):
         """