[gnome-initial-setup] goa: Improve account dialogs



commit c2c0ec89754d209636d5fec91fb2654fbd9c449a
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 19 17:02:17 2015 -0500

    goa: Improve account dialogs
    
    We were adding a redundant cancel button, and were not using
    header bars. Fix both.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743434

 gnome-initial-setup/pages/goa/gis-goa-page.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnome-initial-setup/pages/goa/gis-goa-page.c b/gnome-initial-setup/pages/goa/gis-goa-page.c
index c6dfdc5..d67fbba 100644
--- a/gnome-initial-setup/pages/goa/gis-goa-page.c
+++ b/gnome-initial-setup/pages/goa/gis-goa-page.c
@@ -86,9 +86,9 @@ add_account_to_provider (ProviderWidget *provider_widget)
 
   dialog = gtk_dialog_new_with_buttons (_("Add Account"),
                                         parent,
-                                        GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
-                                        _("Cancel"),
-                                        GTK_RESPONSE_CANCEL,
+                                        GTK_DIALOG_MODAL
+                                        | GTK_DIALOG_DESTROY_WITH_PARENT
+                                        | GTK_DIALOG_USE_HEADER_BAR,
                                         NULL);
 
   goa_provider_add_account (provider_widget->provider,


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