[gnome-initial-setup] Make language changes work again



commit 1202756a2764732325a5b230a80f5f5a1fd22f21
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 19 22:37:56 2013 -0500

    Make language changes work again
    
    The call to destroy the old pages got lost when page skipping
    was introduced.

 gnome-initial-setup/gnome-initial-setup.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index b0aec44..83923b4 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -149,6 +149,8 @@ rebuild_pages_cb (GisDriver *driver, GList *pages)
   GList *pages_itr = NULL;
   gchar **skip_pages;
 
+  gis_assistant_destroy_all_pages (gis_driver_get_assistant (driver));
+
   skip_pages = pages_to_skip_from_file ();
 
   for (pages_itr = pages; pages_itr != NULL; pages_itr = pages_itr->next) {



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