* Change yaml dump() default_flow_style

* Try to fix ladimenu even more
This commit is contained in:
Marc-Olivier Barre 2010-01-06 11:04:07 +01:00
parent 4dda44e9d4
commit cce636f6c5
2 changed files with 3 additions and 2 deletions

View File

@ -52,5 +52,5 @@ class config:
# This writes the config file to the disk
def save (self):
config_file = open (config_filename, 'w')
yaml.dump (self.appdict, config_file)
yaml.dump (self.appdict, config_file, default_flow_style=False)
config_file.close ()

View File

@ -289,7 +289,8 @@ class manager:
# Add the laucher entries at the beginning of the menu
for items in self.menu_array:
menu_label
menu_label = items.keys()
path = items.values()
menu_items.append((gtk.ImageMenuItem(menu_label), self.on_menu_launcher, path))
menu = gtk.Menu()