[gnome-control-center] user-accounts: Use header bar in the photo dialog



commit 4c42f1530febdffadf2aa6555cecee3d48dbe5f7
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Wed Mar 26 08:33:10 2014 +0200

    user-accounts: Use header bar in the photo dialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724299

 panels/user-accounts/um-photo-dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/um-photo-dialog.c b/panels/user-accounts/um-photo-dialog.c
index 5512955..b11cb19 100644
--- a/panels/user-accounts/um-photo-dialog.c
+++ b/panels/user-accounts/um-photo-dialog.c
@@ -91,9 +91,9 @@ um_photo_dialog_crop (UmPhotoDialog *um,
 
         dialog = gtk_dialog_new_with_buttons ("",
                                               GTK_WINDOW (gtk_widget_get_toplevel (um->popup_button)),
-                                              0,
+                                              GTK_DIALOG_USE_HEADER_BAR,
                                               _("_Cancel"),
-                                              GTK_RESPONSE_REJECT,
+                                              GTK_RESPONSE_CANCEL,
                                               _("Select"),
                                               GTK_RESPONSE_ACCEPT,
                                               NULL);


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