Remove device_playlist_name from podcast channel

This commit is contained in:
Thomas Perl 2010-12-20 01:58:08 +01:00
parent 052aeb6959
commit e131e5a40c
4 changed files with 0 additions and 59 deletions

View File

@ -222,60 +222,6 @@
<property name="fill">False</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="hboxiPodPlaylistName">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">5</property>
<child>
<object class="GtkLabel" id="label119">
<property name="visible">True</property>
<property name="label" translatable="yes">Playlist name:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="musicPlaylist">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="max_length">0</property>
<property name="has_frame">True</property>
<property name="invisible_char">*</property>
<property name="activates_default">False</property>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkHSeparator" id="hseparator12">
<property name="visible">True</property>
</object>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label96">
<property name="visible">True</property>

View File

@ -66,7 +66,6 @@ class Database(object):
('image', 'TEXT', False, None), # URL to cover art for the image
('pubDate', 'INTEGER', True, '0'), # Date and time of last feed publication
('sync_to_devices', 'INTEGER', True, '1'), # 1 if syncing to devices is enabled, 0 otherwise
('device_playlist_name', 'TEXT', True, "'gPodder'"), # Name of the playlist on the device for syncing
('username', 'TEXT', True, "''"), # Username for HTTP authentication (feed update + downloads)
('password', 'TEXT', True, "''"), # Password for HTTP authentication (feed update + downloads)
('last_modified', 'TEXT', False, None), # Last-modified HTTP header from last update

View File

@ -39,7 +39,6 @@ class gPodderChannel(BuilderWidget):
self.LabelWebsite.set_text( self.channel.link)
self.cbNoSync.set_active( not self.channel.sync_to_devices)
self.musicPlaylist.set_text(self.channel.device_playlist_name)
if self.channel.username:
self.FeedUsername.set_text( self.channel.username)
if self.channel.password:
@ -105,7 +104,6 @@ class gPodderChannel(BuilderWidget):
def on_btnOK_clicked(self, widget, *args):
self.channel.sync_to_devices = not self.cbNoSync.get_active()
self.channel.feed_update_enabled = not self.cbSkipFeedUpdate.get_active()
self.channel.device_playlist_name = self.musicPlaylist.get_text()
self.channel.set_custom_title(self.entryTitle.get_text())
self.channel.username = self.FeedUsername.get_text().strip()
self.channel.password = self.FeedPassword.get_text()

View File

@ -378,8 +378,6 @@ class PodcastChannel(PodcastModelObject):
# should this channel be synced to devices? (ex: iPod)
self.sync_to_devices = True
# to which playlist should be synced
self.device_playlist_name = 'gPodder'
# if set, this overrides the channel-provided title
self.override_title = ''
self.username = ''