Fix show_launcher logic

master
Marco Pesenti Gritti 18 years ago
parent 561169809b
commit da3c550bfd

@ -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')

Loading…
Cancel
Save