[gnome-bluetooth] Add an OK button to the PIN options dialog



commit 1f45d9ad736eda9426d6d507c3cf60905156fc39
Author: Joshua Lock <josh linux intel com>
Date:   Fri Oct 16 14:22:51 2009 +0100

    Add an OK button to the PIN options dialog
    
    PIN options never got saved as there was no OK button... Whoops!
    
    https://bugzilla.gnome.org/show_bug.cgi?id=598686

 moblin/moblin-panel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index d2130d9..872027a 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -397,6 +397,8 @@ pin_options_button_clicked_cb (GtkButton *button,
 		g_object_set_data (G_OBJECT (priv->radio_1111), "pin", "1111");
 		g_object_set_data (G_OBJECT (priv->radio_1234), "pin", "1234");
 		g_object_set_data (G_OBJECT (priv->radio_custom), "entry", priv->entry_custom);
+
+		gtk_dialog_add_button (GTK_DIALOG (priv->pin_dialog), GTK_STOCK_OK, GTK_RESPONSE_ACCEPT);
 	}
 
 	oldpin = priv->user_pincode;



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