Fixed clock displayed as 'yes'.

This commit is contained in:
Guillaume Melquiond 2010-07-24 08:47:54 +00:00
parent 9a5768bafe
commit 24d4fb8b04
2 changed files with 6 additions and 1 deletions

View file

@ -102,6 +102,11 @@ void set(const std::string &key, bool value)
prefs[key] = value;
}
void set(const std::string &key, char const *value)
{
prefs[key] = value;
}
void set(const std::string &key, const std::string &value)
{
prefs[key] = value;

View file

@ -38,8 +38,8 @@ namespace preferences {
void write_preferences();
// Low-level, should be seen only by preferences_display ?
void set(const std::string& key, const std::string &value);
void set(const std::string& key, char const *value);
void set(const std::string &key, bool value);
void clear(const std::string& key);
void set_child(const std::string& key, const config& val);