From f034d23e0ecf7608fc98eb4f1b1905effe09386c Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 7 May 2000 23:42:23 +0000 Subject: [PATCH] put the ops_buttons box into the action_area. Makes the dialog smaller. 2000-05-08 Michael Natterer * app/docindex.c (open_idea_window): put the ops_buttons box into the action_area. Makes the dialog smaller. --- ChangeLog | 5 +++++ app/docindex.c | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f638221ae..6585c00f85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-08 Michael Natterer + + * app/docindex.c (open_idea_window): put the ops_buttons box + into the action_area. Makes the dialog smaller. + 2000-05-07 Sven Neumann * app/menus.c: in Image/Filters move all entries that are not diff --git a/app/docindex.c b/app/docindex.c index baa54984d1..49c63b44db 100644 --- a/app/docindex.c +++ b/app/docindex.c @@ -757,7 +757,7 @@ open_idea_window (void) { GtkWidget *main_vbox; GtkWidget *scrolled_win; - GtkWidget *hbox; + GtkWidget *abox; GtkWidget *button_box; gint i; @@ -806,12 +806,13 @@ open_idea_window (void) gtk_widget_show (ideas->list); /* The ops buttons */ - hbox = gtk_hbox_new (FALSE, 0); - gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0); - gtk_widget_show (hbox); + abox = gtk_alignment_new (0.0, 0.5, 0.0, 0.0); + gtk_box_pack_start (GTK_BOX (GTK_DIALOG (ideas->window)->action_area), abox, + FALSE, FALSE, 4); + gtk_widget_show (abox); button_box = ops_button_box_new (ops_buttons, OPS_BUTTON_NORMAL); - gtk_box_pack_start (GTK_BOX (hbox), button_box, FALSE, FALSE, 0); + gtk_container_add (GTK_CONTAINER (abox), button_box); gtk_widget_show (button_box); for (i = 0; ; i++)