Hi KDE Community,

I am glad to say that Resource management functionality is successfully added to presets resource :). Now its time to add this functionality to other resources in Krita :-/. The work I did in this week given me a lot of confidence and interest to do more.

1) A Bug fix

Firstly, I am thankful for Dave, cloose and JanKusanagi for there advice in fixing .knsrc file. With Daves comment, I thought of different distros and I asked Sven, about this one. He said that he noticed a bug in this issue and need to fix it. Then with cloose comment, I used the TargetDir instead of InstallPath with some modifications. Finally, it is fixed.

2) Blacklisting default resources

This functionality will come into stage when user want to delete default resource. The default files are not deleted but hidden from user by using blacklist file. Here, we added file names in an XML file and at startup, by using this XML file, we avoid to load these resources.

3) Changing resources

Whenever a user need to change a resource, then he can change the resource properties and then saves the resource file. This functionality is there already but changed a little bit.

4) Need Suggestion

These are buttons explanations

GHNS Upload button – It is the GHNS button, which executes the download widget of GHNS.

GHNS Download button – It is also the GHNS button, which executes the upload widget of GHNS.

Add Button – It helps to install the files which are downloaded directly without using GHNS.

Remove Button – This one removes the resource from the docker.

At remove button, we are facing the problem. The problem is

1). Whenever we installed some files using GHNS, the installed files are showing uninstall button in ghns dialog,

2). Now we remove these files using remove button.

3). And then we open GHNS dialog, the files which are removed using remove button are still showing uninstall option only.

Here, if we remove the files using remove button, the status of these files in cache registry are not updated. How can I do this thing ?

When I asked Frederik Gladhorn about this, he said to use the get hot new stuff api i.e. downloadManger to remove items. ( http://api.kde.org/4.x-api/kdelibs-apidocs/knewstuff/html/classKNS3_1_1DownloadManager.html ). But for using this class, we need entry object, which is not available here.

On the whole, this week work gave me satisfaction and I will do more in upcoming weeks 🙂