[libgnome-media-profiles] Set new profile dialog's parent when first created
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-media-profiles] Set new profile dialog's parent when first created
- Date: Thu, 13 Jan 2011 16:51:18 +0000 (UTC)
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]