[gnome-bluetooth] lib: Fix packing in chooser button
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Fix packing in chooser button
- Date: Tue, 28 Jun 2011 08:45:08 +0000 (UTC)
commit ede1844b0aa33541bc62e57fd665fc676fb01ba5
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jun 27 17:32:54 2011 +0100
lib: Fix packing in chooser button
lib/bluetooth-chooser-button.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-chooser-button.c b/lib/bluetooth-chooser-button.c
index 84bc588..aec96b4 100644
--- a/lib/bluetooth-chooser-button.c
+++ b/lib/bluetooth-chooser-button.c
@@ -223,7 +223,8 @@ bluetooth_chooser_button_clicked (GtkButton *widget)
g_object_set (G_OBJECT (button->chooser), "device-selected", button->bdaddr, NULL);
gtk_container_set_border_width (GTK_CONTAINER(button->chooser), 5);
gtk_widget_show (button->chooser);
- gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (button->dialog))), button->chooser);
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (button->dialog))), button->chooser,
+ TRUE, TRUE, 0);
gtk_widget_show (button->dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]