Add current page to visited page list instead of next current page.

2008-04-11  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
        page to visited page list instead of next current page. (#527466,
        patch by Marcus Brinkmann)

svn path=/trunk/; revision=19996
This commit is contained in:
Carlos Garnacho 2008-04-11 17:08:21 +00:00 committed by Carlos Garnacho
parent 58f712f7ed
commit d57764bfc2
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-04-11 Carlos Garnacho <carlos@imendio.com>D:ChangeLog
* gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
page to visited page list instead of next current page. (#527466,
patch by Marcus Brinkmann)
2008-04-11 Tristan Van Berkom <tvb@gnome.org>
* gtk/gtklabel.c: Added <attributes> / <attribute>

View File

@ -1518,7 +1518,8 @@ gtk_assistant_set_current_page (GtkAssistant *assistant,
* initial page is != to 0
*/
if (GTK_WIDGET_MAPPED (assistant))
priv->visited_pages = g_slist_prepend (priv->visited_pages, page);
priv->visited_pages = g_slist_prepend (priv->visited_pages,
priv->current_page);
set_current_page (assistant, page);
}