* relation.svg: Relationship view icon

* media.svg: Relationship view icon
* src/ViewManager.py: no background color for sidebar
* src/gramps_main.py: new icons


svn: r5703
This commit is contained in:
Don Allingham
2006-01-09 21:40:23 +00:00
parent 09292cbc15
commit 9586db0f66
5 changed files with 863 additions and 14 deletions

View File

@ -278,16 +278,6 @@ class ViewManager:
GrampsKeys.sync()
gtk.main_quit()
def set_color(self,obj):
style = obj.get_style().copy()
new_color = style.bg[gtk.STATE_ACTIVE]
style.bg[gtk.STATE_NORMAL] = new_color
style.bg[gtk.STATE_PRELIGHT] = new_color
style.bg[gtk.STATE_ACTIVE] = new_color
style.bg[gtk.STATE_INSENSITIVE] = new_color
style.bg[gtk.STATE_SELECTED] = new_color
obj.set_style(style)
def build_ui_manager(self):
self.merge_ids = []
self.uimanager = gtk.UIManager()
@ -435,7 +425,6 @@ class ViewManager:
self.prev_nav = PageView.NAVIGATION_NONE
index = 0
self.set_color(self.ebox)
for page_def in self.views:
page = page_def(self.state,self.uistate)
@ -461,7 +450,6 @@ class ViewManager:
button.set_alignment(0,0.5)
button.connect('clicked',
lambda x,y : self.notebook.set_current_page(y), index)
self.set_color(button)
button.show()
index += 1
self.bbox.pack_start(button,False)