summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 813ac61)
raw | patch | inline | side by side (parent: 813ac61)
author | joncruz <joncruz@users.sourceforge.net> | |
Sat, 28 Jan 2006 02:21:46 +0000 (02:21 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sat, 28 Jan 2006 02:21:46 +0000 (02:21 +0000) |
src/widgets/desktop-widget.cpp | patch | blob | history |
index 311f93a1c1a70b7f468df18a937aa71af22df95a..2cd6f13d399dccd0e59e2dcaaee27e5d851f0114 100644 (file)
widget = GTK_WIDGET (dtw);
- Gtk::VPaned* pane = manage( new Gtk::VPaned() );
- pane->show_all();
-
dtw->window = 0;
dtw->desktop = NULL;
/* Main table */
dtw->vbox = gtk_vbox_new (FALSE, 0);
- gtk_container_add( GTK_CONTAINER(dtw), GTK_WIDGET(pane->gobj()) );
-
- Gtk::VBox* tmp = Glib::wrap( GTK_VBOX(dtw->vbox) );
- Gtk::VBox* boxWrap = manage( tmp );
- pane->pack1( *boxWrap, true, true );
+ gtk_container_add( GTK_CONTAINER(dtw), GTK_WIDGET(dtw->vbox) );
dtw->statusbar = gtk_hbox_new (FALSE, 0);
//gtk_widget_set_usize (dtw->statusbar, -1, BOTTOM_BAR_HEIGHT);
{
using Inkscape::UI::Dialogs::SwatchesPanel;
- SwatchesPanel* swatches = manage( new SwatchesPanel() );
+ SwatchesPanel* swatches = new SwatchesPanel();
dtw->panels = GTK_WIDGET(swatches->gobj());
- pane->pack2( *swatches, false, true );
+ gtk_box_pack_end( GTK_BOX( dtw->vbox ), dtw->panels, FALSE, TRUE, 0 );
}
hbox = gtk_hbox_new (FALSE, 0);