demo: expand notebook tabs

This commit is contained in:
William Jon McCann
2013-12-02 20:02:56 -05:00
parent 70bc941b73
commit f115af11d2
2 changed files with 9 additions and 0 deletions

View File

@ -510,6 +510,10 @@ add_data_tab (const gchar *demoname)
label = gtk_label_new (resources[i]);
gtk_widget_show (label);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), widget, label);
gtk_container_child_set (GTK_CONTAINER (notebook),
GTK_WIDGET (widget),
"tab-expand", TRUE,
NULL);
g_free (content_mime);
g_free (content_type);