diff --git a/exec.o b/exec.o index fae49ca..062eab5 100755 Binary files a/exec.o and b/exec.o differ diff --git a/main.c b/main.c index 2d857cc..6259d81 100755 --- a/main.c +++ b/main.c @@ -57,10 +57,10 @@ static void activate (GtkApplication *app, gpointer user_data) { // gtk_stack_sidebar_set_stack (GTK_STACK_SIDEBAR (sidebar), stack); // gtk_stack_page_get_child (GTK_STACK_PAGE(page_1)); -// gtk_stack_page_set_name (GTK_STACK_PAGE(page_1), "new name"); + gtk_stack_page_set_name (GTK_STACK_PAGE(page_3), "new name"); GtkSelectionModel *stack_selection_model = gtk_stack_get_pages (stack); - gtk_selection_model_select_item (stack_selection_model, 0, 1); + gtk_selection_model_select_item (stack_selection_model, 2, 1); // gtk_stack_set_visible_child_name (stack, "n°3"); printf("selected page name is [%s] (can't get its title !)\n",