Added /time statusbar preference

This commit is contained in:
James Booth
2015-03-10 23:35:08 +00:00
parent 0269129d17
commit e5bb12a0d6
10 changed files with 144 additions and 36 deletions

View File

@@ -507,6 +507,7 @@ _get_group(preference_t pref)
case PREF_PRESENCE:
case PREF_WRAP:
case PREF_TIME:
case PREF_TIME_STATUSBAR:
case PREF_ROSTER:
case PREF_ROSTER_OFFLINE:
case PREF_ROSTER_RESOURCE:
@@ -646,6 +647,8 @@ _get_key(preference_t pref)
return "wrap";
case PREF_TIME:
return "time";
case PREF_TIME_STATUSBAR:
return "time.statusbar";
case PREF_ROSTER:
return "roster";
case PREF_ROSTER_OFFLINE:
@@ -722,6 +725,8 @@ _get_default_string(preference_t pref)
return "presence";
case PREF_TIME:
return "seconds";
case PREF_TIME_STATUSBAR:
return "minutes";
default:
return NULL;
}