Move close button to left.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5274 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-09-04 06:49:55 +00:00
parent 3df10c8112
commit 2e591d0b73

View File

@ -836,6 +836,15 @@ gnc_register_create_tool_bar (RegWindow *regData)
GnomeUIInfo toolbar_info[] = 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, GNOME_APP_UI_ITEM,
N_("Enter"), N_("Enter"),
@ -889,7 +898,7 @@ gnc_register_create_tool_bar (RegWindow *regData)
{ {
GNOME_APP_UI_ITEM, GNOME_APP_UI_ITEM,
N_("Blank"), N_("Blank"),
N_("Move to the blank transaction at the " \ N_("Move to the blank transaction at the "
"bottom of the register"), "bottom of the register"),
new_trans_cb, NULL, NULL, new_trans_cb, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_NEW, 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, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_PRINT,
0, 0, NULL 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 GNOMEUIINFO_END
}; };
@ -960,7 +960,7 @@ gnc_register_create_tool_bar (RegWindow *regData)
regData->toolbar = toolbar; regData->toolbar = toolbar;
regData->split_button = toolbar_info[7].widget; regData->split_button = toolbar_info[9].widget;
return toolbar; return toolbar;
} }