This commit is contained in:
El Mau 2022-04-23 21:49:30 -05:00
commit c9b9bfdf0a
8 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,6 @@
v 0.10.2 [22-apr-2022]
- Fix - issue #10
v 0.10.1 [26-mar-2022] v 0.10.1 [26-mar-2022]
- Fix - issue #9 - Fix - issue #9

View File

@ -1 +1 @@
0.10.1 0.10.2

View File

@ -26,7 +26,7 @@ import logging
TYPE_EXTENSION = 1 TYPE_EXTENSION = 1
# ~ https://semver.org/ # ~ https://semver.org/
VERSION = '0.10.1' VERSION = '0.10.2'
# ~ Your great extension name, not used spaces # ~ Your great extension name, not used spaces
NAME = 'ZAZPip' NAME = 'ZAZPip'
@ -116,7 +116,7 @@ PARENT = 'AddonMenu'
MENU_MAIN = {} MENU_MAIN = {}
MENUS = ( MENUS = (
{ {
'title': {'en': 'Open Pip', 'es': 'Abrir Pip', 'fr': 'Ouvert Pip'}, 'title': {'en': 'Open Zaz-Pip', 'es': 'Abrir Zaz-Pip', 'fr': 'Ouvert Zaz-Pip'},
'argument': 'open_dialog_pip', 'argument': 'open_dialog_pip',
'context': '', 'context': '',
'icon': 'icon', 'icon': 'icon',
@ -158,7 +158,7 @@ DIRS = {
'description': 'description', 'description': 'description',
'images': 'images', 'images': 'images',
'registration': 'registration', 'registration': 'registration',
'files': 'files', 'files': 'extension',
'office': 'Office', 'office': 'Office',
'locales': PATH_LOCALES, 'locales': PATH_LOCALES,
'pythonpath': True, 'pythonpath': True,

View File

@ -4,9 +4,9 @@
<node oor:name="AddonMenu"> <node oor:name="AddonMenu">
<node oor:name="net.elmau.zaz.pip" oor:op="fuse"> <node oor:name="net.elmau.zaz.pip" oor:op="fuse">
<prop oor:name="Title" oor:type="xs:string"> <prop oor:name="Title" oor:type="xs:string">
<value xml:lang="en">Open Pip</value> <value xml:lang="en">Open Zaz-Pip</value>
<value xml:lang="es">Abrir Pip</value> <value xml:lang="es">Abrir Zaz-Pip</value>
<value xml:lang="fr">Ouvert Pip</value> <value xml:lang="fr">Ouvert Zaz-Pip</value>
</prop> </prop>
<prop oor:name="Context" oor:type="xs:string"> <prop oor:name="Context" oor:type="xs:string">
<value/> <value/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:l="http://libreoffice.org/extensions/description/2011"> <description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:l="http://libreoffice.org/extensions/description/2011">
<identifier value="net.elmau.zaz.pip"/> <identifier value="net.elmau.zaz.pip"/>
<version value="0.10.1"/> <version value="0.10.2"/>
<dependencies> <dependencies>
<l:LibreOffice-minimal-version value="7.0"/> <l:LibreOffice-minimal-version value="7.0"/>
</dependencies> </dependencies>

View File

@ -151,7 +151,8 @@ class Controllers(object):
def txt_search_key_released(self, event): def txt_search_key_released(self, event):
if event.KeyCode == app.KEY['enter']: if event.KeyCode == app.KEY['enter']:
self.cmd_search_action(None) # ~ self.cmd_search_action(None)
self.cmd_install_action(None)
return return
if not self.d.txt_search.value.strip(): if not self.d.txt_search.value.strip():

2
zaz.py
View File

@ -755,7 +755,7 @@ def _new(args):
path = _join(args.target, args.name) path = _join(args.target, args.name)
_mkdir(path) _mkdir(path)
_mkdir(_join(path, 'files')) _mkdir(_join(path, 'ext'))
_mkdir(_join(path, 'images')) _mkdir(_join(path, 'images'))
path_logo = 'images/pymacros.png' path_logo = 'images/pymacros.png'
copyfile(path_logo, _join(path, 'images/logo.png')) copyfile(path_logo, _join(path, 'images/logo.png'))