[Gambas-Notification] [Git][gambas/gambas][master] 8 commits: Add DesktopActions to DesktopFile.class
Benoît Minisini (@bminisini)
gitlab at mg.gitlab.com
Sun Nov 26 20:04:20 CET 2023
Benoît Minisini pushed to branch master at Gambas / gambas
Commits:
b2c34e8e by Bruce Steers at 2023-11-16T17:00:23+00:00
Add DesktopActions to DesktopFile.class
[GB.DESKTOP]
* NEW: make DesktopAction object, contains .Key .Name .Exec properties and .Delete method
* NEW: add _DesktopFile_Actions.class to manage actions.
* NEW: add DesktopActions property to DesktopFile.class.
* NEW: DesktopFile._Data , hidden property returns the Collection used by DesktopFile internally.
- - - - -
850d02cb by Bruce Steers at 2023-11-16T18:13:34+00:00
DesktopAction, allow use of languages
[GB.DESKTOP]
* NEW: DesktopAction.Name can set language strings with an underscore, eg. $hAction.Name_Fr = "Bonjour"
- - - - -
f25e8955 by Bruce Steers at 2023-11-16T21:10:02+00:00
DesktopActions, use LocalNames (collection) for languages
[GB.DESKTOP]
* NEW: DesktopAction.LocalNames returns a collection of the alternative language Texts
* OPT: remove the odd _unknown() method for languages
- - - - -
668ef01d by Bruce Steers at 2023-11-17T02:46:27+00:00
DesktopActions, implement the same language method as DesktopFile.class
[GB.DESKTOP]
* NEW: implement same method in DesktopActions for getting current language Name
* OPT: remove previously added language methods.
* NEW: ANY property can be set for a DesktopAction not just .Name and .Exec
- - - - -
b7da54f8 by Bruce Steers at 2023-11-17T13:39:28+00:00
DesktopAction, If Key name is changed and it Exists in DesktopFile.Actions then rename the Actions Key
[GB.DESKTOP]
* BUG: If a DesktopAction key name is changed then update the entry in DesktopFile.Actions property.
* OPT: make DesktopAction get DesktopFile $aLang list a different way
- - - - -
5855b2ca by Bruce Steers at 2023-11-17T17:34:46+00:00
DesktopActions, add/update help texts
[GB.DESKTOP]
* NEW: add inline help text
- - - - -
d7d7ad3d by Bruce Steers at 2023-11-17T20:12:09+00:00
DesktopActions, add Exist() to each action to find properties, be less case sensitive
[GB.DESKTOP]
* NEW: hDesktopFile.DesktopActions[sName].Exist(PropertyName), see if a property name exists
* OPT: be less case sensitive with key and property names
- - - - -
e8b7de2c by Benoît Minisini at 2023-11-26T19:04:15+00:00
Merge branch 'desktopactions' into 'master'
gb.desktop, Make DesktopActions.class to manage Actions better and add to DesktopFile.class
See merge request gambas/gambas!318
- - - - -
5 changed files:
- comp/src/gb.desktop/.icon.png
- + comp/src/gb.desktop/.src/DesktopAction.class
- comp/src/gb.desktop/.src/DesktopFile.class
- comp/src/gb.desktop/.src/Main.module
- + comp/src/gb.desktop/.src/_DesktopFile_Actions.class
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/c1996acf1af7f5e3f318851d482d60c93ba59daa...e8b7de2c415aeb957f7fd2fe1f9b605a58c59031
--
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/c1996acf1af7f5e3f318851d482d60c93ba59daa...e8b7de2c415aeb957f7fd2fe1f9b605a58c59031
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20231126/7a30a59f/attachment.htm>
More information about the Notification
mailing list