Specific GTKRC name

This commit is contained in:
Clement Lefebvre 2010-09-17 14:55:03 +01:00
parent 3f63fac7ed
commit b9bb28eb61
2 changed files with 9 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (5.0.9) julia; urgency=low
* Added GTK RC name to mintmenu (allows GTK themes to have mintMenu specific sections)
-- Clement Lefebvre <root@linuxmint.com> Fri, 17 Sep 2010 14:54:00 +0000
mintmenu (5.0.8) julia; urgency=low mintmenu (5.0.8) julia; urgency=low
* Added GTK Themes support and configuration * Added GTK Themes support and configuration

View File

@ -523,6 +523,8 @@ class MenuWin( object ):
self.mainwin.window.connect( "unmap-event", lambda *args: self.applet.set_state( gtk.STATE_NORMAL ) ) self.mainwin.window.connect( "unmap-event", lambda *args: self.applet.set_state( gtk.STATE_NORMAL ) )
self.mainwin.window.connect( "size-allocate", lambda *args: self.positionMenu() ) self.mainwin.window.connect( "size-allocate", lambda *args: self.positionMenu() )
self.mainwin.window.set_name("mintmenu") # Name used in Gtk RC files
icon = iconManager.getIcon( self.mainwin.icon, 1 ) icon = iconManager.getIcon( self.mainwin.icon, 1 )
if icon: if icon:
gtk.window_set_default_icon( icon ) gtk.window_set_default_icon( icon )