Created attachment 314785
Re-designed patch with CLH to work with Lightning 0.8+
I created a working solution now, using another existing interface (nsISupportsString) on the commandline-handler to get the desired mode.
This is working fine for me, but there are still some questions:
- Should we better create an own interface with IDL to store and retrieve the desired mode?
- Depending on the current design of Lightning there are much more options, that could be implemented, e.g. to show Task mode on startup...
I implemented the following:
'thunderbird.exe -calendar'
'thunderbird.exe -calendar month'
'thunderbird.exe -calendar week'
'thunderbird.exe -calendar multiweek'
'thunderbird.exe -calendar day'
Whenever a non-existent view (or none) is requested, the last visited will be shown. Depending on the possibilities, there would be another way to go: we could implement 'real' commands for Lighting, e.g.:
'thunderbird.exe -calendar show=month'
'thunderbird.exe -calendar newtask'
'thunderbird.exe -calendar import=mycal.ics'
'thunderbird.exe -calendar export=Birthdays,C:\birthday.ics'
What do you think? Maybe this could go into another bug, if requested by others...
Created attachment 314785
Re-designed patch with CLH to work with Lightning 0.8+
I created a working solution now, using another existing interface (nsISupportsString) on the commandline-handler to get the desired mode.
This is working fine for me, but there are still some questions:
- Should we better create an own interface with IDL to store and retrieve the desired mode?
- Depending on the current design of Lightning there are much more options, that could be implemented, e.g. to show Task mode on startup...
I implemented the following:
'thunderbird.exe -calendar'
'thunderbird.exe -calendar month'
'thunderbird.exe -calendar week'
'thunderbird.exe -calendar multiweek'
'thunderbird.exe -calendar day'
Whenever a non-existent view (or none) is requested, the last visited will be shown. Depending on the possibilities, there would be another way to go: we could implement 'real' commands for Lighting, e.g.: Birthdays, C:\birthday. ics'
'thunderbird.exe -calendar show=month'
'thunderbird.exe -calendar newtask'
'thunderbird.exe -calendar import=mycal.ics'
'thunderbird.exe -calendar export=
What do you think? Maybe this could go into another bug, if requested by others...