comparison src/gtkstatusbox.c @ 10649:3353656c119e

[gaim-migrate @ 12167] Killed Napster. Some status changes. I may be making some status API changes CVS : ---------------------------------------------------------------------- committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 02 Mar 2005 20:36:52 +0000
parents 868aafbe859b
children f02873d475dc
comparison
equal deleted inserted replaced
10648:78720741ae3d 10649:3353656c119e
471 g_source_remove(box->typing); 471 g_source_remove(box->typing);
472 } 472 }
473 box->typing = g_timeout_add(3000, (GSourceFunc)remove_typing_cb, box); 473 box->typing = g_timeout_add(3000, (GSourceFunc)remove_typing_cb, box);
474 gtk_gaim_status_box_refresh(box); 474 gtk_gaim_status_box_refresh(box);
475 } 475 }
476
477 const char *gtk_gaim_status_box_get_active_type(GtkGaimStatusBox *status_box)
478 {
479 GtkTreeIter iter;
480 char *type;
481 gtk_combo_box_get_active_iter(GTK_COMBO_BOX(status_box), &iter);
482 gtk_tree_model_get(GTK_TREE_MODEL(status_box->dropdown_store), &iter,
483 TYPE_COLUMN, &type, -1);
484 return type;
485 }
486
487 const char *gtk_gaim_status_box_get_message(GtkGaimStatusBox *status_box)
488 {
489 if (status_box->imhtml_visible)
490 return gtk_imhtml_get_markup(GTK_IMHTML(status_box->imhtml));
491 else
492 return NULL;
493 }