[gnumeric] GUI: Load file history only once when creating a new window.



commit 0915dd5514f5d0e3dfaa4c7548e4750332077853
Author: Morten Welinder <terra gnome org>
Date:   Mon Jan 9 19:45:43 2012 -0500

    GUI: Load file history only once when creating a new window.

 ChangeLog     |    5 +++++
 src/wbc-gtk.c |    1 -
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2cc4982..61097b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-09  Morten Welinder  <terra gnome org>
+
+	* src/wbc-gtk.c (wbc_gtk_init): No need to load the file history
+	here.  We will do that in wbc_gtk_new.
+
 2012-01-09  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/gui-util.c (gnm_store_text_tag_attr_in_pango): replace
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index bdaa26d..84b082a 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -5811,7 +5811,6 @@ wbc_gtk_init (GObject *obj)
 
 	wbcg->file_history.actions = NULL;
 	wbcg->file_history.merge_id = 0;
-	wbc_gtk_reload_recent_file_menu (wbcg);
 
 	wbcg->toolbar.merge_id = gtk_ui_manager_new_merge_id (wbcg->ui);
 	wbcg->toolbar.actions = gtk_action_group_new ("Toolbars");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]