[gnome-bluetooth/wip/fixes] pairing-dialog: no need to handle the action area anymore
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/fixes] pairing-dialog: no need to handle the action area anymore
- Date: Thu, 18 Dec 2014 19:37:03 +0000 (UTC)
commit c84e51b0356e2ca55b85466b2a4ffa39180309be
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Dec 18 20:36:37 2014 +0100
pairing-dialog: no need to handle the action area anymore
lib/bluetooth-pairing-dialog.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/lib/bluetooth-pairing-dialog.c b/lib/bluetooth-pairing-dialog.c
index 35b1773..0bd57bc 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -274,11 +274,10 @@ bluetooth_pairing_dialog_constructed (GObject *object)
{
BluetoothPairingDialog *self = BLUETOOTH_PAIRING_DIALOG (object);
BluetoothPairingDialogPrivate *priv = BLUETOOTH_PAIRING_DIALOG_GET_PRIVATE (self);
- GtkWidget *container, *buttonbox, *header;
+ GtkWidget *container, *header;
GtkStyleContext *context;
container = gtk_dialog_get_content_area (GTK_DIALOG (self));
- buttonbox = gtk_dialog_get_action_area (GTK_DIALOG (self));
/* Header */
header = gtk_dialog_get_header_bar (GTK_DIALOG (self));
@@ -321,8 +320,6 @@ bluetooth_pairing_dialog_constructed (GObject *object)
G_CALLBACK (text_changed_cb), self);
priv->pin_notebook = WID ("pin_notebook");
gtk_widget_set_no_show_all (priv->pin_notebook, TRUE);
- gtk_widget_hide (buttonbox);
- gtk_widget_set_no_show_all (buttonbox, TRUE);
context = gtk_widget_get_style_context (priv->done);
gtk_style_context_add_class (context, "suggested-action");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]