[gnome-packagekit] Never expand the child box for the generic checkbox



commit 5169e725cf0a94ae4de81e5519c7556018ab5bb3
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jun 26 15:53:11 2009 +0100

    Never expand the child box for the generic checkbox

 src/gpk-dialog.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-dialog.c b/src/gpk-dialog.c
index 7685114..a6e8a9b 100644
--- a/src/gpk-dialog.c
+++ b/src/gpk-dialog.c
@@ -296,7 +296,10 @@ gpk_dialog_embed_do_not_show_widget (GtkDialog *dialog, const gchar *key)
 	check_button = gtk_check_button_new_with_label (_("Do not show this again"));
 	g_signal_connect (check_button, "clicked", G_CALLBACK (gpk_client_checkbutton_show_depends_cb), (gpointer) key);
 	widget = gtk_dialog_get_content_area (GTK_DIALOG(dialog));
-	gtk_container_add (GTK_CONTAINER (widget), check_button);
+	gtk_container_add_with_properties (GTK_CONTAINER (widget), check_button,
+					   "expand", FALSE,
+					   "fill", FALSE,
+					   NULL);
 
 	/* checked? */
 	gconf_client = gconf_client_get_default ();



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