Public feed #378834

Stuff

public text v1 · immutable
Raw Edit
·published 2007-03-02 20:37 UTC
rendered paste body
		self.m_MenuBarTitle = gtk.Label("Starez")
		self.m_MenuBarContainer.pack_start(self.m_MenuBarTitle)
		style = self.m_MenuBarTitle.get_style().copy()
		color = style.bg[gtk.STATE_NORMAL]
		color_map = self.m_MenuBarTitle.get_colormap()
		color = color_map.alloc_color(int(color.red*0.5), int(color.green*0.5), int(color.blue*0.5))
		style.bg[gtk.STATE_NORMAL] = color
		self.m_MenuBarTitle.set_style(style)