# HG changeset patch # User Mark Doliner # Date 1124423825 0 # Node ID c072be05e7ba7221b773a0cd8fb9e8afa4e814c5 # Parent 0d3d1031e3978c5a07265ec22235eff0780c7056 [gaim-migrate @ 13506] Embelish upon this comment, and translocate it to a more appropriate locale. Or something. committer: Tailor Script diff -r 0d3d1031e397 -r c072be05e7ba src/gtkstatusbox.c --- a/src/gtkstatusbox.c Fri Aug 19 01:15:13 2005 +0000 +++ b/src/gtkstatusbox.c Fri Aug 19 03:57:05 2005 +0000 @@ -247,6 +247,12 @@ gtk_gaim_status_box_add(GTK_GAIM_STATUS_BOX(status_box), pixbuf2, _("Away"), NULL, "away"); gtk_gaim_status_box_add(GTK_GAIM_STATUS_BOX(status_box), pixbuf4, _("Invisible"), NULL, "invisible"); gtk_gaim_status_box_add(GTK_GAIM_STATUS_BOX(status_box), pixbuf3, _("Offline"), NULL, "offline"); + /* + * TODO: This triggers a callback of gaim_gtk_status_box_changed(). + * That's bad. We should at least try not figure out what + * status the user's accounts are set to instead of always + * using "Available." + */ gtk_combo_box_set_active(GTK_COMBO_BOX(status_box), 0); } @@ -415,10 +421,6 @@ gtk_gaim_status_box_refresh(box); } -/* - * TODO: This callback is triggered immediately, without the user actually - * changing anything. That's bad. - */ static void gtk_gaim_status_box_changed(GtkComboBox *box) { GtkGaimStatusBox *status_box = GTK_GAIM_STATUS_BOX(box);