Exemplo n.º 1
0
 def open_tag_editor(self, tag):
     if not self.tag_editor_dialog:
         self.tag_editor_dialog = TagEditor(self.req, self, tag)
     else:
         self.tag_editor_dialog.set_tag(tag)
     self.tag_editor_dialog.show()
     self.tag_editor_dialog.present()
Exemplo n.º 2
0
    def open_tag_editor(self, tag):
        """Open Tag editor dialog."""

        if not self.edit_tag_dialog:
            self.edit_tag_dialog = TagEditor(self.req, self, tag)
        else:
            self.edit_tag_dialog.set_tag(tag)

        self.edit_tag_dialog.present()
Exemplo n.º 3
0
    def open_tag_editor(self, tag):
        """Open Tag editor dialog."""

        if not self.edit_tag_dialog:
            self.edit_tag_dialog = TagEditor(self.req, self, tag)
            self.edit_tag_dialog.set_transient_for(self.browser)
            self.edit_tag_dialog.insert_action_group('app', self)
        else:
            self.edit_tag_dialog.set_tag(tag)

        self.edit_tag_dialog.present()