def create_phatch_inspect_nautilus_action(): create_nautilus_extension( name="phatch_image_inspector", label='_("%s") + "..."' % _t("Inspect with Phatch"), command="phatch -n %s &", mimetypes=IMAGE_READ_MIMETYPES, tooltip='_("%s")' % _t("Inspect EXIF & IPTC tags"), preload=PRELOAD, )
def create_phatch_recent_nautilus_action(): create_nautilus_extension( name="phatch_recent", label='_("%s") + "..."' % _t("Process with recent Phatch action list"), command="phatch -d recent %s &", mimetypes=IMAGE_READ_MIMETYPES, tooltip=TOOLTIP, preload=PRELOAD, )
def create_phatch_inspect_nautilus_action(): create_nautilus_extension( name='phatch_image_inspector', label='_("%s") + "..."' % \ _t('Inspect with Phatch'), command='phatch -n %s &', mimetypes=IMAGE_READ_MIMETYPES, tooltip='_("%s")' % _t('Inspect EXIF & IPTC tags'), preload=PRELOAD, )
def create_phatch_recent_nautilus_action(): create_nautilus_extension( name='phatch_recent', label='_("%s") + "..."' % \ _t('Process with recent Phatch action list'), command='phatch -d recent %s &', mimetypes=IMAGE_READ_MIMETYPES, tooltip=TOOLTIP, preload=PRELOAD, )
def create_phatch_nautilus_action(actionlist): name = os.path.splitext(os.path.basename(actionlist))[0] title = system.title(name) create_nautilus_extension( name='phatch_actionlist_' + \ name.encode('ascii', 'ignore'), label='_("%s") + "..."' % _t('Phatch with %s') % title, command='phatch -d "%s" %%s &' % actionlist, mimetypes=IMAGE_READ_MIMETYPES, tooltip=TOOLTIP, )
def create_phatch_nautilus_action(actionlist): name = os.path.splitext(os.path.basename(actionlist))[0] title = system.title(name) create_nautilus_extension( name="phatch_actionlist_" + name.encode("ascii", "ignore"), label='_("%s") + "..."' % _t("Phatch with %s") % title, command='phatch -d "%s" %%s &' % actionlist, mimetypes=IMAGE_READ_MIMETYPES, tooltip=TOOLTIP, preload=PRELOAD, )