Fix show_launcher logic

This commit is contained in:
Marco Pesenti Gritti 2006-11-03 16:01:46 +01:00
parent 561169809b
commit da3c550bfd

View File

@ -45,8 +45,8 @@ class Bundle:
logging.error('%s must specify an exec' % self._path)
if cp.has_option(section, 'show_launcher'):
if cp.get(section, 'show_launcher') == 'yes':
self._show_launcher = True
if cp.get(section, 'show_launcher') == 'no':
self._show_launcher = False
if cp.has_option(section, 'icon'):
self._icon = cp.get(section, 'icon')