Mercurial > pidgin.yaz
diff src/status.c @ 11654:bf6ba37db13b
[gaim-migrate @ 13938]
Some changes to the gtkstatusbar. I took out all the saved statuses.
They should be replaced by a list of the most recently used
saved+transient statuses.
I also removed the /core/away/default_message preference and replaced
it with /core/status/current and /core/status/idleaway. These new
prefs store the title of the saved status that is being used and should
be used when you become idle, respectively.
Some bits still need some work, but I think this is moving in the
right direction.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 13 Oct 2005 02:50:13 +0000 |
parents | 3a05b53a589e |
children | a647f92e1d57 |
line wrap: on
line diff
--- a/src/status.c Thu Oct 13 02:21:26 2005 +0000 +++ b/src/status.c Thu Oct 13 02:50:13 2005 +0000 @@ -597,10 +597,6 @@ { g_return_if_fail(status != NULL); - /* TODO: Don't do this is if the status is exclusive */ - /* XXX: why do this at all? - gaim_status_set_active(status, FALSE); */ - g_hash_table_destroy(status->attr_values); GAIM_DBUS_UNREGISTER_POINTER(status); @@ -1700,6 +1696,9 @@ gaim_prefs_add_none("/core/status"); gaim_prefs_add_none("/core/status/scores"); + gaim_prefs_add_string("/core/status/current", _("Default")); + gaim_prefs_add_string("/core/status/idleaway", _("Default auto-away")); + gaim_prefs_add_int("/core/status/scores/offline", primitive_scores[GAIM_STATUS_OFFLINE]); gaim_prefs_add_int("/core/status/scores/available",