r18981 - gnucash/trunk/src/gnome-utils - Bug #613963 - GnuCash opens empty window when no state file is found

Geert Janssens gjanssens at code.gnucash.org
Tue Mar 30 11:32:25 EDT 2010


Author: gjanssens
Date: 2010-03-30 11:32:25 -0400 (Tue, 30 Mar 2010)
New Revision: 18981
Trac: http://svn.gnucash.org/trac/changeset/18981

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Bug #613963 - GnuCash opens empty window when no state file is found

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-03-30 14:41:54 UTC (rev 18980)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-03-30 15:32:25 UTC (rev 18981)
@@ -897,7 +897,7 @@
      * in the window. */
     DEBUG("no saved state file");
     window = g_list_nth_data(active_windows, 0);
-    action = gnc_main_window_find_action(window, "FileNewAccountTreeAction");
+    action = gnc_main_window_find_action(window, "ViewAccountTreeAction");
     gtk_action_activate(action);
 }
 



More information about the gnucash-changes mailing list