diff --git a/README.md b/README.md index 52cf620..a33a53c 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ try { //Detect current locale. string locale = environment.get("LC_CTYPE", environment.get("LC_ALL", environment.get("LANG"))); - string name = df.localizedName(locale); //Specific name of the application. + string name = df.localizedDisplayName(locale); //Specific name of the application. string genericName = df.localizedGenericName(locale); //Generic name of the application. Show it in menu under the specific name. string comment = df.localizedComment(locale); //Show it as tooltip or description. diff --git a/examples/desktoptest/dub.selections.json b/examples/desktoptest/dub.selections.json index fbd7919..a20686f 100644 --- a/examples/desktoptest/dub.selections.json +++ b/examples/desktoptest/dub.selections.json @@ -3,7 +3,7 @@ "versions": { "standardpaths": "0.3.1", "isfreedesktop": "0.1.0", - "inilike": "0.5.0", - "xdgpaths": "0.1.2" + "inilike": "0.5.1", + "xdgpaths": "0.2.1" } } \ No newline at end of file diff --git a/examples/desktoputil/dub.selections.json b/examples/desktoputil/dub.selections.json index 5260b00..49c6753 100644 --- a/examples/desktoputil/dub.selections.json +++ b/examples/desktoputil/dub.selections.json @@ -2,7 +2,7 @@ "fileVersion": 1, "versions": { "isfreedesktop": "0.1.0", - "inilike": "0.5.0", - "xdgpaths": "0.1.2" + "inilike": "0.5.1", + "xdgpaths": "0.2.1" } } \ No newline at end of file diff --git a/examples/shootdesktop/dub.selections.json b/examples/shootdesktop/dub.selections.json index 6c441a9..49c6753 100644 --- a/examples/shootdesktop/dub.selections.json +++ b/examples/shootdesktop/dub.selections.json @@ -1,9 +1,8 @@ { "fileVersion": 1, "versions": { - "standardpaths": "0.2.0", "isfreedesktop": "0.1.0", - "inilike": "0.5.0", - "xdgpaths": "0.1.2" + "inilike": "0.5.1", + "xdgpaths": "0.2.1" } } \ No newline at end of file diff --git a/source/desktopfile/utils.d b/source/desktopfile/utils.d index 80c0ad2..02b78c1 100644 --- a/source/desktopfile/utils.d +++ b/source/desktopfile/utils.d @@ -724,7 +724,7 @@ unittest * Read the desktop file and run application or open link depending on the type of the given desktop file. * Params: * reader = IniLikeReader constructed from range of strings using iniLikeRangeReader - * fileName = file name of desktop file where data read from. It's optional, but can be set to the file name from which contents IniLikeReader was constructed. + * fileName = file name of desktop file where data read from. Can be used in field code expanding, should be set to the file name from which contents IniLikeReader was constructed. * options = options that set behavior of the function. * Use this function to execute desktop file fast, without creating of DesktopFile instance. * Throws: