Get the invoice toolbar (and menubar) to appear correctly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7003 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-06-23 01:25:24 +00:00
parent 47563841db
commit 342eb5d77a

View File

@ -1192,6 +1192,7 @@ gnc_invoice_new_window (GNCBook *bookp, InvoiceDialogType type,
menubar = gnc_invoice_window_create_menubar (iw);
gtk_container_set_border_width (GTK_CONTAINER (menubar), 2);
gtk_container_add (GTK_CONTAINER (iw->menubar_dock), menubar);
gtk_widget_show_all (iw->menubar_dock);
}
*/
@ -1202,8 +1203,11 @@ gnc_invoice_new_window (GNCBook *bookp, InvoiceDialogType type,
toolbar = gnc_invoice_window_create_toolbar (iw);
gtk_container_set_border_width (GTK_CONTAINER (toolbar), 2);
gtk_container_add (GTK_CONTAINER (iw->toolbar_dock), toolbar);
gtk_widget_show_all (iw->toolbar_dock);
}
gtk_widget_show_all (glade_xml_get_widget (xml, "dock1"));
/* Setup initial values */
iw->invoice_guid = *gncInvoiceGetGUID (invoice);