http://bugs.gpodder.org/show_bug.cgi?id=203
Thomas Perl <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
--- Comment #6 from Thomas Perl <[EMAIL PROTECTED]> 2008-10-30 06:34:43 ---
Testing with a subfolder of my home folder obviously does not work:
File "/home/thp/src/gpodder/src/gpodder/gui.py", line 3743, in
on_btnSavePlaylist_clicked
self.write_m3u()
File "/home/thp/src/gpodder/src/gpodder/gui.py", line 3763, in write_m3u
fp = open(self.playlist_file, 'w')
IOError: [Errno 2] No such file or directory: '/PLAYLISTS/gpodder.m3u'
Testing with a USB stick connected, I get:
Traceback (most recent call last):
File "/home/thp/src/gpodder/src/gpodder/gui.py", line 3743, in
on_btnSavePlaylist_clicked
self.write_m3u()
File "/home/thp/src/gpodder/src/gpodder/gui.py", line 3763, in write_m3u
fp = open(self.playlist_file, 'w')
IOError: [Errno 2] No such file or directory:
'/media/TinyVault/PLAYLISTS/gpodder.m3u'
You can use util.make_directory() for this. It will only create the directory
if it does not exist. If it returns True, the directory exists or has been
created. If it returns false, you should pop up a message box (show_message)
saying that the folder could not be created.
The "new" icon is very nice and works as expected. Also, the written M3U is
very nice and has the unchecked items commented out.
Some things that might need tweaking (but I'll do it after you have fixed the
above thing):
* Use stock icons in the dialog instead of text-only icons
* Align the icons to the right, like a normal dialog
* Use a ScrolledWindow around the Treeview, so you get scrollbars
After your next version of the patch, I'll have a quick look over it and then
forward it to other gPodder devs to get their opinion on this. It is evolving
very quickly now, and should be ready soon, I presume :)
--
Configure bugmail: http://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs