From 77e11776047ffa25eeeb82b5de14bb3c47608af6 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 1 Dec 2014 15:16:01 +0300 Subject: [PATCH] removed unused and confusing argument --- usr/lib/linuxmint/mintMenu/mintMenu.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index 1b4fd07..23b05f2 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -455,7 +455,7 @@ class MainWindow( object ): self.plugins["applications"].changeTab(0) self.plugins["applications"].focusSearchEntry() - def hide( self, forceHide = False ): + def hide( self ): for plugin in self.plugins.values(): if hasattr( plugin, "onHideMenu" ): plugin.onHideMenu() @@ -752,11 +752,11 @@ class MenuWin( object ): self.create_menu() # allow middle click and drag elif event.button == 2: - self.mainwin.hide( True ) + self.mainwin.hide() def toggleMenu( self ): if self.applet.state & Gtk.StateType.SELECTED: - self.mainwin.hide( True ) + self.mainwin.hide() else: self.positionMenu() self.mainwin.show()