[seahorse] Fix generate-select dialog for GTK+ changes
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Fix generate-select dialog for GTK+ changes
- Date: Tue, 15 Oct 2013 19:57:26 +0000 (UTC)
commit a2b81b0eb0846b44ebcca31bbfd99973f8bb0b63
Author: Stef Walter <stefw gnome org>
Date: Tue Oct 15 21:56:02 2013 +0200
Fix generate-select dialog for GTK+ changes
The default behavior of gtk_container_add() changed so that it no longer
sets expand=TRUE and fill=TRUE
https://bugzilla.gnome.org/show_bug.cgi?id=703825
src/seahorse-generate-select.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/seahorse-generate-select.c b/src/seahorse-generate-select.c
index 79935c4..971ae35 100644
--- a/src/seahorse-generate-select.c
+++ b/src/seahorse-generate-select.c
@@ -221,8 +221,9 @@ seahorse_generate_select_constructed (GObject *obj)
/* Setup the dialog */
gtk_window_set_modal (GTK_WINDOW (self), TRUE);
gtk_window_set_default_size (GTK_WINDOW (self), -1, 410);
- gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (self))),
- GTK_WIDGET (gtk_builder_get_object (builder, "generate-select")));
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (self))),
+ GTK_WIDGET (gtk_builder_get_object (builder, "generate-select")),
+ TRUE, TRUE, 0);
gtk_dialog_add_buttons (GTK_DIALOG (self),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
_("Continue"), GTK_RESPONSE_OK,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]