Skip to content

Commit

Permalink
Get the invoice toolbar (and menubar) to appear correctly.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7003 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
derekatkins committed Jun 23, 2002
1 parent 4756384 commit 342eb5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/business/business-gnome/dialog-invoice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
*/

Expand All @@ -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);

Expand Down

0 comments on commit 342eb5d

Please sign in to comment.