Make default status messages feature release-ready

This commit is contained in:
Nikos Kouremenos 2006-09-08 12:48:46 +00:00
parent 411aaa1f7b
commit 56f248c287
2 changed files with 5 additions and 4 deletions

View File

@ -327,13 +327,13 @@ class Config:
}
defaultstatusmsg_default = {
'online': [ False, _("I'm avavilable") ],
'online': [ False, _("I'm available") ],
'chat': [ False, _("I'm free for chat") ],
'away': [ False, _('Be right back') ],
'xa': [ False, _("I'm not available") ],
'dnd': [ False, _('Do not disturb') ],
'invisible': [ False, _('Bye !') ],
'offline': [ False, _('Bye !') ],
'invisible': [ False, _('Bye!') ],
'offline': [ False, _('Bye!') ],
}
soundevents_default = {

View File

@ -828,7 +828,8 @@ class PreferencesWindow:
msg = gajim.config.get_per('defaultstatusmsg', status_, 'message')
enabled = gajim.config.get_per('defaultstatusmsg', status_, 'enabled')
iter = model.append()
model.set(iter, 0, status_, 1, _(status_), 2, msg, 3, enabled)
uf_show = helpers.get_uf_show(status_)
model.set(iter, 0, status_, 1, uf_show, 2, msg, 3, enabled)
def on_default_msg_cell_edited(self, cell, row, new_text):
model = self.default_msg_tree.get_model()