diff src/gtkconv.c @ 9640:bc2079a32fd9

[gaim-migrate @ 10488] I warmenhoved patch 996233 from Jon Oberheide. Thanks Jon! From his description: The main purpose of this patch is to set the focus of a conversation when it is created. Currently, the focus is set when the conversation is created from: - double-clicking a buddy on the buddy list - right-clicking a buddy and clicking "IM" This patch sets the focus additionally for the following circumstances: - clicking "Buddies -> New Instant Message" - clicking "IM" buddy list button committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 02 Aug 2004 03:21:32 +0000
parents 8a540b8a5f70
children ed3bbf36de75
line wrap: on
line diff
--- a/src/gtkconv.c	Mon Aug 02 02:16:47 2004 +0000
+++ b/src/gtkconv.c	Mon Aug 02 03:21:32 2004 +0000
@@ -4542,9 +4542,7 @@
 {
 	GaimGtkWindow *gtkwin = GAIM_GTK_WINDOW(win);
 
-	gtk_widget_show(gtkwin->window);
-	gtk_window_deiconify(GTK_WINDOW(gtkwin->window));
-	gdk_window_raise(gtkwin->window->window);
+	gtk_window_present(GTK_WINDOW(gtkwin->window));
 }
 
 static void