From 2e591d0b73b8bedd9b3101746f4d562c007bb76e Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Tue, 4 Sep 2001 06:49:55 +0000 Subject: [PATCH] Move close button to left. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5274 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/window-register.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/gnome/window-register.c b/src/gnome/window-register.c index 5346e41266..06b7972456 100644 --- a/src/gnome/window-register.c +++ b/src/gnome/window-register.c @@ -836,6 +836,15 @@ gnc_register_create_tool_bar (RegWindow *regData) GnomeUIInfo toolbar_info[] = { + { + GNOME_APP_UI_ITEM, + N_("Close"), + N_("Close this register window"), + closeCB, NULL, NULL, + GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_CLOSE, + 0, 0, NULL + }, + GNOMEUIINFO_SEPARATOR, { GNOME_APP_UI_ITEM, N_("Enter"), @@ -889,7 +898,7 @@ gnc_register_create_tool_bar (RegWindow *regData) { GNOME_APP_UI_ITEM, N_("Blank"), - N_("Move to the blank transaction at the " \ + N_("Move to the blank transaction at the " "bottom of the register"), new_trans_cb, NULL, NULL, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_NEW, @@ -941,15 +950,6 @@ gnc_register_create_tool_bar (RegWindow *regData) GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_PRINT, 0, 0, NULL }, - GNOMEUIINFO_SEPARATOR, - { - GNOME_APP_UI_ITEM, - N_("Close"), - N_("Close this register window"), - closeCB, NULL, NULL, - GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_CLOSE, - 0, 0, NULL - }, GNOMEUIINFO_END }; @@ -960,7 +960,7 @@ gnc_register_create_tool_bar (RegWindow *regData) regData->toolbar = toolbar; - regData->split_button = toolbar_info[7].widget; + regData->split_button = toolbar_info[9].widget; return toolbar; }