From f67292b048147877cc4d58f59c52bd07650785c8 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Mon, 1 May 2017 17:00:00 +0100 Subject: [PATCH] Give the applet box a class name to allow easier themeing --- usr/lib/linuxmint/mintMenu/mintMenu.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index e675740..d0a0b74 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -505,11 +505,13 @@ class MenuWin( object ): def onWindowMap( self, *args ): self.applet.get_style_context().set_state( Gtk.StateFlags.SELECTED ) + self.button_box.get_style_context().set_state( Gtk.StateFlags.SELECTED ) self.keybinder.set_focus_window( self.mainwin.window.get_window() ) return False def onWindowUnmap( self, *args ): self.applet.get_style_context().set_state( Gtk.StateFlags.NORMAL ) + self.button_box.get_style_context().set_state( Gtk.StateFlags.NORMAL ) self.keybinder.set_focus_window() return False @@ -583,6 +585,8 @@ class MenuWin( object ): self.button_box.show_all() self.sizeButton() + self.button_box.get_style_context().add_class('mintmenu') + self.applet.add( self.button_box ) self.applet.set_background_widget( self.applet )