summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2009-03-26 14:20:08 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2009-03-26 14:20:08 +0800
commit7c6b337ece598b5c0cf9c92b0888b45f8770ff83 (patch)
tree1edddf56e7d8cd3ef95e50b2625636909092dc7d
parent11e8e771f4de51fabfed74f1b2e9a66215751da0 (diff)
downloadibus-7c6b337ece598b5c0cf9c92b0888b45f8770ff83.tar.gz
Fix problem when remove all hotkeys.
-rw-r--r--setup/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/main.py b/setup/main.py
index 42c3233a..3ba6495e 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -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))