Fix problem when remove all hotkeys.
authorPeng Huang <shawn.p.huang@gmail.com>
Thu, 26 Mar 2009 06:20:08 +0000 (14:20 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Thu, 26 Mar 2009 06:20:08 +0000 (14:20 +0800)
setup/main.py

index 42c3233..3ba6495 100644 (file)
@@ -244,7 +244,7 @@ class Setup(object):
         dialog.destroy()
         if id != gtk.RESPONSE_OK:
             return
-        self.__config.set_value(section, _name, shortcuts)
+        self.__config.set_list(section, _name, shortcuts, "s")
         entry.set_text("; ".join(shortcuts))