Merge pull request #5 from tomasz154/master

my solution for https://github.com/linuxmint/mintmenu/issues/4
This commit is contained in:
Clement Lefebvre 2011-09-27 05:42:52 -07:00
commit 4362cdbf01

View File

@ -545,11 +545,11 @@ class FavApplicationLauncher( ApplicationLauncher ):
self.addLabel( self.appGenericName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
self.addLabel( self.appName )
else:
if self.appComment != "":
self.addLabel( self.appName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
if self.appComment != "":
self.addLabel( self.appComment )
else:
self.addLabel( self.appName )
self.addLabel ( "" )
def setSwapGeneric( self, swapGeneric ):
self.swapGeneric = swapGeneric