Use different icon name for network in places when theme is not Mint-X
This commit is contained in:
parent
435908ec44
commit
db45018cc6
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -1,8 +1,9 @@
|
||||
mintmenu (5.1.6) julia; urgency=low
|
||||
|
||||
* Highlighted apps now appear in bold, as opposed to using the fg[gtk.SELECTED] color (to avoid white on white issues with certain themes)
|
||||
* Network icon in places uses "network-workgroup" icon name when the theme is not Mint-X.
|
||||
|
||||
-- Clement Lefebvre <root@linuxmint.com> Tue, 26 Oct 2010 13:57:00 +0000
|
||||
-- Clement Lefebvre <root@linuxmint.com> Tue, 26 Oct 2010 14:44:00 +0000
|
||||
|
||||
mintmenu (5.1.5) julia; urgency=low
|
||||
|
||||
|
@ -160,7 +160,12 @@ class pluginclass( object ):
|
||||
self.mintMenuWin.setTooltip( Button2, _("Open your personal folder") )
|
||||
|
||||
if ( self.shownetwork == True ):
|
||||
gconftheme = EasyGConf( "/desktop/gnome/interface/" )
|
||||
icon_theme = gconftheme.get("string", "icon_theme", "Mint-X")
|
||||
if "Mint-X" in icon_theme:
|
||||
Button3 = easyButton( "notification-network-ethernet-connected", self.iconsize, [_("Network")], -1, -1)
|
||||
else:
|
||||
Button3 = easyButton( "network-workgroup", self.iconsize, [_("Network")], -1, -1)
|
||||
Button3.connect( "clicked", self.ButtonClicked, "nautilus network:" )
|
||||
Button3.show()
|
||||
self.placesBtnHolder.pack_start( Button3, False, False )
|
||||
|
Loading…
Reference in New Issue
Block a user