Merge lp:~samuel-buffet/entertainer/no_fakes into lp:entertainer
Proposed by
Samuel Buffet
Status: | Merged |
---|---|
Approved by: | Matt Layman |
Approved revision: | 348 |
Merged at revision: | not available |
Proposed branch: | lp:~samuel-buffet/entertainer/no_fakes |
Merge into: | lp:entertainer |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~samuel-buffet/entertainer/no_fakes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matt Layman | Approve | ||
Review via email: mp+5207@code.launchpad.net |
Commit message
Unimplemented playlists tabs have been removed. (Samuel Buffet)
To post a comment you must log in.
Hi again,
Here I wanted to remove the fake playlists tabs. But I did not removed the code related to playlists elsewhere because it looks good. So I've only touched visual things.
the diff: /frontend/ gui/screens/ audio_play. py' frontend/ gui/screens/ audio_play. py 2009-02-28 17:52:38 +0000 frontend/ gui/screens/ audio_play. py 2009-04-03 20:05:17 +0000 frontend. gui.screens. screen import Screen frontend. gui.tabs. lyrics_ tab import LyricsTab frontend. gui.tabs. playing_ tab import PlayingTab frontend. gui.tabs. playlist_ tab import PlaylistTab frontend. gui.widgets. eyecandy_ texture import ( xture)
=== modified file 'entertainerlib
--- entertainerlib/
+++ entertainerlib/
@@ -12,7 +12,6 @@
from entertainerlib.
from entertainerlib.
from entertainerlib.
-from entertainerlib.
from entertainerlib.
EyeCandyTe
@@ -45,10 +44,8 @@ music_library, track)
self. add_tab( tab1)
self. add_tab( tab2)
# Tabs
tab1 = PlayingTab(track)
tab2 = LyricsTab(
- tab3 = PlaylistTab()
- self.add_tab(tab3)
=== modified file 'entertainerlib /frontend/ gui/screens/ music.py' frontend/ gui/screens/ music.py 2009-02-28 17:52:38 +0000 frontend/ gui/screens/ music.py 2009-04-03 20:02:58 +0000 frontend. gui.screens. screen import Screen frontend. gui.tabs. albums_ tab import AlbumsTab frontend. gui.tabs. artists_ tab import ArtistsTab frontend. gui.tabs. playlists_ tab import PlaylistsTab frontend. gui.widgets. label import Label frontend. gui.widgets. texture import Texture frontend. medialibrary. playlist import Playlist music_library. get_all_ albums( ),
move_ to_new_ screen_ callback)
tab2. hide_tab( ) music_library. get_playlists( ))
--- entertainerlib/
+++ entertainerlib/
@@ -7,7 +7,6 @@
from entertainerlib.
from entertainerlib.
from entertainerlib.
-from entertainerlib.
from entertainerlib.
from entertainerlib.
from entertainerlib.
@@ -39,11 +38,9 @@
tab2 = AlbumsTab(
- tab3 = PlaylistsTab(
- self.add_tab(tab3)
def _create_ no_music_ information( self):
"""
=== removed file 'entertainerlib /frontend/ gui/tabs/ playlist_ tab.py' frontend/ gui/tabs/ playlist_ tab.py 2008-12-06 03:56:48 +0000 frontend/ gui/tabs/ playlist_ tab.py 1970-01-01 00:00:00 +0000 frontend. gui.tabs. tab import Tab
--- entertainerlib/
+++ entertainerlib/
@@ -1,22 +0,0 @@
-'''Playlist tab for the audio screen'''
-
-__licence__ = "GPLv2"
-__copyright__ = "2008, Matt Layman"
-__author__ = "Matt Layman <email address hidden>"
-
-from entertainerlib.
-
-class PlaylistTab(Tab):
- '''Tab for the audio play screen to show playlists.'''
-
- def __init__(self, name = "playlist", tab_title = _("Current playlist")):
- '''Initialize the tab'''
-
- Tab.__init__(self, name, tab_title)
- self.hide_tab()
-
- def can_activate(self):
- '''PlaylistTab is currently not implemented. This file is a placeholder
- for when the feature is available. Therefore the tab is not active'''
- return False
-
=== removed file 'entertainerlib /frontend/ gui/tabs/ playlists_ tab.py'
-...