diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index db25615..6a0c2e1 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -173,7 +173,7 @@ class easyButton( Gtk.Button ): def addLabel( self, text, styles = None ): label = Gtk.Label() - if "" in text: + if "" in text or "%s' % appName) + self.addLabel( '%s' % appComment) + else: + self.addLabel( appName ) + self.addLabel( '%s' % appComment) + else: + self.addLabel( appName ) def execute( self, *args ): self.highlight = False @@ -520,13 +520,13 @@ class FavApplicationLauncher( ApplicationLauncher ): def setupLabels( self ): if self.appGenericName: if self.swapGeneric: - self.addLabel( self.appName, [ Pango.AttrWeight( Pango.Weight.BOLD, 0, -1 ) ] ) + self.addLabel( '%s' % self.appName ) self.addLabel( self.appGenericName ) else: - self.addLabel( self.appGenericName, [ Pango.AttrWeight( Pango.Weight.BOLD, 0, -1 ) ] ) + self.addLabel( '%s' % self.appGenericName ) self.addLabel( self.appName ) else: - self.addLabel( self.appName, [ Pango.AttrWeight( Pango.Weight.BOLD, 0, -1 ) ] ) + self.addLabel( '%s' % self.appName ) if self.appComment != "": self.addLabel( self.appComment ) else: