diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-03-19 03:58:02 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-03-19 03:58:02 +0800 |
commit | 15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8 (patch) | |
tree | 8cfaffc15f73309283838b163827af58f0bcc218 /mail | |
parent | a7c97f5d6b1b5397bde29490209c9c9c5d1992dd (diff) | |
download | gsoc2013-evolution-15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8.tar gsoc2013-evolution-15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8.tar.gz gsoc2013-evolution-15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8.tar.bz2 gsoc2013-evolution-15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8.tar.lz gsoc2013-evolution-15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8.tar.xz gsoc2013-evolution-15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8.tar.zst gsoc2013-evolution-15ba3005bcce759bd8b86eb3e4c1ba49a1bcb5f8.zip |
Set the type hint to DIALOG so that Metacity shows this window on top.
2003-03-18 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-config-druid.c | 9 |
2 files changed, 12 insertions, 3 deletions
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 <fejj@ximian.com> + + * 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 <NotZed@Ximian.com> * 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; } |