From: Mark D. <the...@us...> - 2005-03-26 20:09:21
|
Update of /cvsroot/gaim/gaim/plugins/gaim-remote In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv547/plugins/gaim-remote Modified Files: remote.c Log Message: Lots of changes here. A lot of it stems from chaning gaim_account_connect() so that it DOES NOT have the GaimStatus parameter. It will attempt to use the GaimStatus of your account from the last time it was connected (which doesn't work quite right yet). My goal here was to save and load each account's GaimStatuses to accounts.xml, so if you were "away" when you signed off then you'll be "away" when you sign back on. Not quite there yet. Index: remote.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/gaim-remote/remote.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -p -r1.39 -r1.40 --- remote.c 21 Feb 2005 14:48:52 -0000 1.39 +++ remote.c 26 Mar 2005 20:08:36 -0000 1.40 @@ -392,8 +392,7 @@ user_handler(struct UI *ui, guchar subty memcpy(&id, data, sizeof(id)); account = g_list_nth_data(gaim_accounts_get_all(), id); if (account) - /* XXX: someone might want to extend this to allow connecting with a different status */ - gaim_account_connect(account, gaim_account_get_status(account, "online")); + gaim_account_connect(account); /* don't need to do anything here because the UI will get updates from other handlers */ break; |