From 15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 18 Mar 2003 19:58:02 +0000 Subject: Set the type hint to DIALOG so that Metacity shows this window on top. 2003-03-18 Jeffrey Stedfast * mail-config-druid.c (mail_config_druid_new): Set the type hint to DIALOG so that Metacity shows this window on top. Fixes bug #39914. svn path=/trunk/; revision=20343 --- mail/ChangeLog | 6 ++++++ mail/mail-config-druid.c | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index c2cb4a3252..cde04fd3ec 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2003-03-18 Jeffrey Stedfast + + * mail-config-druid.c (mail_config_druid_new): Set the type hint + to DIALOG so that Metacity shows this window on top. Fixes bug + #39914. + 2003-03-18 Not Zed * mail-vfolder.c (new_rule_clicked): validate rule & rule is diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index 2864a2bea6..36dc37f17d 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -625,7 +625,7 @@ MailConfigDruid * mail_config_druid_new (void) { MailConfigWizard *mcw; - GtkWidget *page; + GtkWidget *new, *page; int i; mcw = config_wizard_new (); @@ -663,8 +663,11 @@ mail_config_druid_new (void) gnome_druid_set_buttons_sensitive (mcw->druid, FALSE, TRUE, TRUE, FALSE); gtk_widget_show_all (GTK_WIDGET (mcw->druid)); mail_account_gui_setup (mcw->gui, NULL); - - return (MailConfigDruid *)glade_xml_get_widget (mcw->gui->xml, "account_druid"); + + new = glade_xml_get_widget (mcw->gui->xml, "account_druid"); + gtk_window_set_type_hint ((GtkWindow *) new, GDK_WINDOW_TYPE_HINT_DIALOG); + + return (MailConfigDruid *) new; } -- cgit