mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2001-05-02 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: set the app's mdi mode from user prefs git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4106 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ced95f5d1e
commit
73a50b806c
@ -1,5 +1,7 @@
|
|||||||
2001-05-02 Dave Peticolas <dave@krondo.com>
|
2001-05-02 Dave Peticolas <dave@krondo.com>
|
||||||
|
|
||||||
|
* src/gnome/window-main.c: set the app's mdi mode from user prefs
|
||||||
|
|
||||||
* README.cvs: add README about cvs write access
|
* README.cvs: add README about cvs write access
|
||||||
|
|
||||||
* src/scm/report/net-barchart.scm: same as below
|
* src/scm/report/net-barchart.scm: same as below
|
||||||
|
@ -565,7 +565,7 @@ gnc_main_window_close_children(GNCMainInfo * wind) {
|
|||||||
GNCMainInfo *
|
GNCMainInfo *
|
||||||
gnc_main_window_new(void) {
|
gnc_main_window_new(void) {
|
||||||
GNCMainInfo * retval = g_new0(GNCMainInfo, 1);
|
GNCMainInfo * retval = g_new0(GNCMainInfo, 1);
|
||||||
|
|
||||||
retval->mdi = GNOME_MDI(gnome_mdi_new("GnuCash", "GnuCash"));
|
retval->mdi = GNOME_MDI(gnome_mdi_new("GnuCash", "GnuCash"));
|
||||||
retval->component_id =
|
retval->component_id =
|
||||||
gnc_register_gui_component (WINDOW_MAIN_CM_CLASS, NULL, NULL,
|
gnc_register_gui_component (WINDOW_MAIN_CM_CLASS, NULL, NULL,
|
||||||
@ -591,7 +591,9 @@ gnc_main_window_new(void) {
|
|||||||
gnc_register_option_change_callback(gnc_main_window_configure_mdi_cb,
|
gnc_register_option_change_callback(gnc_main_window_configure_mdi_cb,
|
||||||
retval,
|
retval,
|
||||||
"General", "Application MDI mode");
|
"General", "Application MDI mode");
|
||||||
|
|
||||||
|
gnome_mdi_set_mode(retval->mdi, gnc_get_mdi_mode ());
|
||||||
|
|
||||||
/* handle top-level signals */
|
/* handle top-level signals */
|
||||||
gtk_signal_connect(GTK_OBJECT(retval->mdi), "destroy",
|
gtk_signal_connect(GTK_OBJECT(retval->mdi), "destroy",
|
||||||
GTK_SIGNAL_FUNC(gnc_main_window_destroy_cb),
|
GTK_SIGNAL_FUNC(gnc_main_window_destroy_cb),
|
||||||
|
Loading…
Reference in New Issue
Block a user