[libgnome-media-profiles] Set new profile dialog's parent when first created



commit 4ef1e2e76161435c5024010650755cf92af6fdab
Author: Yanko Kaneti <yaneti declera com>
Date:   Tue Jan 11 21:35:27 2011 +0200

    Set new profile dialog's parent when first created

 libgnome-media-profiles/audio-profiles-edit.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgnome-media-profiles/audio-profiles-edit.c b/libgnome-media-profiles/audio-profiles-edit.c
index 77489ad..ba5c207 100644
--- a/libgnome-media-profiles/audio-profiles-edit.c
+++ b/libgnome-media-profiles/audio-profiles-edit.c
@@ -957,6 +957,8 @@ gm_audio_profiles_edit_new_profile (GMAudioProfilesEdit *dialog,
     gtk_size_group_add_widget (size_group_labels, wl);
 #endif
 
+    gtk_window_set_transient_for (GTK_WINDOW (dialog->priv->new_profile_dialog),
+                                  transient_parent);
 
     /* gtk_dialog_set_default_response (GTK_DIALOG (dialog->priv->new_profile_dialog), GTK_RESPONSE_CREATE); */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]