libpurple/protocols/toc/toc.c

changeset 15444
b793ef258d23
parent 15435
4b933b06d75e
child 15524
8f365f9bf660
equal deleted inserted replaced
15443:130877cc4c2d 15444:b793ef258d23
993 } else if (!g_ascii_strcasecmp(c, "ADMIN_NICK_STATUS")) { 993 } else if (!g_ascii_strcasecmp(c, "ADMIN_NICK_STATUS")) {
994 } else if (!g_ascii_strcasecmp(c, "ADMIN_PASSWD_STATUS")) { 994 } else if (!g_ascii_strcasecmp(c, "ADMIN_PASSWD_STATUS")) {
995 gaim_notify_info(gc, NULL, _("Password Change Successful"), NULL); 995 gaim_notify_info(gc, NULL, _("Password Change Successful"), NULL);
996 } else if (!g_ascii_strcasecmp(c, "PAUSE")) { 996 } else if (!g_ascii_strcasecmp(c, "PAUSE")) {
997 tdt->state = STATE_PAUSE; 997 tdt->state = STATE_PAUSE;
998 gaim_notify_warning(gc, NULL,
999 _("TOC has sent a PAUSE command."),
1000 _("When this happens, TOC ignores any messages "
1001 "sent to it, and may kick you off if you send a"
1002 " message. Gaim will prevent anything from "
1003 "going through. This is only temporary, please "
1004 "be patient."));
1005 } else if (!g_ascii_strcasecmp(c, "RVOUS_PROPOSE")) { 998 } else if (!g_ascii_strcasecmp(c, "RVOUS_PROPOSE")) {
1006 #if 0 999 #if 0
1007 char *user, *uuid, *cookie; 1000 char *user, *uuid, *cookie;
1008 int seq; 1001 int seq;
1009 char *rip, *pip, *vip, *trillian = NULL; 1002 char *rip, *pip, *vip, *trillian = NULL;
2190 ft->cookie = g_strdup(fr->cookie); 2183 ft->cookie = g_strdup(fr->cookie);
2191 ft->ip = g_strdup(fr->ip); 2184 ft->ip = g_strdup(fr->ip);
2192 ft->port = fr->port; 2185 ft->port = fr->port;
2193 ft->files = fr->files; 2186 ft->files = fr->files;
2194 2187
2195 ft->window = window = gtk_file_selection_new(_("Gaim - Save As...")); 2188 ft->window = window = gtk_file_selection_new(_("Save As..."));
2196 g_snprintf(buf, sizeof(buf), "%s/%s", gaim_home_dir(), fr->filename ? fr->filename : ""); 2189 g_snprintf(buf, sizeof(buf), "%s/%s", gaim_home_dir(), fr->filename ? fr->filename : "");
2197 gtk_file_selection_set_filename(GTK_FILE_SELECTION(window), buf); 2190 gtk_file_selection_set_filename(GTK_FILE_SELECTION(window), buf);
2198 g_signal_connect(G_OBJECT(window), "destroy", 2191 g_signal_connect(G_OBJECT(window), "destroy",
2199 G_CALLBACK(cancel_callback), ft); 2192 G_CALLBACK(cancel_callback), ft);
2200 g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(ft->window)->cancel_button), 2193 g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(ft->window)->cancel_button),

mercurial