mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2001-08-05 Dave Peticolas <dave@krondo.com>
* src/gnome/window-register.c: move close button to left to be more consistent with main window * src/SplitLedger.c (sr_split_auto_calc): fix bug git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5069 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f1d6ef6176
commit
481fee0773
@ -1,3 +1,10 @@
|
||||
2001-08-05 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* src/gnome/window-register.c: move close button to left
|
||||
to be more consistent with main window
|
||||
|
||||
* src/SplitLedger.c (sr_split_auto_calc): fix bug
|
||||
|
||||
2001-08-04 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* src/scm/main-window.scm: handle errors in creating
|
||||
|
@ -3197,7 +3197,7 @@ sr_split_auto_calc (SplitRegister *reg, Split *split)
|
||||
|
||||
if (!price_changed)
|
||||
default_value = 1;
|
||||
if (!shares_changed)
|
||||
else if (!shares_changed)
|
||||
default_value = 0;
|
||||
else if (!amount_changed)
|
||||
default_value = 2;
|
||||
|
@ -830,6 +830,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"),
|
||||
@ -927,15 +936,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
|
||||
};
|
||||
|
||||
@ -946,7 +946,7 @@ gnc_register_create_tool_bar (RegWindow *regData)
|
||||
|
||||
regData->toolbar = toolbar;
|
||||
|
||||
regData->split_button = toolbar_info[6].widget;
|
||||
regData->split_button = toolbar_info[8].widget;
|
||||
|
||||
return toolbar;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user