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:

committed by
Carlos Garnacho

parent
58f712f7ed
commit
d57764bfc2
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user