Subversion Repositories basico

Compare Revisions

Ignore whitespace Rev 365 → Rev 366

/branches/BR-0.4/basico/widgets/wdg_annot.py
297,18 → 297,19
stack_annotation.connect('notify::visible-child', self.stack_changed)
self.container_body.add(stack_annotation)
 
# Add Annotation preview stack
preview = self.annotation_preview()
stack_annotation.add_titled(preview, "preview", "Preview annotation")
stack_annotation.child_set_property (preview, "icon-name", "basico-preview")
# Add Annotation editor stack
editor = self.annotation_editor()
stack_annotation.add_titled(editor, "editor", "Edit annotation")
stack_annotation.child_set_property (editor, "icon-name", "basico-drafts")
# Add Annotation preview stack
preview = self.annotation_preview()
stack_annotation.add_titled(preview, "preview", "Preview annotation")
stack_annotation.child_set_property (preview, "icon-name", "basico-preview")
 
stack_annotation.set_visible_child(editor)
stack_annotation.set_visible_child_full('editor', Gtk.StackTransitionType.CROSSFADE)
stack_annotation.set_property('visible-child', editor)
 
 
def stack_changed(self, stack, GParamObject):