From 23405ae40ab95dd50d31a3f96854a46445bd633c Mon Sep 17 00:00:00 2001 From: tomek_tomek Date: Wed, 29 Jun 2011 11:34:23 +0000 Subject: [PATCH] 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. --- usr/lib/linuxmint/mintMenu/plugins/easybuttons.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index 8c7020b..e3f0452 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -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: