[gnome-bluetooth] pairing-dialog: Hide close button in dialogue



commit bf87d34377025bfe7b8d5130a874430d4f774c77
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 13 17:01:36 2015 +0200

    pairing-dialog: Hide close button in dialogue
    
    It shouldn't have been there in the first place.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756446

 lib/bluetooth-pairing-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-pairing-dialog.c b/lib/bluetooth-pairing-dialog.c
index 8e3d3b6..27dc7fb 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -282,6 +282,7 @@ bluetooth_pairing_dialog_constructed (GObject *object)
        header = gtk_dialog_get_header_bar (GTK_DIALOG (self));
        priv->title = gtk_label_new ("");
        gtk_header_bar_set_custom_title (GTK_HEADER_BAR (header), priv->title);
+       gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (header), FALSE);
 
        /* OK button */
        priv->done = gtk_button_new_with_label (_("Accept"));


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