[seahorse] viewer: set the about dialog transient for the main window
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] viewer: set the about dialog transient for the main window
- Date: Tue, 8 Mar 2011 17:27:58 +0000 (UTC)
commit d481949b1cb54894f7862e541a5970d65618304f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Mar 8 12:20:35 2011 -0500
viewer: set the about dialog transient for the main window
So it will be attached to it with the shell effect.
https://bugzilla.gnome.org/show_bug.cgi?id=644220
src/seahorse-viewer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/seahorse-viewer.c b/src/seahorse-viewer.c
index 4f770e5..04ea904 100644
--- a/src/seahorse-viewer.c
+++ b/src/seahorse-viewer.c
@@ -149,6 +149,7 @@ on_app_about (GtkAction* action, SeahorseViewer* self)
gtk_about_dialog_set_website_label (about, _("Seahorse Project Homepage"));
g_signal_connect (about, "response", G_CALLBACK (gtk_widget_hide), NULL);
+ gtk_window_set_transient_for (GTK_WINDOW (about), seahorse_viewer_get_window (self));
gtk_dialog_run (GTK_DIALOG (about));
gtk_widget_destroy (GTK_WIDGET (about));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]