mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05: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:
@@ -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>
|
2001-08-04 Dave Peticolas <dave@krondo.com>
|
||||||
|
|
||||||
* src/scm/main-window.scm: handle errors in creating
|
* src/scm/main-window.scm: handle errors in creating
|
||||||
|
|||||||
+1
-1
@@ -3197,7 +3197,7 @@ sr_split_auto_calc (SplitRegister *reg, Split *split)
|
|||||||
|
|
||||||
if (!price_changed)
|
if (!price_changed)
|
||||||
default_value = 1;
|
default_value = 1;
|
||||||
if (!shares_changed)
|
else if (!shares_changed)
|
||||||
default_value = 0;
|
default_value = 0;
|
||||||
else if (!amount_changed)
|
else if (!amount_changed)
|
||||||
default_value = 2;
|
default_value = 2;
|
||||||
|
|||||||
+10
-10
@@ -830,6 +830,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"),
|
||||||
@@ -927,15 +936,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
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -946,7 +946,7 @@ gnc_register_create_tool_bar (RegWindow *regData)
|
|||||||
|
|
||||||
regData->toolbar = toolbar;
|
regData->toolbar = toolbar;
|
||||||
|
|
||||||
regData->split_button = toolbar_info[6].widget;
|
regData->split_button = toolbar_info[8].widget;
|
||||||
|
|
||||||
return toolbar;
|
return toolbar;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user