From 1b0e240d97ff5cc89d5728aadba3852d521e56a5 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 4 Nov 2002 18:53:06 +0000 Subject: Removed. (impl_finalize): New. (class_init): Install finalize handler, not * e-shell-about-box.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Install finalize handler, not destroy. * e-shell-view-menu.c (command_about_box): Use a GtkWindow again. Set the GTK_WINDOW_TYPE_HINT_DIALOG hint. * e-shell-about-box.c (e_shell_about_box_construct): Removed. svn path=/trunk/; revision=18534 --- shell/e-shell-view-menu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-view-menu.c') diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 768d11dbf1..9d9177666a 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -47,7 +47,7 @@ #include #include -#include +#include #include #include @@ -232,7 +232,9 @@ command_about_box (BonoboUIComponent *uih, about_box = e_shell_about_box_new (); gtk_widget_show (about_box); - about_box_window = gtk_dialog_new (); + about_box_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_type_hint (GTK_WINDOW (about_box_window), GDK_WINDOW_TYPE_HINT_DIALOG); + gtk_window_set_policy (GTK_WINDOW (about_box_window), FALSE, FALSE, FALSE); g_signal_connect (about_box_window, "key_press_event", G_CALLBACK (about_box_event_callback), &about_box_window); -- cgit v1.2.3