[Gambas-user] Settings

Phạm Quang Dương soleilpqd at ...626...
Sat Mar 5 21:51:24 CET 2011


Hi,

I tried use Settings to read index.theme of icon theme:

cfgReader = NEW Settings("/path/to/index.theme")

With the file "~/.icons/elementaryXubuntu/index.theme"
[Icon Theme]
....
Directories=actions/16,actions/22,.....
.....

cfgReader["Icon Theme/Directories"] return whole line. It's OK.

But with the file "/usr/share/icons/Fedora/index.theme" and other themes in
/usr/share/icons which have "Directories" line like this:
[Icon Theme]
....
Directories=16x16/places,16x16/apps,.....
.....

cfgReader["Icon Theme/Directories"] return only 16

What wrong with 'x'?

'-------------------------------------------------------'
[OperatingSystem]
OperatingSystem=Linux
KernelRelease=2.6.35.11-83.fc14.i686
DistributionVendor=redhat
DistributionRelease=Fedora release 14 (Laughlin)

[System]
CPUArchitecture=i686
TotalRam=1793500 kB
Desktop=Gnome

[Gambas]
Gambas1=Not Installed
Gambas2=2.22.0
Gambas2Path=/usr/local/bin/gbx2
*Gambas3=2.99.0
Gambas3Path=/usr/local/bin/gbx3
Last revision (update 5 Mars)*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index.theme
Type: application/octet-stream
Size: 2430 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20110306/81988d3d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index.theme
Type: application/octet-stream
Size: 1128 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20110306/81988d3d/attachment-0001.obj>


More information about the User mailing list