comparison src/aim.c @ 3478:3da42b64304e

[gaim-migrate @ 3532] This isn't complete--but it's cool. gaim-remote is now built and installed. Eventually it will do lots of cool stuff--right now it just handles aim:// URI's. Try it out... when connected to OSCAR run: gaim-remote uri "aim://goim?screenname=seanegn&message=Good+job+Sean" Also, I made it so that if you're already running a Gaim session, and start a new one, it won't auto-login and disconnect all your accounts from the first instance. Useful if you accidentally hit the wrong button or something. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 30 Aug 2002 16:09:22 +0000
parents db5dd21aa345
children 443b3311871d
comparison
equal deleted inserted replaced
3477:db5dd21aa345 3478:3da42b64304e
502 g_object_unref(G_OBJECT(icon)); 502 g_object_unref(G_OBJECT(icon));
503 } else { 503 } else {
504 debug_printf("Failed to load icon from %s/pixmaps/gaim.png\n",DATADIR); 504 debug_printf("Failed to load icon from %s/pixmaps/gaim.png\n",DATADIR);
505 } 505 }
506 506
507 g_snprintf(name, sizeof(name), "%s/gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), getpid()); 507 g_snprintf(name, sizeof(name), "%s/gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), gaim_session);
508 508
509 UI_fd = open_socket(name); 509 UI_fd = open_socket(name);
510 if (UI_fd < 0) 510 if (UI_fd < 0)
511 return 1; 511 return 1;
512 512
768 g_free(opt_login_arg); 768 g_free(opt_login_arg);
769 opt_login_arg = NULL; 769 opt_login_arg = NULL;
770 } 770 }
771 } 771 }
772 772
773 if (!opt_acct && !opt_nologin) 773 if (!opt_acct && !opt_nologin && gaim_session == 0)
774 auto_login(); 774 auto_login();
775 775
776 if (opt_acct) { 776 if (opt_acct) {
777 account_editor(NULL, NULL); 777 account_editor(NULL, NULL);
778 } else if ((do_login_ret == -1) && !connections) 778 } else if ((do_login_ret == -1) && !connections)