From: Jon A. Cruz Date: Sat, 9 Jan 2010 09:40:31 +0000 (-0800) Subject: Leverage recent toolbox c++-ification work to move the snap toolbar to the side with... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cca962af68793f37385b22ee3d2e86ec0b166428;p=inkscape.git Leverage recent toolbox c++-ification work to move the snap toolbar to the side with minimal effort. --- diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 8ed416a4c..f7e7f911d 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -331,7 +331,8 @@ void SPDesktopWidget::init( SPDesktopWidget *dtw ) gtk_box_pack_end (GTK_BOX (dtw->vbox), dtw->aux_toolbox, FALSE, TRUE, 0); dtw->snap_toolbox = ToolboxFactory::createSnapToolbox(); - gtk_box_pack_end (GTK_BOX (dtw->vbox), dtw->snap_toolbox, FALSE, TRUE, 0); + ToolboxFactory::setOrientation( dtw->snap_toolbox, GTK_ORIENTATION_VERTICAL ); + gtk_box_pack_end (GTK_BOX (hbox), dtw->snap_toolbox, FALSE, TRUE, 0); dtw->commands_toolbox = ToolboxFactory::createCommandsToolbox(); gtk_box_pack_end (GTK_BOX (dtw->vbox), dtw->commands_toolbox, FALSE, TRUE, 0);