Merge pull request #5 from tomasz154/master
my solution for https://github.com/linuxmint/mintmenu/issues/4
This commit is contained in:
commit
4362cdbf01
@ -545,11 +545,11 @@ 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:
|
||||||
if self.appComment != "":
|
|
||||||
self.addLabel( self.appName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
|
self.addLabel( self.appName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
|
||||||
|
if self.appComment != "":
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user