mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Don't override the user's toolbar style preference by calling
gtk_widget_show_all() on the toolbar. #102041 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8022 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1ccd3cb1af
commit
e4dd9a78a3
@ -5,6 +5,10 @@
|
|||||||
|
|
||||||
2003-02-22 David Hampton <hampton@employees.org>
|
2003-02-22 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
|
* src/gnome/window-register.c: Don't override the user's toolbar
|
||||||
|
style preference by calling gtk_widget_show_all() on the toolbar.
|
||||||
|
#102041
|
||||||
|
|
||||||
* various: Initial port from the deprecated (in 1.6) guile gh_xxx
|
* various: Initial port from the deprecated (in 1.6) guile gh_xxx
|
||||||
interface to the supported scm_xxx interface.
|
interface to the supported scm_xxx interface.
|
||||||
|
|
||||||
|
@ -982,7 +982,11 @@ regWindowLedger( GNCLedgerDisplay *ledger )
|
|||||||
GtkWidget *toolbar = gnc_register_setup_toolbar( regData );
|
GtkWidget *toolbar = gnc_register_setup_toolbar( regData );
|
||||||
regData->toolbar_dock = glade_xml_get_widget( xml, "toolbar_dock" );
|
regData->toolbar_dock = glade_xml_get_widget( xml, "toolbar_dock" );
|
||||||
if ( toolbar ) {
|
if ( toolbar ) {
|
||||||
gtk_widget_show_all( toolbar );
|
/*
|
||||||
|
* Don't call gtk_widget_show_all() here. It overrides the users
|
||||||
|
* toolbar preference setting.
|
||||||
|
*/
|
||||||
|
gtk_widget_show( toolbar );
|
||||||
gtk_container_add( GTK_CONTAINER(regData->toolbar_dock), toolbar );
|
gtk_container_add( GTK_CONTAINER(regData->toolbar_dock), toolbar );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1252,7 +1256,11 @@ gnc_register_setup_toolbar( RegWindow *regData )
|
|||||||
|
|
||||||
gtk_widget_destroy( GTK_WIDGET(regTbar) );
|
gtk_widget_destroy( GTK_WIDGET(regTbar) );
|
||||||
|
|
||||||
gtk_widget_show_all( GTK_WIDGET(tbar) );
|
/*
|
||||||
|
* Don't call gtk_widget_show_all() here. It overrides the users
|
||||||
|
* toolbar preference setting.
|
||||||
|
*/
|
||||||
|
gtk_widget_show( GTK_WIDGET(tbar) );
|
||||||
|
|
||||||
return GTK_WIDGET(tbar);
|
return GTK_WIDGET(tbar);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user