minor feature update of ATM

People say necessity is the mother of invention-and right now i cant help but notice the naked truth wrapped in the warp of the statement.The original ATM could change themes backgrounds and change icon modes-a feature that i was so fond of , a feature that i could say (regardless of the fact that it was not so popular) was the first of its kind to be used for any tool designed for changing the theme for eeepc easy mode.

Then when i wanted to add a new icon(actually change the icon of skype ) to my easy mode using the simpleuieditor of sublimeporte , a problem arose. I had iconifier to create icons easily but it was not designed to create icons for bouncy icon mode.

The lazy solution was to let iconifier create the icon and then reapply bouncy icon mode.The solution was a waste of process (which would reprocess and change images to the state they are already in just to change the mode for one icon) despite of the fact that it was so attractive to the lazy me enjoying my holidays.

Another (better) way was to fire up some imagemagick commands on the terminal and the work is done.However , as i would probably be needing to add icons in the future so it would be better to make a script or ,even, better to add the commands as a function in the libthemechanger script of ATM and then add a simple frame inside the icon tab to create icons.This was easy to do as libthemechanger already had functions defined to process icons for various icon modes.

Now the next part to decide was wether to let me select the icon mode explicitly and manually from a combobox each time i would like to create an icon or make the script intelligent to look for the icon mode currently in use in some text configuration file and then let it create the icon in that mode without my input.I settled for the second option.

Then there was one important thing to do, make the script check if there was any existing icon with the same name as chosen by me and if it existed show me a dialog box asking if i wanted to overwrite it.This was tricky and needed for me to write another dialogbox and process its answer from the main window without calling any function.

when everything was done , i found the only thing missing was a message box to show the icon was created(this part was unneccesary and i could do without it , but then every time i would use this feature it would seem incomplete to me) and it was not more than a couple of lines in the gui wrapper script.

summary
create icon for current mode- a new feature added to ATM
for full features and description you are reffered here


download
The install script has been updated to include a new feature in the installer which asks the user during installation to seperate the wallpapers for internet and favorites tab for people who have the default settings for these tabs in their simple.rc and intend to have seperate wallpapers for these two tabs
download the new beta ATM-0.2-0.4.tar.gz

No comments:

Post a Comment