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,12 +545,12 @@ class FavApplicationLauncher( ApplicationLauncher ):
self.addLabel( self.appGenericName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] ) self.addLabel( self.appGenericName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
self.addLabel( self.appName ) self.addLabel( self.appName )
else: else:
self.addLabel( self.appName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
if self.appComment != "": if self.appComment != "":
self.addLabel( self.appName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
self.addLabel( self.appComment ) self.addLabel( self.appComment )
else: else:
self.addLabel( self.appName ) self.addLabel ( "" )
def setSwapGeneric( self, swapGeneric ): def setSwapGeneric( self, swapGeneric ):
self.swapGeneric = swapGeneric self.swapGeneric = swapGeneric
for child in self.labelBox: for child in self.labelBox: