Change in labels for Favourites. Now when there's no comment, app name is still bold. Not sure if it's most elegant way, but it works for now.
This commit is contained in:
parent
3715090486
commit
23405ae40a
@ -545,12 +545,12 @@ class FavApplicationLauncher( ApplicationLauncher ):
|
||||
self.addLabel( self.appGenericName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
|
||||
self.addLabel( self.appName )
|
||||
else:
|
||||
self.addLabel( self.appName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
|
||||
if self.appComment != "":
|
||||
self.addLabel( self.appName, [ pango.AttrWeight( pango.WEIGHT_BOLD, 0, -1 ) ] )
|
||||
self.addLabel( self.appComment )
|
||||
else:
|
||||
self.addLabel( self.appName )
|
||||
|
||||
self.addLabel ( "" )
|
||||
|
||||
def setSwapGeneric( self, swapGeneric ):
|
||||
self.swapGeneric = swapGeneric
|
||||
for child in self.labelBox:
|
||||
|
Loading…
Reference in New Issue
Block a user