comparison 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
comparison
equal deleted inserted replaced
9639:58625ebfe03a 9640:bc2079a32fd9
4540 static void 4540 static void
4541 gaim_gtk_raise(GaimConvWindow *win) 4541 gaim_gtk_raise(GaimConvWindow *win)
4542 { 4542 {
4543 GaimGtkWindow *gtkwin = GAIM_GTK_WINDOW(win); 4543 GaimGtkWindow *gtkwin = GAIM_GTK_WINDOW(win);
4544 4544
4545 gtk_widget_show(gtkwin->window); 4545 gtk_window_present(GTK_WINDOW(gtkwin->window));
4546 gtk_window_deiconify(GTK_WINDOW(gtkwin->window));
4547 gdk_window_raise(gtkwin->window->window);
4548 } 4546 }
4549 4547
4550 static void 4548 static void
4551 gaim_gtk_flash(GaimConvWindow *win) 4549 gaim_gtk_flash(GaimConvWindow *win)
4552 { 4550 {