Sync show-timeline action state before connecting signal handler

This commit is contained in:
René Stadler 2008-01-24 11:49:41 +02:00 committed by Stefan Sauer
parent 8b6e0d193f
commit 04d90a4e38

View file

@ -869,8 +869,8 @@ class TimelineFeature (FeatureBase):
handler = self.handle_show_action_toggled
action = self.action_group.get_action ("show-timeline")
action.connect ("toggled", handler)
action.props.active = self.state.shown
action.connect ("toggled", handler)
def handle_show_action_toggled (self, action):