From f98df6e3074639847b1528609c91123bf03e44d1 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 1 Apr 2007 22:32:34 +0000 Subject: removed leftover debug messages. Toggling new grids now works. Almost ready to comment-out old grid code. (bzr r2806) --- src/ui/dialog/document-properties.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/ui/dialog/document-properties.cpp') diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 3f84c1808..fff815d8c 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -388,11 +388,7 @@ DocumentProperties::update_gridspage() } _grids_notebook.show_all(); - const Gtk::Widget* widget_array[] = - { - (Gtk::Widget*) &_grids_notebook, 0 - }; - attach_all (_page_grids.table(), widget_array, sizeof(widget_array),3); // FIXME: a hack to let GTK show all tabs, otherwise XML manually added grids setting widgets do no show. + _page_grids.table().resize_children(); } /** -- cgit v1.2.3