Mercurial > pidgin.yaz
changeset 10153:0b43f6fef9b5
[gaim-migrate @ 11231]
Add some notes to status.c
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 04 Nov 2004 03:39:30 +0000 |
parents | 3cec08c6179c |
children | 6ccd92a58cde |
files | src/gtkdialogs.c src/status.c |
diffstat | 2 files changed, 35 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkdialogs.c Tue Nov 02 03:17:06 2004 +0000 +++ b/src/gtkdialogs.c Thu Nov 04 03:39:30 2004 +0000 @@ -215,7 +215,7 @@ str = g_string_sized_new(4096); - g_string_append(str, + g_string_append(str, _("Gaim is a modular messaging client capable of using " "AIM, MSN, Yahoo!, Jabber, ICQ, IRC, SILC, " "Novell GroupWise, Napster, Zephyr, and Gadu-Gadu " @@ -319,7 +319,7 @@ gtk_adjustment_set_value(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(sw)), 0); gtk_text_buffer_get_start_iter(gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)), &iter); gtk_text_buffer_place_cursor(gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)), &iter); - + /* Close Button */ bbox = gtk_hbutton_box_new(); gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);
--- a/src/status.c Tue Nov 02 03:17:06 2004 +0000 +++ b/src/status.c Thu Nov 04 03:39:30 2004 +0000 @@ -1081,6 +1081,39 @@ gaim_presence_add_status(presence, (GaimStatus *)l->data); } +/* + * TODO: Should we g_return_if_fail(active == status_id->active); ? + * + * TODO: If a buddy signed on or off, should we do any of the following? + * (Note: We definitely need to do some of this somewhere, I'm just + * not sure if here is the correct place.) + * + * char *tmp = g_strdup_printf(_("%s logged in."), alias); + * gaim_conversation_write(c, NULL, tmp, GAIM_MESSAGE_SYSTEM, time(NULL)); + * g_free(tmp); + * + * GaimLog *log = gaim_account_get_log(account); + * char *tmp = g_strdup_printf(_("%s signed on"), alias); + * gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp); + * g_free(tmp); + * + * gaim_sound_play_event(GAIM_SOUND_BUDDY_ARRIVE); + * + * char *tmp = g_strdup_printf(_("%s logged out."), alias); + * gaim_conversation_write(c, NULL, tmp, GAIM_MESSAGE_SYSTEM, time(NULL)); + * g_free(tmp); + * + * char *tmp = g_strdup_printf(_("%s signed off"), alias); + * gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp); + * g_free(tmp); + * + * serv_got_typing_stopped(gc, name); + * + * gaim_sound_play_event(GAIM_SOUND_BUDDY_LEAVE); + * + * gaim_conversation_update(c, GAIM_CONV_UPDATE_AWAY); + * + */ void gaim_presence_set_status_active(GaimPresence *presence, const char *status_id, gboolean active)