Skip to content

Commit

Permalink
Change in labels for Favourites. Now when there's no comment, app nam…
Browse files Browse the repository at this point in the history
…e is still bold. Not sure if it's most elegant way, but it works for now.
  • Loading branch information
tomasz154 committed Jun 29, 2011
1 parent 3715090 commit 23405ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions usr/lib/linuxmint/mintMenu/plugins/easybuttons.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,12 +545,12 @@ def setupLabels( self ):
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:
Expand Down

0 comments on commit 23405ae

Please sign in to comment.