diff src/conversation.c @ 3022:5f6ddad12b1d

[gaim-migrate @ 3035] Typing notification will go away if you're not using tabs (I don't know why you're not using tabs... they're so cool) committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 08 Mar 2002 00:58:38 +0000
parents 18b567716d6f
children 1143524a2eaf
line wrap: on
line diff
--- a/src/conversation.c	Thu Mar 07 20:57:16 2002 +0000
+++ b/src/conversation.c	Fri Mar 08 00:58:38 2002 +0000
@@ -1699,6 +1699,8 @@
 	if ((c->is_chat && (chat_options & OPT_CHAT_POPUP)) ||
 	    (!c->is_chat && (im_options & OPT_IM_POPUP)))
 		gdk_window_show(c->window->window);
+	if (flags & WFLAG_RECV)
+		reset_typing(g_strdup(c->name));
 
 	/* tab highlighting */
 	if (c->is_chat && !(chat_options & OPT_CHAT_ONE_WINDOW)) /* if chat but not tabbed chat */
@@ -1737,7 +1739,7 @@
 		GList *ws = (c->is_chat ? chats : conversations);
 		GtkWidget *label = gtk_notebook_get_tab_label(notebook,
 							      gtk_notebook_get_nth_page(notebook,
-								      offs + g_list_index(ws, c)));
+											offs + g_list_index(ws, c)));
 		GtkStyle *style;
 		style = gtk_style_new();
 		if (!GTK_WIDGET_REALIZED(label))
@@ -1760,8 +1762,6 @@
 		gtk_widget_set_style(label, style);
 		gtk_style_unref(style);
 	}
-	if (flags & WFLAG_RECV)
-		reset_typing(g_strdup(c->name));
 }
 
 void update_progress(struct conversation *c, float percent) {