mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Improve options dialog looks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3343 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a9a8dfa0b4
commit
ffb28508df
@ -1776,13 +1776,21 @@ gnc_options_dialog_new(int make_toplevel) {
|
||||
retval->window = vbox;
|
||||
}
|
||||
|
||||
buttonbox = gtk_hbox_new(FALSE, 2);
|
||||
buttonbox = gtk_hbutton_box_new ();
|
||||
|
||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (buttonbox),
|
||||
GTK_BUTTONBOX_SPREAD);
|
||||
|
||||
gtk_button_box_set_spacing (GTK_BUTTON_BOX (buttonbox),
|
||||
GNOME_PAD);
|
||||
|
||||
gtk_container_set_border_width(GTK_CONTAINER (buttonbox), 5);
|
||||
|
||||
apply_button = gnome_stock_button (GNOME_STOCK_BUTTON_APPLY);
|
||||
help_button = gnome_stock_button (GNOME_STOCK_BUTTON_HELP);
|
||||
ok_button = gnome_stock_button (GNOME_STOCK_BUTTON_OK);
|
||||
close_button = gnome_stock_button (GNOME_STOCK_BUTTON_CLOSE);
|
||||
|
||||
apply_button = gtk_button_new_with_label(_("Apply"));
|
||||
help_button = gtk_button_new_with_label(_("Help"));
|
||||
ok_button = gtk_button_new_with_label(_("OK"));
|
||||
close_button = gtk_button_new_with_label(_("Close"));
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(apply_button), "clicked",
|
||||
GTK_SIGNAL_FUNC(gnc_options_dialog_apply_stub_cb),
|
||||
retval);
|
||||
|
Loading…
Reference in New Issue
Block a user