Code

Leverage recent toolbox c++-ification work to move the snap toolbar to the side with...
authorJon A. Cruz <jon@joncruz.org>
Sat, 9 Jan 2010 09:40:31 +0000 (01:40 -0800)
committerJon A. Cruz <jon@joncruz.org>
Sat, 9 Jan 2010 09:40:31 +0000 (01:40 -0800)
src/widgets/desktop-widget.cpp

index 8ed416a4c5344b422941988475cd42c01e1847cf..f7e7f911d5aa2c4f8dba90d1bacfb1dfa329141b 100644 (file)
@@ -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);