Increment TOTD index on dialog init.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13373 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2006-02-24 02:54:33 +00:00
parent a25ee62408
commit 546e7b17d7
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-02-23 Joshua Sled <jsled@asynchronous.org> 2006-02-23 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/dialog-totd.c (gnc_totd_dialog): Increment TOTD
index on dialog init.
* src/gnome-utils/gnc-html-graph-gog.c (handle_barchart): fix * src/gnome-utils/gnc-html-graph-gog.c (handle_barchart): fix
x-axis labeling. Patch from Andreas Köhler. Bug#332359. x-axis labeling. Patch from Andreas Köhler. Bug#332359.

View File

@ -254,7 +254,7 @@ gnc_totd_dialog (GtkWindow *parent, gboolean startup)
glade_xml_signal_autoconnect_full(xml, gnc_glade_autoconnect_full_func, glade_xml_signal_autoconnect_full(xml, gnc_glade_autoconnect_full_func,
dialog); dialog);
gnc_new_tip_number(dialog, 0); gnc_new_tip_number(dialog, 1);
button = glade_xml_get_widget(xml, "show_checkbutton"); button = glade_xml_get_widget(xml, "show_checkbutton");
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON (button), show_tips); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON (button), show_tips);