On 03/23/2015 01:19 AM, Crypto Nation wrote: > I tried the new tray icon in Windows 7 x64, Windows 8.1 x64, and the > Windows 10 x64 Technical Preview build 9926. Tested: Open Freenet, Start > Freenet, Stop Freenet, View log file, Preferences, Hide icon and Exit. > Everything worked.
Thank you for testing! > My only complaint is that Open Freenet launched IE instead of FF, which was > set as the default. The Preferences > Browser dropdown choices are Auto and > Internet Explorer with no information on how to add other options. Ah, dang. Detecting applications on Windows is hard. Is there a better way than checking the registry? It sounds like the registry key for your installation isn't one that's checked. Do you know where yours is listed? You can find the Firefox detection code here: [0] Others have suggested a custom browser entry which I was resistant to because it seemed unnecessary but it's looking like it might be worthwhile after all. > Should there be a one time prompt when clicking Hide icon that informs the > user that Freenet is still running in the background, and explains how to > restore the icon or start/stop Freenet? Hm, maybe. There's already a -welcome switch used by the installer which gives an intro; I hadn't thought of one on first usage of hiding the icon. I'm not sure how displaying a tooltip will work without a tray icon visible though. Might be tricky to get something that makes sense there. Thanks, Steve [0] https://github.com/freenet/wininstaller-innosetup/blob/csharp/FreenetTray/Browsers/Firefox.cs [1] https://github.com/freenet/wininstaller-innosetup/blob/csharp/FreenetTray/CommandsMenu.cs#L291
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl