[gnome-bluetooth] pairing-dialog: Fix cancel button not showing up



commit 68edec7b277a37aeb8dca411aebf1933efcef825
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jul 7 15:18:46 2015 +0200

    pairing-dialog: Fix cancel button not showing up
    
    If one did not call gtk_widget_show_all(), the cancellation button
    would not have showed up.

 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 accc49f..0721277 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -290,6 +290,7 @@ bluetooth_pairing_dialog_constructed (GObject *object)
        g_signal_connect (G_OBJECT (priv->cancel), "clicked",
                          G_CALLBACK (response_cb), self);
        gtk_header_bar_pack_start (GTK_HEADER_BAR (header), priv->cancel);
+       gtk_widget_show (priv->cancel);
        gtk_widget_grab_default (GTK_WIDGET (priv->done));
 
        g_signal_connect (G_OBJECT (priv->entry_pin), "notify::text",


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