aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-05 02:53:06 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-05 02:53:06 +0800
commit1b0e240d97ff5cc89d5728aadba3852d521e56a5 (patch)
treec3e4329c2658bd90c4eaf125d87cca61dd6ca60c /shell/e-shell-view-menu.c
parent735297df13cb2ef3279b7c3aed870f5c05f7e550 (diff)
downloadgsoc2013-evolution-1b0e240d97ff5cc89d5728aadba3852d521e56a5.tar.gz
gsoc2013-evolution-1b0e240d97ff5cc89d5728aadba3852d521e56a5.tar.zst
gsoc2013-evolution-1b0e240d97ff5cc89d5728aadba3852d521e56a5.zip
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
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c6
1 files changed, 4 insertions, 2 deletions
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 <gtk/gtksignal.h>
#include <gtk/gtkmain.h>
-#include <gtk/gtkdialog.h>
+#include <gtk/gtkwindow.h>
#include <libgnome/gnome-exec.h>
#include <libgnome/gnome-help.h>
@@ -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);