From 09ddaaf25e19e08d399a24603f82a87d56d2e633 Mon Sep 17 00:00:00 2001
From: monsta <monsta@inbox.ru>
Date: Thu, 4 May 2017 11:15:06 +0300
Subject: [PATCH] fix menu crash when placed on left vertical panel

---
 usr/lib/linuxmint/mintMenu/mintMenu.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py
index e89d589..529ad19 100755
--- a/usr/lib/linuxmint/mintMenu/mintMenu.py
+++ b/usr/lib/linuxmint/mintMenu/mintMenu.py
@@ -548,8 +548,8 @@ class MenuWin( object ):
             self.button_box.pack_start( self.button_icon , False, False, 0)
             self.button_box.pack_start( self.systemlabel , False, False, 0)
             self.button_icon.set_padding( 0, 5 )
-        elif self.applet.get_orient( orientation=Gtk.Orientation.VERTICAL ) == MatePanelApplet.AppletOrient.RIGHT:
-            self.button_box = Gtk.Box()
+        elif self.applet.get_orient() == MatePanelApplet.AppletOrient.RIGHT:
+            self.button_box = Gtk.Box( orientation=Gtk.Orientation.VERTICAL )
             self.systemlabel.set_angle( 90 )
             self.button_box.pack_start( self.systemlabel , False, False, 0)
             self.button_box.pack_start( self.button_icon , False, False, 0)