Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/g/r/gramps-3.4.2/src/gen/proxy/private.py   Gramps(Download)
    new_media.set_mime_type(media.get_mime_type())
    new_media.set_path(media.get_path())
    new_media.set_description(media.get_description())
    new_media.set_gramps_id(media.get_gramps_id())
    new_media.set_handle(media.get_handle())

src/g/r/gramps-3.4.2/src/plugins/import/ImportXml.py   Gramps(Download)
        for key in attrs.keys():
            if key == "descrip" or key == "description":
                self.photo.set_description(attrs[key])
            elif key == "priv":
                self.pref.set_privacy(int(attrs[key]))

src/g/r/gramps-3.4.2/src/gui/editors/displaytabs/gallerytab.py   Gramps(Download)
                        basename = os.path.basename(name)
                        (root, ext) = os.path.splitext(basename)
                        photo.set_description(root)
                        with DbTxn(_("Drag Media Object"),
                                   self.dbstate.db) as trans:

src/g/r/gramps-3.4.2/src/plugins/tool/MediaManager.py   Gramps(Download)
                            obj.set_mime_type(mime_type)
                            (root, ext) = os.path.splitext(filename)
                            obj.set_description(root)
                            self.db.add_object(obj, self.trans)
            self.update()

src/g/r/gramps-3.4.2/src/plugins/view/mediaview.py   Gramps(Download)
                basename = os.path.basename(name)
                (root, ext) = os.path.splitext(basename)
                photo.set_description(root)
                with DbTxn(_("Drag Media Object"), self.dbstate.db) as trans:
                    self.dbstate.db.add_object(photo, trans)