played -> new/unplayed

git-svn-id: svn://svn.berlios.de/gpodder/trunk@303 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
Thomas Perl 2007-04-03 11:44:45 +00:00
parent 7bed9a8aae
commit bf286a5d55
4 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
Tue, 3 Apr 2007 13:43:35 +0200 <thp@perli.net>
* src/gpodder/libpodcasts.py: Only display icon on unplayed items
* src/gpodder/gpodder.py: Rename "Played" column to "New"
* data/gpodder.glade: Rewrite text to display "New/Unplayed" column
Tue, 3 Apr 2007 13:14:02 +0200 <thp@perli.net>
* src/gpodder/liblogger.py: Enhance the log() function to accept a
"sender" keyword argument that contains the object tha sends the

View File

@ -2011,7 +2011,7 @@
<widget class="GtkCheckButton" id="showplayed">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Display "Played" status in episode list</property>
<property name="label" translatable="yes">Display unplayed status in episode list</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>

View File

@ -121,7 +121,7 @@ class Gpodder(SimpleGladeApp):
iconcolumn.add_attribute( iconcell, "icon-name", 4)
playedcell = gtk.CellRendererPixbuf()
playedcolumn = gtk.TreeViewColumn( _("Played"), playedcell)
playedcolumn = gtk.TreeViewColumn( _("New"), playedcell)
playedcolumn.add_attribute( playedcell, "icon-name", 8)
self.played_column = playedcolumn

View File

@ -248,10 +248,8 @@ class podcastChannel(ListType):
for item in self.get_all_episodes():
played_icon = None
if self.is_downloaded( item) and want_color:
if libgpodder.gPodderLib().history_is_played( item.url):
if not libgpodder.gPodderLib().history_is_played( item.url):
played_icon = gtk.STOCK_YES
#else:
# played_icon = gtk.STOCK_NO
file_type = self.get_file_type( item)
if file_type == 'audio':