From: <sa...@us...> - 2006-11-19 17:25:11
|
Revision: 17782 http://svn.sourceforge.net/gaim/?rev=17782&view=rev Author: sadrul Date: 2006-11-19 09:24:56 -0800 (Sun, 19 Nov 2006) Log Message: ----------- Patch #1508458: "Improvements for per-account statusboxes" "If someone changes the status of an account using a per-account status-selector, and the current savedstatus is a transient savedstatus, then the changed status for the account is added as a substatus for the savedstatus. This is useful because a user can create a custom status using the per-account statusboxes in the buddy-list, and then using the 'New...' item from the global selectors, which will automatically populate the different statuses of all the accounts." Modified Paths: -------------- trunk/gtk/gtkstatusbox.c Modified: trunk/gtk/gtkstatusbox.c =================================================================== --- trunk/gtk/gtkstatusbox.c 2006-11-19 07:37:48 UTC (rev 17781) +++ trunk/gtk/gtkstatusbox.c 2006-11-19 17:24:56 UTC (rev 17782) @@ -1888,6 +1888,11 @@ else gaim_account_set_status(status_box->account, id, TRUE, NULL); + + saved_status = gaim_savedstatus_get_current(); + if (gaim_savedstatus_is_transient(saved_status)) + gaim_savedstatus_set_substatus(saved_status, status_box->account, + status_type, message); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |