changeset 19931:fa67328ae028

... and the font dialog
author Gabriel Schulhof <nix@go-nix.ca>
date Fri, 17 Aug 2007 23:47:09 +0000
parents 7df68a6e5220
children 79bebe1d27c1
files pidgin/gtkimhtmltoolbar.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Fri Aug 17 23:41:21 2007 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Fri Aug 17 23:47:09 2007 +0000
@@ -174,6 +174,7 @@
 			g_signal_connect_after(G_OBJECT(toolbar->font_dialog), "realize",
 							 G_CALLBACK(realize_toolbar_font), toolbar);
 		}
+		gtk_window_set_transient_for(GTK_WINDOW(toolbar->fontdialog), gtk_widget_get_toplevel(toolbar));
 		gtk_window_present(GTK_WINDOW(toolbar->font_dialog));
 	} else {
 		cancel_toolbar_font(font, toolbar);