[gnome-control-center] user-accounts: Make crop window modal



commit 5b5347b5b288467d6017312526e0dbdcd0e18f0c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 24 15:16:23 2011 +0000

    user-accounts: Make crop window modal
    
    So it's attached to the panel correctly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645700

 panels/user-accounts/um-photo-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/um-photo-dialog.c b/panels/user-accounts/um-photo-dialog.c
index 205abe4..75d4d6b 100644
--- a/panels/user-accounts/um-photo-dialog.c
+++ b/panels/user-accounts/um-photo-dialog.c
@@ -97,6 +97,7 @@ um_photo_dialog_crop (UmPhotoDialog *um,
                                               _("Select"),
                                               GTK_RESPONSE_ACCEPT,
                                               NULL);
+        gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
 
         gtk_window_set_icon_name (GTK_WINDOW (dialog), "system-users");
 



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