widget: show notebook pages before appending them
authorFilippo Argiolas <filippo.argiolas@gmail.com>
Fri, 19 Feb 2010 20:12:13 +0000 (21:12 +0100)
committerFilippo Argiolas <filippo.argiolas@gmail.com>
Sun, 21 Feb 2010 21:14:13 +0000 (22:14 +0100)
commit58adc0214e3f1c43bd15ffdcb7a10bf6f023a8e2
tree1e85bbb9e46ecbe57219f31c52ebc3cc29ea741e
parentd71cb48b6f0263c62cbb1563a644db9b75c522f8
widget: show notebook pages before appending them

As per GtkNotebook docs, it refuses to switch to a page unless the child
widget is visible. So better to show them while constructing the widget
instead of relying on the user to call a _show_all.
libcheese/cheese-widget.c