Fix show_launcher logic
This commit is contained in:
parent
561169809b
commit
da3c550bfd
@ -45,8 +45,8 @@ class Bundle:
|
|||||||
logging.error('%s must specify an exec' % self._path)
|
logging.error('%s must specify an exec' % self._path)
|
||||||
|
|
||||||
if cp.has_option(section, 'show_launcher'):
|
if cp.has_option(section, 'show_launcher'):
|
||||||
if cp.get(section, 'show_launcher') == 'yes':
|
if cp.get(section, 'show_launcher') == 'no':
|
||||||
self._show_launcher = True
|
self._show_launcher = False
|
||||||
|
|
||||||
if cp.has_option(section, 'icon'):
|
if cp.has_option(section, 'icon'):
|
||||||
self._icon = cp.get(section, 'icon')
|
self._icon = cp.get(section, 'icon')
|
||||||
|
Loading…
Reference in New Issue
Block a user