[gnome-bluetooth] applet: Fix packing of the browser chooser



commit 62b063dfc2a804b899e466bebf292c5b8c6dbcc1
Author: Mathieu Trudel-Lapierre <mathieu trudel-lapierre canonical com>
Date:   Mon Dec 12 15:37:22 2011 -0500

    applet: Fix packing of the browser chooser
    
    Use gtk_pack_start(), not gtk_container_add() to add the browse
    chooser as the default settings for gtk_pack_start() changed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=666026

 applet/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/applet/main.c b/applet/main.c
index 4bf77d4..fb6bc0b 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -140,7 +140,7 @@ void browse_callback(GObject *widget, gpointer user_data)
 			     NULL);
 		g_signal_connect(selector, "selected-device-changed",
 				 G_CALLBACK(select_device_changed), dialog);
-		gtk_container_add (GTK_CONTAINER (content_area), selector);
+		gtk_box_pack_start (GTK_BOX (content_area), selector, TRUE, TRUE, 0);
 
 		address = NULL;
 		response_id = gtk_dialog_run (GTK_DIALOG (dialog));



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