Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv13026
Modified Files:
ui.h server.c conversation.c
Log Message:
I'm never committing to gaim again. Really. You've got to believe me on this.
Index: ui.h
===================================================================
RCS file: /cvsroot/gaim/gaim/src/ui.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- ui.h 2001/12/21 10:23:04 1.27
+++ ui.h 2002/01/25 04:49:39 1.28
@@ -339,6 +339,7 @@
extern void raise_convo_tab(struct conversation *);
extern void set_convo_title(struct conversation *);
extern void show_conv(struct conversation *);
+void set_convo_name(struct conversation *c, const char *nname);
extern struct conversation *new_conversation(char *);
extern void delete_conversation(struct conversation *);
extern void surround(GtkWidget *, char *, char *);
Index: server.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/server.c,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -d -r1.216 -r1.217
--- server.c 2002/01/01 09:49:04 1.216
+++ server.c 2002/01/25 04:49:39 1.217
@@ -639,6 +639,8 @@
else if (cnv->makesound && (sound_options & OPT_SOUND_RECV))
play_sound(RECEIVE);
+ set_convo_name(cnv, name);
+
write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len);
}
Index: conversation.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/conversation.c,v
retrieving revision 1.325
retrieving revision 1.326
diff -u -d -r1.325 -r1.326
--- conversation.c 2002/01/24 21:43:09 1.325
+++ conversation.c 2002/01/25 04:49:39 1.326
@@ -134,6 +134,14 @@
return;
}
+void set_convo_name(struct conversation *c, const char *nname)
+{
+
+ g_snprintf(c->name, sizeof(c->name), "%s", nname);
+
+ return;
+}
+
struct conversation *new_conversation(char *name)
{
struct conversation *c;
|