comparison src/gtkconn.c @ 10850:fa06fda62868

[gaim-migrate @ 12522] GET OUTTA MY HOUSE!!! Thanks to Gary for showing me a list of non-namespaced stuff. I'm sure I missed some. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 19 Apr 2005 04:43:13 +0000
parents 55af3fa46329
children 5cda52915a1f
comparison
equal deleted inserted replaced
10849:c203cd637f95 10850:fa06fda62868
89 GtkWidget *sw; 89 GtkWidget *sw;
90 GtkWidget *label; 90 GtkWidget *label;
91 GtkWidget *reconnect_btn; 91 GtkWidget *reconnect_btn;
92 GtkWidget *reconnectall_btn; 92 GtkWidget *reconnectall_btn;
93 }; 93 };
94 struct disconnect_window *disconnect_window = NULL; 94 static struct disconnect_window *disconnect_window = NULL;
95 95
96 static void disconnect_connection_change_cb(GaimConnection *gc, void *data); 96 static void disconnect_connection_change_cb(GaimConnection *gc, void *data);
97 97
98 /* 98 /*
99 * Destroy the dialog and remove the signals associated with it. 99 * Destroy the dialog and remove the signals associated with it.
484 GaimConnectionUiOps * 484 GaimConnectionUiOps *
485 gaim_gtk_connections_get_ui_ops(void) 485 gaim_gtk_connections_get_ui_ops(void)
486 { 486 {
487 return &conn_ui_ops; 487 return &conn_ui_ops;
488 } 488 }
489
490 /*
491 * This function needs to be moved out of here once away messages are
492 * core/UI split.
493 */
494 void away_on_login(const char *mesg)
495 {
496 #if 0 /* XXX CORE/UI */
497 GSList *awy = away_messages;
498 struct away_message *a, *message = NULL;
499 GaimGtkBuddyList *gtkblist;
500
501 gtkblist = GAIM_GTK_BLIST(gaim_get_blist());
502
503 if (!gtkblist->window) {
504 return;
505 }
506
507 if (mesg == NULL)
508 mesg = gaim_prefs_get_string("/core/away/default_message");
509 while (awy) {
510 a = (struct away_message *)awy->data;
511 if (strcmp(a->name, mesg) == 0) {
512 message = a;
513 break;
514 }
515 awy = awy->next;
516 }
517 if (message == NULL) {
518 if(!away_messages)
519 return;
520 message = away_messages->data;
521 }
522 do_away_message(NULL, message);
523 #endif
524 }