Actually handle multiple mime types

This commit is contained in:
Dan Williams 2007-07-18 02:08:16 -04:00
parent c16c07e954
commit 86b36cc5d3
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,3 +1,5 @@
* Actually handle multiple mime types (dcbw)
* Keep owner in the center in mesh view (dcbw)
* Suppress annoying warnings about unknown activities from the PS (dcbw) * Suppress annoying warnings about unknown activities from the PS (dcbw)
* Don't close GlibTCPServer sockets prematurely (dcbw) * Don't close GlibTCPServer sockets prematurely (dcbw)

View File

@ -132,7 +132,7 @@ class Bundle:
if cp.has_option(section, 'mime_types'): if cp.has_option(section, 'mime_types'):
mime_list = cp.get(section, 'mime_types') mime_list = cp.get(section, 'mime_types')
self._mime_types = mime_list.strip(';') self._mime_types = mime_list.strip(';').split(';')
if cp.has_option(section, 'show_launcher'): if cp.has_option(section, 'show_launcher'):
if cp.get(section, 'show_launcher') == 'no': if cp.get(section, 'show_launcher') == 'no':